Files
craft-libs/crates/theme/tests
dotCooCoo 5d4e8da624 theme: ArtCraft app palettes keep faint text at 4.5:1; dark raised keeps its lift
The WordCraft and PdfCraft palettes in artcraft.json pinned text.faint
at 3.4 to 4.4:1 on their hover, pressed and background fills. Their
light faint and muted pins and WordCraft's dark pins move along their
own hue so faint text reads at 4.5:1 there and muted text stays 1.25
times above it. The faint text test now resolves every built-in alone
and with each app palette it carries, and the fills it leaves out must
match a named list.

ArtCraft dark pins surface.raised to #5e5e5e, so raised fills stand
above the #535353 panel again (the contrast pass had darkened them to
#545454). Normal text reads at 5.59:1 on that fill, which leaves no
room for a muted grey between faint and normal, so faint text on it
stays listed as a warning, like the control, hover and pressed fills.
High contrast keeps its #595959 raised fill, and the WordCraft and
PdfCraft palettes keep their own raised fills (#353535 and #2e2e33) in
both contrasts.
2026-11-28 09:20:18 -08:00
..