mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-11 04:23:29 -08:00
System authors no palette of its own, so its semantic family is fixed data measured against whatever surfaces the platform provides. The ladder that landed with the authored roles reused the old contrast-ordered values: PositiveSoft and NegativeSoft sat at 2.76–3.90:1 on common light and dark platform surfaces, and the strong level was less saturated than the secondary, which is the inversion the chroma rule removes. Re-author the six default semantic colors per scheme at the same 4.60 target the shipped themes use, against representative platform surfaces, and mirror them in System's palette files. The new DefaultSemanticFamilyMeetsTheLadderOnPlatformSurfaces test holds the floor and the saturation order there, and shippedPalette's early return now says why System is outside the authored-palette assertions.
16 lines
No EOL
727 B
TOML
16 lines
No EOL
727 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.
|
|
# Icon, IconStrong and IconSoft are deliberately absent: a theme with no
|
|
# palette of its own derives its icon ink from the platform palette.
|
|
[AppColors]
|
|
AccentStrong = #ff148c3c
|
|
AccentSoft = #ff78c850
|
|
Positive = #ff6dd58c
|
|
PositiveStrong = #ff32c05c
|
|
PositiveSoft = #ff8ab196
|
|
Negative = #ffff8a80
|
|
NegativeStrong = #ffff8378
|
|
NegativeSoft = #ffc79e9b |