Commit Graph
8 Commits
Author SHA1 Message Date
chrnxandClaude Opus 5 6dc4de6b8e fix: stop the text palette slug from hijacking every custom colour
theme.json shipped a palette entry with the slug "text", so WordPress
generated `.has-text-color { color: var(--wp--preset--color--text)
!important }`. The block editor puts that same class on any block given a
custom text colour, so the rule overrode every one of them site-wide with
the dark-theme foreground, unreadable in either theme. An !important
declaration beats an inline style, which is why the colour set on the
block never had a chance.

Rename the slug to "foreground". No published content used the class, for
the obvious reason that it never worked, so nothing has to be migrated.
A smoke test now rejects any palette slug that shadows an editor utility
class.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 10:21:23 -05:00
chrnxandClaude Opus 5 a142ece51d feat: rebuild the header controls as icon buttons
The theme switch was three labelled radios that wrapped the header onto
a second line with long translations. It is three SVG buttons now, with
search and menu sharing the same language: no resting outline, a filled
chip for the active choice.

Radios gave arrow-key roving for free, so the group reimplements it
rather than losing it. The first chip colour put accent on accent and
failed WCAG AA; the label carries full contrast instead. Mobile targets
sit at 45px because a floor of exactly 44 rounds to 43.99997 in Firefox.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 19:41:24 -05:00
chrnx c7de54995f style: integrate CHRNX navigation and footer 2026-08-12 15:08:07 -05:00
chrnx fa422fdab9 fix: contain CHRNX theme controls 2026-08-12 08:03:54 -05:00
chrnx 1f56277818 style: compact the CHRNX mobile header 2026-08-12 07:49:21 -05:00
chrnx f983cec4f9 fix: make CHRNX header fully progressive 2026-08-11 17:26:48 -05:00
chrnx e1579657d6 fix: harden CHRNX shell accessibility 2026-08-11 17:12:18 -05:00
chrnx f371db4cb5 feat: add CHRNX shell and theme preference 2026-08-11 16:54:17 -05:00