Skip to content

The update card loses its accent stripe - #297

Open
nyblnet wants to merge 1 commit into
mainfrom
fix-update-card-stripe
Open

The update card loses its accent stripe#297
nyblnet wants to merge 1 commit into
mainfrom
fix-update-card-stripe

Conversation

@nyblnet

@nyblnet nyblnet commented Aug 14, 2026

Copy link
Copy Markdown
Owner

The "Version X is available" card in the About dialog carried a 3px peach rule down its leading edge (styles.css:718, border-inline-start: 3px solid #FF9E8A).

It reads as the generic coloured-callout tic, and it is the only accent stripe anywhere in the app — the only other thick borders in the stylesheet are a CSS triangle (a disclosure arrow) and a quiet 2px neutral rule on .ed-lang-warn. So it was not part of the design language.

It was redundant as well as out of place: the card already announces itself with a heading naming the version and a primary button carrying the accent. The stripe was a third emphasis on a card nobody could miss.

And being a hard-coded hex, it ignored the theme tokens — it stayed peach in dark mode while everything around it moved.

After

An even 1px var(--line) like every other surface in the dialog, and it themes with them:

theme border colour uniform on all sides
light rgb(227, 232, 239) yes
dark rgb(51, 58, 69) yes

Verified by rendering the real card markup inside the About dialog in a built shell and reading computed styles in both themes. The peach now appears only on the "Update this file…" button.

For the next release — 1.0.17 is already out.

The "Version X is available" card carried a 3px peach rule down its leading
edge — the generic coloured-callout tic, and the only accent stripe anywhere
in the app. The two other thick borders in styles.css are a CSS triangle (a
disclosure arrow) and a quiet 2px neutral rule on .ed-lang-warn, so this was
not part of the design language; it was bolted on.

It was redundant as well as out of place. The card already announces itself:
a heading that names the version, and a primary button that carries the
accent. The stripe added a third emphasis to a card nobody could miss.

It was also a hard-coded #FF9E8A, so it ignored the theme tokens and stayed
peach in dark mode. The border is now an even 1px var(--line) like every
other surface in the dialog, and themes with them: measured
rgb(227,232,239) light, rgb(51,58,69) dark, uniform on all four sides.
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.

1 participant