Skip to content

Commit 64b5f17

Browse files
Kjubikstronkclaude
andcommitted
Give secondary buttons their own text colour
.pixel-btn inherited its text colour. Inside the update and install pills, which set near-black on-fill text for their coloured background, the "later" button put that near-black on a card that is dark purple on Halloween: 1.2:1, effectively invisible. Now 13:1. Pink hid it because its card is white. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 1c834a8 commit 64b5f17

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/theme.css‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@
163163
font-weight: 700;
164164
border: 3px solid var(--color-line);
165165
background: var(--color-card);
166+
/* Set, not inherited. A button inside a coloured banner (the update and
167+
install pills) otherwise took the banner's on-fill text — near-black —
168+
onto a card that is dark purple on Halloween, and read at 1.2:1. */
169+
color: var(--color-text);
166170
box-shadow: 4px 4px 0 var(--color-shadow);
167171
transition:
168172
transform 90ms var(--ease-snap),

0 commit comments

Comments
 (0)