Skip to content

[BUG] Duplicate --ease-color-secondary CSS variable declarations bloat the bundle #1414

@Siddh2024

Description

@Siddh2024

Description

The core/variables.css file declares the same three CSS custom properties twice in the :root block:

`css
/* Lines 26-29 (first declaration) */
--ease-color-secondary: #8b5cf6;
--ease-color-secondary-light: #a78bfa;
--ease-color-secondary-dark: #7c3aed;

/* Lines 38-41 (second declaration - identical values) */
--ease-color-secondary: #8b5cf6;
--ease-color-secondary-light: #a78bfa;
--ease-color-secondary-dark: #7c3aed;
`

The second set completely overrides the first at parse time. This is dead code that bloats the bundle, makes maintenance harder, and could confuse contributors who modify one set but not the other.

Location

core/variables.css lines 26-29 and 38-41

Suggested Fix

Remove the duplicate declaration (lines 38-41).

Please assign this issue to me @Siddh2024 so I can fix it.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions