Commit 2af8351
committed
fix(gallery): define only the destructive token that is actually read
The previous commit deleted --color-success for being dead and then added
--destructive-foreground, which is equally dead. Nothing under gallery/ reads
it in any form: the destructive button variant is deliberately transparent at
rest and colours its TEXT, so it uses text-muted-foreground with a
hover:text-destructive, and Tailwind drops --color-destructive-foreground from
the compiled output entirely. Removed, so only --destructive is defined, which
15 call sites do read.
The --color-success deletion is reverted too. It is pre-existing, inert, and
six other mapped-but-unused tokens sit beside it, so removing that one and
leaving the rest was arbitrary rather than principled, and it put an unrelated
pre-existing cleanup inside a branding PR. The net change to input.css is now
one corrected comment.1 parent 480e5d1 commit 2af8351
2 files changed
Lines changed: 15 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
119 | 122 | | |
120 | | - | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
0 commit comments