[Icons] Author icon emphasis colors as palette roles

The emphasis levels were computed from the accent at paint time, so a
theme could not vary them: every theme got the same derived strong and
soft tones, and a semantic hue was pushed toward the accent whether the
author wanted that or not.

Give each family three authored roles instead. Icon/IconStrong/IconSoft
carry the neutral glyph ink and Positive/Negative gain the same Strong
and Soft companions. Emphasis becomes a lookup inside the family, and a
caller that names a variant pins that level at every emphasis. The paint
path returns the authored color verbatim; only the filled treatments keep
their saturation floor, because carrying a disc or a fill is a treatment
decision.

Shipped palettes author the full ladder for both schemes; the palette
editor exposes the new rows and the generator writes them. System keeps
deriving its neutral ink from the platform palette, since it ships no
palette of its own.
This commit is contained in:
Lukas Brübach 2026-11-07 00:12:45 +01:00
parent 115d16a74b
commit 03a4a33ba5
21 changed files with 551 additions and 277 deletions

View file

@ -71,6 +71,13 @@ Accent = #4a82e6
[AppColors]
AccentStrong = #3a6fd6
AccentSoft = #8fb8f2
Icon = #7b9fe4
IconStrong = #b1c7ef
IconSoft = #70809d
Positive = #6dd58c
PositiveStrong = #99e2ae
PositiveSoft = #5e8873
Negative = #ff8a80
NegativeStrong = #ffb3ac
NegativeSoft = #9b7678

View file

@ -71,6 +71,13 @@ Accent = #2f6fd6
[AppColors]
AccentStrong = #3a6fd6
AccentSoft = #8fb8f2
Icon = #2f59ad
IconStrong = #213e79
IconSoft = #687899
Positive = #1b7f3b
PositiveStrong = #104a22
PositiveSoft = #5d7f6f
Negative = #b3261e
NegativeStrong = #7c1b15
NegativeSoft = #9a6c6f

View file

@ -69,7 +69,15 @@ Accent = #ff1e1e1e
[AppColors]
AccentStrong = #ff139740
AccentSoft = #ffc9fd62
Positive = #6dd58c
Negative = #ff8a80
AccentStrong = #ff139740
AccentSoft = #ffc9fd62
Icon = #5db87c
IconStrong = #aad9b9
IconSoft = #6e8d79
Positive = #6dd58c
PositiveStrong = #99e2ae
PositiveSoft = #698e74
Negative = #ff8a80
NegativeStrong = #ffbfb9
NegativeSoft = #a37c78

View file

@ -69,7 +69,15 @@ Accent = #fff0f0f0
[AppColors]
AccentStrong = #ff139740
AccentSoft = #ffc9fd62
Positive = #1b7f3b
Negative = #b3261e
AccentStrong = #ff139740
AccentSoft = #ffc9fd62
Icon = #107e36
IconStrong = #0b5826
IconSoft = #6c937a
Positive = #1b7f3b
PositiveStrong = #135929
PositiveSoft = #70927b
Negative = #b3261e
NegativeStrong = #7d1b15
NegativeSoft = #b37d7b

View file

@ -71,6 +71,13 @@ Accent = #c9995a
[AppColors]
AccentStrong = #b7823b
AccentSoft = #e4c58f
Icon = #bc8c4a
IconStrong = #d4b68c
IconSoft = #86745a
Positive = #6dd58c
PositiveStrong = #99e2ae
PositiveSoft = #588061
Negative = #ff8a80
NegativeStrong = #ffada6
NegativeSoft = #996b66

View file

@ -71,6 +71,13 @@ Accent = #a5712f
[AppColors]
AccentStrong = #b7823b
AccentSoft = #e4c58f
Icon = #735125
IconStrong = #4e3719
IconSoft = #817059
Positive = #1b7f3b
PositiveStrong = #0f4520
PositiveSoft = #61795d
Negative = #b3261e
NegativeStrong = #741914
NegativeSoft = #9a665b

View file

@ -71,6 +71,13 @@ Accent = #6a4df0
[AppColors]
AccentStrong = #5b3ee0
AccentSoft = #a28bf7
Icon = #927fea
IconStrong = #b7aaf1
IconSoft = #736b97
Positive = #6dd58c
PositiveStrong = #99e2ae
PositiveSoft = #517a63
Negative = #ff8a80
NegativeStrong = #ffada6
NegativeSoft = #926567

View file

@ -71,6 +71,13 @@ Accent = #5a3ee2
[AppColors]
AccentStrong = #5b3ee0
AccentSoft = #a28bf7
Icon = #5439d0
IconStrong = #39278e
IconSoft = #7569a4
Positive = #1b7f3b
PositiveStrong = #0e431f
PositiveSoft = #5c776d
Negative = #b3261e
NegativeStrong = #711913
NegativeSoft = #95646d

View file

@ -3,8 +3,14 @@
# 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
Negative = #ffff8a80
AccentStrong = #ff148c3c
AccentSoft = #ff78c850
Positive = #ff6dd58c
PositiveStrong = #ff99e2ae
PositiveSoft = #ff5e8873
Negative = #ffff8a80
NegativeStrong = #ffffb3ac
NegativeSoft = #ff9b7678

View file

@ -3,8 +3,14 @@
# 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 = #ff1b7f3b
Negative = #ffb3261e
AccentStrong = #ff148c3c
AccentSoft = #ff78c850
Positive = #ff1b7f3b
PositiveStrong = #ff104a22
PositiveSoft = #ff5d7f6f
Negative = #ffb3261e
NegativeStrong = #ff7c1b15
NegativeSoft = #ff9a6c6f

View file

@ -71,6 +71,13 @@ Accent = #8fa6c0
[AppColors]
AccentStrong = #54687e
AccentSoft = #9db0c4
Icon = #8392a1
IconStrong = #acb6c0
IconSoft = #6d737a
Positive = #6dd58c
PositiveStrong = #99e2ae
PositiveSoft = #517c61
Negative = #ff8a80
NegativeStrong = #ffada6
NegativeSoft = #926865

View file

@ -71,6 +71,13 @@ Accent = #54687e
[AppColors]
AccentStrong = #54687e
AccentSoft = #9db0c4
Icon = #4a5b6f
IconStrong = #333e4c
IconSoft = #6e7580
Positive = #1b7f3b
PositiveStrong = #0f4620
PositiveSoft = #5b7b6a
Negative = #b3261e
NegativeStrong = #761a14
NegativeSoft = #96696b