Skip to content

Refactor globals.css for cleanup and enhancements#1471

Open
Sujaicodes wants to merge 1 commit intovercel:mainfrom
Sujaicodes:patch-1
Open

Refactor globals.css for cleanup and enhancements#1471
Sujaicodes wants to merge 1 commit intovercel:mainfrom
Sujaicodes:patch-1

Conversation

@Sujaicodes
Copy link
Copy Markdown

Removed unused variables and adjusted styles for better consistency. Added custom animations and improved scrollbar style.
request refactors and optimizes the global CSS/SCSS for the project. Key improvements include:

  • Consolidated repeated @layer base blocks into a single, maintainable structure.
  • Centralized CSS custom properties (--variables) for light and dark themes to simplify theming and reduce duplication.
  • Optimized skeleton loaders, code editor, and animations to remove unnecessary repetitions and !important usage.
  • Grouped keyframes and utility classes for better readability and maintainability.
  • Unified scrollbar styling for both light and dark themes.
    Overall, these changes improve performance, maintainability, and readability, while keeping all existing styles and animations intact. This will make future style updates easier and reduce potential errors.

Removed unused variables and adjusted styles for better consistency. Added custom animations and improved scrollbar styles.
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 1, 2026

@Sujaicodes is attempting to deploy a commit to the Templates Test vtest314 Team on Vercel.

A member of the Team first needs to authorize it.

@import "tailwindcss";
@import "katex/dist/katex.min.css";

@source "../node_modules/streamdown/dist/index.js";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The globals.css "cleanup" commit removed critical Tailwind v4 configuration, CSS variable definitions, utility directives, and component styles, breaking the entire application's theming and styling.

Fix on Vercel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant