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.
75 lines
2.2 KiB
TOML
75 lines
2.2 KiB
TOML
[Palette]
|
|
WindowText = #ff000000
|
|
Button = #fff0f0f0
|
|
Light = #ffffffff
|
|
Midlight = #ffe3e3e3
|
|
Dark = #ffa0a0a0
|
|
Mid = #ffa0a0a0
|
|
Text = #ff000000
|
|
BrightText = #ffffffff
|
|
ButtonText = #ff000000
|
|
Base = #ffffffff
|
|
Window = #fff0f0f0
|
|
Shadow = #ff696969
|
|
Highlight = #ff139740
|
|
HighlightedText = #ffffffff
|
|
Link = #ff0e6b31
|
|
LinkVisited = #ff0a521f
|
|
AlternateBase = #ffe9e7e3
|
|
ToolTipBase = #ffffffdc
|
|
ToolTipText = #ff000000
|
|
PlaceholderText = #80000000
|
|
Accent = #ff139740
|
|
|
|
[Palette.Disabled]
|
|
WindowText = #ff787878
|
|
Button = #fff0f0f0
|
|
Light = #ffffffff
|
|
Midlight = #fff7f7f7
|
|
Dark = #ffa0a0a0
|
|
Mid = #ffa0a0a0
|
|
Text = #ff787878
|
|
BrightText = #ffffffff
|
|
ButtonText = #ff787878
|
|
Base = #fff0f0f0
|
|
Window = #fff0f0f0
|
|
Shadow = #ff000000
|
|
Highlight = #ff139740
|
|
HighlightedText = #ffffffff
|
|
Link = #ff0000ff
|
|
LinkVisited = #ffff00ff
|
|
AlternateBase = #fff7f7f7
|
|
ToolTipBase = #ffffffdc
|
|
ToolTipText = #ff000000
|
|
PlaceholderText = #80000000
|
|
Accent = #ff787878
|
|
|
|
[Palette.Inactive]
|
|
WindowText = #ff000000
|
|
Button = #fff0f0f0
|
|
Light = #ffffffff
|
|
Midlight = #ffe3e3e3
|
|
Dark = #ffa0a0a0
|
|
Mid = #ffa0a0a0
|
|
Text = #ff000000
|
|
BrightText = #ffffffff
|
|
ButtonText = #ff000000
|
|
Base = #ffffffff
|
|
Window = #fff0f0f0
|
|
Shadow = #ff696969
|
|
Highlight = #fff0f0f0
|
|
HighlightedText = #ff000000
|
|
Link = #ff0e6b31
|
|
LinkVisited = #ff0a521f
|
|
AlternateBase = #ffe9e7e3
|
|
ToolTipBase = #ffffffdc
|
|
ToolTipText = #ff000000
|
|
PlaceholderText = #80000000
|
|
Accent = #fff0f0f0
|
|
|
|
|
|
[AppColors]
|
|
AccentStrong = #ff139740
|
|
AccentSoft = #ffc9fd62
|
|
Positive = #1b7f3b
|
|
Negative = #b3261e
|