mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-06 20:02:16 +00:00
8537f1c658
Text and icons the newer UI paints on a selected, highlighted or accent fill now fall back to the theme's selected or body ink where the preferred ink does not read there (theme::readable, Tokens::accent_on, Tokens::on_selected), so SolidCraft 95's navy-on-navy selections, 1-bit and CGA's same-colour pairs and the light-accent title bar pill are readable. Themes that predate the navigation bar take its hover, press, dim, field, panel and tooltip colours from their own palette instead of their base's blue-greys. SolidCraft 95, Amber Phosphor, One Dark, Solarized Light, Nord and Gruvbox Dark Soft get the few colour tokens that read below 3:1 adjusted. newer_ui_text_and_icons_stay_readable_in_every_built_in_theme walks every fill and ink pair these surfaces paint and checks it in every built-in theme. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>