Skip to main content

max / alloy

skel: bring the config tree back onto the Akari palette Several surfaces were still carrying a pre-Akari palette that the pivot left behind. The comments named the right tokens; the values were from the previous one. swaylock had the whole ramp wrong, which is the screen a user sees on every wake, and imv, satty, yazi and zathura each carried part of it. Corrected against docs/TOKENS.md, with border-subtle taken from tools/wcag_audit.py rather than computed by hand so it agrees with what alloy_tui derives at runtime. Eleven of these were invisible to a search for hex: the GTK and swayosd shadow colors spell the stale content.primary as rgba(48, 44, 34), and os-release spells it as an ANSI triplet. The GTK accent moves off status.warning. TOKENS.md measures that amber at 2.80-3.18:1 and states it is expressed as glyph and edge marker only, but it was set as accent_bg_color with white text, so selected rows and suggested-action buttons rendered below the AA-text threshold. action.primary is the token meant for this and clears it at 7.06:1.
Co-Authored-By
Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-07-22 21:13 UTC
Signed with PGP, not checked
Commit: 491fa8fe293f39fb5b8c34924f04f42f5629b538
Parent: a7d57fb
8 files changed, +49 insertions, -47 deletions
@@ -6,7 +6,7 @@
6 6 ID_LIKE=fedora
7 7 VARIANT="Base"
8 8 VARIANT_ID=base
9 - ANSI_COLOR="0;38;2;209;162;52"
9 + ANSI_COLOR="0;38;2;138;69;48"
10 10 LOGO=alloy
11 11 DEFAULT_HOSTNAME=alloy
12 12 HOME_URL="https://git.sr.ht/~maxmj/alloy"
@@ -19,6 +19,7 @@
19 19 @define-color alloy_accent_error #6a2828;
20 20 @define-color alloy_accent_warn #b07840;
21 21 @define-color alloy_accent_ok #3a5830;
22 + @define-color alloy_action_primary #8a4530;
22 23
23 24 @define-color window_bg_color @alloy_surface;
24 25 @define-color window_fg_color @alloy_text_primary;
@@ -30,23 +31,23 @@
30 31 @define-color headerbar_fg_color @alloy_text_primary;
31 32 @define-color headerbar_border_color @alloy_border_subtle;
32 33 @define-color headerbar_backdrop_color @alloy_surface;
33 - @define-color headerbar_shade_color rgba(48, 44, 34, 0.06);
34 + @define-color headerbar_shade_color rgba(26, 24, 22, 0.06);
34 35
35 36 @define-color sidebar_bg_color @alloy_surface_sunken;
36 37 @define-color sidebar_fg_color @alloy_text_primary;
37 38 @define-color sidebar_backdrop_color @alloy_surface;
38 - @define-color sidebar_shade_color rgba(48, 44, 34, 0.06);
39 + @define-color sidebar_shade_color rgba(26, 24, 22, 0.06);
39 40
40 41 @define-color card_bg_color @alloy_surface_raised;
41 42 @define-color card_fg_color @alloy_text_primary;
42 - @define-color card_shade_color rgba(48, 44, 34, 0.06);
43 + @define-color card_shade_color rgba(26, 24, 22, 0.06);
43 44
44 45 @define-color popover_bg_color @alloy_surface_overlay;
45 46 @define-color popover_fg_color @alloy_text_primary;
46 47
47 - @define-color accent_bg_color @alloy_accent_warn;
48 + @define-color accent_bg_color @alloy_action_primary;
48 49 @define-color accent_fg_color #ffffff;
49 - @define-color accent_color @alloy_accent_warn;
50 + @define-color accent_color @alloy_action_primary;
50 51
51 52 @define-color destructive_bg_color @alloy_accent_error;
52 53 @define-color destructive_fg_color #ffffff;
@@ -29,6 +29,7 @@
29 29 @define-color alloy_accent_error #6a2828;
30 30 @define-color alloy_accent_warn #b07840;
31 31 @define-color alloy_accent_ok #3a5830;
32 + @define-color alloy_action_primary #8a4530;
32 33
33 34 /* -------------------------------------------------------------------
34 35 * libadwaita chrome — window, view, dialog, headerbar, sidebar, card
@@ -43,28 +44,28 @@
43 44 @define-color headerbar_fg_color @alloy_text_primary;
44 45 @define-color headerbar_border_color @alloy_border_subtle;
45 46 @define-color headerbar_backdrop_color @alloy_surface;
46 - @define-color headerbar_shade_color rgba(48, 44, 34, 0.06);
47 - @define-color headerbar_darker_shade_color rgba(48, 44, 34, 0.09);
47 + @define-color headerbar_shade_color rgba(26, 24, 22, 0.06);
48 + @define-color headerbar_darker_shade_color rgba(26, 24, 22, 0.09);
48 49
49 50 @define-color sidebar_bg_color @alloy_surface_sunken;
50 51 @define-color sidebar_fg_color @alloy_text_primary;
51 52 @define-color sidebar_backdrop_color @alloy_surface;
52 - @define-color sidebar_shade_color rgba(48, 44, 34, 0.06);
53 + @define-color sidebar_shade_color rgba(26, 24, 22, 0.06);
53 54 @define-color sidebar_border_color @alloy_border_subtle;
54 55
55 56 @define-color secondary_sidebar_bg_color @alloy_surface;
56 57 @define-color secondary_sidebar_fg_color @alloy_text_primary;
57 58 @define-color secondary_sidebar_backdrop_color @alloy_surface_sunken;
58 - @define-color secondary_sidebar_shade_color rgba(48, 44, 34, 0.06);
59 + @define-color secondary_sidebar_shade_color rgba(26, 24, 22, 0.06);
59 60 @define-color secondary_sidebar_border_color @alloy_border_subtle;
60 61
61 62 @define-color card_bg_color @alloy_surface_raised;
62 63 @define-color card_fg_color @alloy_text_primary;
63 - @define-color card_shade_color rgba(48, 44, 34, 0.06);
64 + @define-color card_shade_color rgba(26, 24, 22, 0.06);
64 65
65 66 @define-color popover_bg_color @alloy_surface_overlay;
66 67 @define-color popover_fg_color @alloy_text_primary;
67 - @define-color popover_shade_color rgba(48, 44, 34, 0.06);
68 + @define-color popover_shade_color rgba(26, 24, 22, 0.06);
68 69
69 70 @define-color dialog_bg_color @alloy_surface;
70 71 @define-color dialog_fg_color @alloy_text_primary;
@@ -72,15 +73,15 @@
72 73 @define-color thumbnail_bg_color @alloy_surface_raised;
73 74 @define-color thumbnail_fg_color @alloy_text_primary;
74 75
75 - @define-color shade_color rgba(48, 44, 34, 0.06);
76 + @define-color shade_color rgba(26, 24, 22, 0.06);
76 77 @define-color scrollbar_outline_color @alloy_border_subtle;
77 78
78 79 /* -------------------------------------------------------------------
79 80 * Semantic — accent (chrome), destructive, success, warning, error
80 81 * ------------------------------------------------------------------- */
81 - @define-color accent_bg_color @alloy_accent_warn;
82 + @define-color accent_bg_color @alloy_action_primary;
82 83 @define-color accent_fg_color #ffffff;
83 - @define-color accent_color @alloy_accent_warn;
84 + @define-color accent_color @alloy_action_primary;
84 85
85 86 @define-color destructive_bg_color @alloy_accent_error;
86 87 @define-color destructive_fg_color #ffffff;
@@ -5,11 +5,11 @@
5 5 # to toggle).
6 6
7 7 [options]
8 - background = f5f2ea # Alloy surface (letterbox / transparent-image background)
8 + background = e4ded6 # Alloy surface (letterbox / transparent-image background)
9 9 overlay = false # start with overlay hidden
10 10 overlay_font = IosevkaTerm Nerd Font:11
11 - overlay_text_color = 302c22 # text-primary
12 - overlay_background_color = faf7ef # surface-raised
11 + overlay_text_color = 1a1816 # text-primary
12 + overlay_background_color = ede7de # surface-raised
13 13 overlay_position_bottom = true
14 14
15 15 initial_pan = 50 50
@@ -31,7 +31,7 @@
31 31 "#b07840", # accent-warn
32 32 "#6a2828", # accent-error
33 33 "#3a5830", # accent-ok
34 - "#4a86c0", # accent-info
34 + "#304050", # accent-info
35 35 "#1a1816", # text-primary
36 36 "#ede7de", # surface-raised
37 37 ]
@@ -16,35 +16,35 @@
16 16 # Colors — Alloy light-mode ramp. All values are RRGGBBAA (swaylock's
17 17 # native format is 8-hex-with-alpha; opaque = FF suffix).
18 18 # -------------------------------------------------------------------
19 - color=f5f2eaFF # surface (background)
20 - inside-color=faf7efFF # surface-raised
21 - inside-clear-color=faf7efFF
22 - inside-caps-lock-color=faf7efFF
23 - inside-ver-color=faf7efFF
24 - inside-wrong-color=faf7efFF
19 + color=e4ded6FF # surface (background)
20 + inside-color=ede7deFF # surface-raised
21 + inside-clear-color=ede7deFF
22 + inside-caps-lock-color=ede7deFF
23 + inside-ver-color=ede7deFF
24 + inside-wrong-color=ede7deFF
25 25
26 - ring-color=c9c3b5FF # border
27 - ring-clear-color=d1a234FF # accent-warn (clear pending)
28 - ring-caps-lock-color=d1a234FF
29 - ring-ver-color=4a86c0FF # accent-info (verifying)
30 - ring-wrong-color=c25d4fFF # accent-error
26 + ring-color=cabeaeFF # border
27 + ring-clear-color=b07840FF # accent-warn (clear pending)
28 + ring-caps-lock-color=b07840FF
29 + ring-ver-color=304050FF # accent-info (verifying)
30 + ring-wrong-color=6a2828FF # accent-error
31 31
32 - line-color=e0dbcfFF # border-subtle
33 - line-clear-color=e0dbcfFF
34 - line-caps-lock-color=e0dbcfFF
35 - line-ver-color=e0dbcfFF
36 - line-wrong-color=e0dbcfFF
32 + line-color=dad2c7FF # border-subtle
33 + line-clear-color=dad2c7FF
34 + line-caps-lock-color=dad2c7FF
35 + line-ver-color=dad2c7FF
36 + line-wrong-color=dad2c7FF
37 37
38 - text-color=302c22FF # text-primary
39 - text-clear-color=302c22FF
40 - text-caps-lock-color=302c22FF
41 - text-ver-color=302c22FF
42 - text-wrong-color=302c22FF
38 + text-color=1a1816FF # text-primary
39 + text-clear-color=1a1816FF
40 + text-caps-lock-color=1a1816FF
41 + text-ver-color=1a1816FF
42 + text-wrong-color=1a1816FF
43 43
44 - key-hl-color=d1a234FF # accent-warn
45 - bs-hl-color=c25d4fFF # accent-error
46 - caps-lock-key-hl-color=d1a234FF
47 - caps-lock-bs-hl-color=c25d4fFF
44 + key-hl-color=b07840FF # accent-warn
45 + bs-hl-color=6a2828FF # accent-error
46 + caps-lock-key-hl-color=b07840FF
47 + caps-lock-bs-hl-color=6a2828FF
48 48
49 49 separator-color=00000000 # transparent
50 50
@@ -15,7 +15,7 @@
15 15 border: 1px solid #cabeae; /* border */
16 16 border-radius: 4px;
17 17 padding: 10px 14px;
18 - box-shadow: 0 2px 6px rgba(48, 44, 34, 0.08);
18 + box-shadow: 0 2px 6px rgba(26, 24, 22, 0.08);
19 19 }
20 20
21 21 image, label {
@@ -33,8 +33,8 @@
33 33 # -------------------------------------------------------------------
34 34 # Selection and search
35 35 # -------------------------------------------------------------------
36 - set highlight-color "rgba(209,162,52,0.35)" # accent-warn at low alpha
37 - set highlight-active-color "rgba(194,93,79,0.5)" # accent-error at mid alpha
36 + set highlight-color "rgba(176, 120, 64,0.35)" # accent-warn at low alpha
37 + set highlight-active-color "rgba(106, 40, 40,0.5)" # accent-error at mid alpha
38 38 set selection-clipboard clipboard
39 39
40 40 # -------------------------------------------------------------------