Cockatrice/tests/theme_migration
Lukas Brübach daa1a73956 [Icons] Order the emphasis ladder by chroma, not contrast
Contrast cannot order the ladder. On a dark surface the highest-contrast
tone is the palest one, so a 7:1 primary came out near-white while the
secondary kept the family's color; the ladder read inverted, and for the
shipped semantic greens and reds the primary level was already satisfied
by the secondary, so the two levels resolved to the same hex.

Emphasis is chromatic intensity now. Quiet recedes toward the surface at
the 3:1 non-text floor, secondary keeps the family color at the 4.5:1
text floor, and primary is the most chromatic tone the same floor allows.
Every level stays legible on the window and the button surface, and the
primary is a strictly more saturated member of its family on both
schemes. The reformatted palettes move the two upper levels onto the
shared floor and leave the quiet level alone.
2026-11-08 15:42:51 +01:00
..
CMakeLists.txt [Icons] Paint neutral glyphs with icon ink instead of body-text ink 2026-11-08 15:37:24 +01:00
icon_tint_preview_test.cpp [Icons] Render a semantic-tint sheet for every shipped theme 2026-11-07 10:43:49 +01:00
icon_treatment_preview_test.cpp [Icons] Apply the CI clang-format output to the treatment preview 2026-11-07 11:04:25 +01:00
theme_icon_render_test.cpp [Icons] Order the emphasis ladder by chroma, not contrast 2026-11-08 15:42:51 +01:00
theme_migration_test.cpp [Icons] Author icon emphasis colors as palette roles 2026-11-08 15:42:51 +01:00