mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-29 17:55:45 +01:00
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.