Skip to content

fix: give unstyled text the theme's primary colour - #469

Open
kostyafarber wants to merge 2 commits into
mainfrom
fix/base-text-colour
Open

kostyafarber wants to merge 2 commits into
mainfrom
fix/base-text-colour

Conversation

@kostyafarber

Copy link
Copy Markdown
Collaborator

Summary

  • Sets body { color: var(--color-primary) }, so text without its own colour class follows the active theme. Previously it fell back to the browser's color-scheme default, pure white in dark themes, instead of the palette's foreground (e.g. cream in warm dark palettes).
  • In light mode this changes unstyled text from #000 to #171717, so visual baselines are regenerated.

Issue

No issue — small theming fix found while reviewing #468.

Testing

  • pnpm check
  • Visual baselines regenerated with ci: update visual snapshots

🤖 Generated with Claude Code

Nothing set a base text colour, so any text without its own colour class
fell back to the browser's colour-scheme default: pure white in dark
themes instead of the palette's foreground.
@kostyafarber kostyafarber added the ci: update visual snapshots Regenerate visual snapshots on a same-repository pull request label Sep 30, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci: update visual snapshots Regenerate visual snapshots on a same-repository pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant