Skip to content

chore: remove unused CSS variables and dead code from globals.css#401

Open
nishupr wants to merge 1 commit into
devpathindcommunity-india:masterfrom
nishupr:chore/remove-unused-css
Open

chore: remove unused CSS variables and dead code from globals.css#401
nishupr wants to merge 1 commit into
devpathindcommunity-india:masterfrom
nishupr:chore/remove-unused-css

Conversation

@nishupr
Copy link
Copy Markdown
Contributor

@nishupr nishupr commented May 29, 2026

Fix #371

What does this PR do?

Removes unused CSS variables, dead code, and duplicate styles
from globals.css to keep the codebase clean and maintainable.

Changes Made

  • Removed unused spacing variables (--spacing-xs to --spacing-xxl)
  • Removed unused gradient variables (--gradient-secondary, --gradient-glow)
  • Removed unused .glass utility class
  • Removed unused .text-gradient utility class
  • Removed unused @keyframes gradient-flow
  • Removed duplicate @keyframes float (already defined in Translate.module.css)
  • Removed unused @keyframes pulse-glow
  • Removed duplicate scroll-behavior: smooth (already defined in html, body)

Verification

All removed classes and variables were cross-checked across
the entire src/ directory to confirm they are not used
anywhere in the codebase.

Why?

Dead code increases file size and makes maintenance harder.
Removing unused styles keeps the codebase clean and improves
readability.

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.

[Chore] Remove unused CSS classes and dead code from globals.css

1 participant