Skip to content

Commit e172dad

Browse files
committed
fix: add !important to chip overrides and use design token for drawer bg
Chip dark mode CSS was ineffective because inline styles on the button have higher specificity — add !important to match the card approach. Replace hardcoded #1a1a2e with var(--color-surface) to stay DRY.
1 parent 17b0959 commit e172dad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/app/src/app/globals.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ body, html {
639639

640640
/* === Demo Gallery Dark Mode Readability Fix === */
641641
:root.dark .demo-gallery-drawer {
642-
background: #1a1a2e !important;
642+
background: var(--color-surface) !important;
643643
}
644644

645645
:root.dark .demo-gallery-drawer .demo-gallery-card {
@@ -648,8 +648,8 @@ body, html {
648648
}
649649

650650
:root.dark .demo-gallery-drawer .demo-gallery-chip {
651-
background: rgba(255, 255, 255, 0.08);
652-
border-color: rgba(255, 255, 255, 0.1);
651+
background: rgba(255, 255, 255, 0.08) !important;
652+
border-color: rgba(255, 255, 255, 0.1) !important;
653653
}
654654

655655
/* === Flash Animation === */

0 commit comments

Comments
 (0)