Cockatrice/tests/theme_migration
Lukas Brübach 717f64a88b [Icons] Add a badge icon treatment
Restore the filled-disc look the ready/not-ready icons had before the
one-glyph cutover, without bringing back palette-locked art.

IconStyle::Badge composes the existing sentinel SVG at paint time: a
gradient disc, a dark ring, and the glyph re-weighted and inked for
contrast against the tone. Line stays the default and is unchanged.

Only the two state icons opt in. The add/remove icons keep the line
treatment because their old art was a filled glyph with an outline and
no disc, so badging them would invent a look the UI never had. Disabled
badges fall back to the line glyph so an unavailable control still reads
as unavailable.
2026-11-07 10:43:54 +01:00
..
CMakeLists.txt [Icons] Add a badge icon treatment 2026-11-07 10:43:54 +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
theme_icon_render_test.cpp [Icons] Add a badge icon treatment 2026-11-07 10:43:54 +01:00
theme_migration_test.cpp [Icons] Keep semantic red and green on themed glyphs 2026-11-07 00:12:56 +01:00