mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 01:23:24 -08:00
The one-glyph cutover recolored every icon from a single palette role, so a disabled deck, a not-ready player and a remove button all lost the red or green that carried their meaning. Add Positive and Negative application colors beside the accents, ship scheme-appropriate defaults for every theme, and resolve them through ThemeManager. Icons now take an IconTint: a palette role for structural glyphs, or a semantic role for states and add/remove actions. A disabled semantic icon falls back to the disabled foreground; on a selected row a semantic tint keeps its color only while it stays legible on the highlight, and a palette tint keeps the existing WindowText -> HighlightedText swap.
10 lines
450 B
TOML
10 lines
450 B
TOML
# The System theme derives all of its colors from the platform palette
|
|
# (e.g. qt6ct's custom color scheme on Linux), so it must NOT ship palette
|
|
# overrides. Only the identity and semantic app colors are provided here, so
|
|
# buttons keep their classic greens while the actual palette stays native to
|
|
# the OS.
|
|
[AppColors]
|
|
AccentStrong = #ff148c3c
|
|
AccentSoft = #ff78c850
|
|
Positive = #ff1b7f3b
|
|
Negative = #ffb3261e
|