Commit Graph
7 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
chrnx 8fb87bf221 fix: contain focused Related Stories cards 2026-08-12 23:20:13 -05:00
chrnx 67850849d1 fix: preserve Related Stories focus on hover 2026-08-12 23:13:15 -05:00
chrnx 38d26acabc fix: expose Related Stories card focus 2026-08-12 22:47:27 -05:00
chrnx d8ad3d388f fix: polish Related Stories interactions 2026-08-12 21:23:41 -05:00
chrnx 9058d5592f style: add Related Stories layouts 2026-08-12 21:05:53 -05:00
chrnx 52f08a1efd fix: validate CHRNX editorial fallbacks 2026-08-11 15:37:25 -05:00