aboutsummaryrefslogtreecommitdiffstats
path: root/palette
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-11 18:23:41 +0200
committerDanilo M. <danix@danix.xyz>2026-09-11 18:23:41 +0200
commit1f37c129ac0b72fd2e177618ae6aed5f4233873d (patch)
treed0a6bc9698474207b8ded528f5830c57cde5267f /palette
parent90d92490f83156a4a90c44b3837f1037cec80132 (diff)
downloadunified-desktop-theme-1f37c129ac0b72fd2e177618ae6aed5f4233873d.tar.gz
unified-desktop-theme-1f37c129ac0b72fd2e177618ae6aed5f4233873d.zip
feat(palette): generate the homepage stylesheet and stage it on install
The dashboard's custom.css was written by hand against Macchiato, so it would have drifted the moment the desktop changed scheme. It is now generated from the same roles as everything else and staged on the host by install.sh. Adds four intermediate grey roles to every scheme. homepage wants a full ten-step ramp where the other consumers want three depths, and without them several steps collapsed onto the same colour, flattening the mid-tones. The scp is deliberately soft: five second timeout, BatchMode, a warning rather than a failure when the host is unreachable, so a laptop away from that network still installs the local theme. It stages to ~/hp-stage only, because /opt/homepage/config is root-owned; install.sh prints the sudo copy to finish. Verified: the generated Macchiato stylesheet reproduces the deployed one colour-for-colour, switching to tokyo-night propagates through to the staged file, and a failing scp leaves install.sh exiting 0. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015gbjA2bmswN8jyPDKzrvqe
Diffstat (limited to 'palette')
-rw-r--r--palette/roles-dracula.conf7
-rw-r--r--palette/roles-macchiato.conf7
-rw-r--r--palette/roles-nord.conf7
-rw-r--r--palette/roles-tokyo-night.conf7
4 files changed, 28 insertions, 0 deletions
diff --git a/palette/roles-dracula.conf b/palette/roles-dracula.conf
index 40aa2a6..ea3d71f 100644
--- a/palette/roles-dracula.conf
+++ b/palette/roles-dracula.conf
@@ -87,6 +87,13 @@ bright_magenta = pink
bright_cyan = cyan
bright_white = foreground
+# Intermediate greys, for consumers that want a full ramp rather than
+# three depths. homepage's --color-50..900 is the only one so far.
+fg_bright = foreground
+mid_high = comment
+mid_low = surface_high
+surface_high = current_line
+
# kitty extras: marks, scrollbar, bell, tab bar ground.
mark1 = purple
mark2 = pink
diff --git a/palette/roles-macchiato.conf b/palette/roles-macchiato.conf
index 0a34f03..f5d12ea 100644
--- a/palette/roles-macchiato.conf
+++ b/palette/roles-macchiato.conf
@@ -99,6 +99,13 @@ bright_magenta = pink
bright_cyan = teal
bright_white = subtext0
+# Intermediate greys, for consumers that want a full ramp rather than
+# three depths. homepage's --color-50..900 is the only one so far.
+fg_bright = subtext1
+mid_high = overlay2
+mid_low = overlay1
+surface_high = surface2
+
# kitty extras: marks, scrollbar, bell, tab bar ground.
mark1 = lavender
mark2 = mauve
diff --git a/palette/roles-nord.conf b/palette/roles-nord.conf
index b04e9c8..b79e6f4 100644
--- a/palette/roles-nord.conf
+++ b/palette/roles-nord.conf
@@ -87,6 +87,13 @@ bright_magenta = aurora_purple
bright_cyan = frost_teal
bright_white = nord6
+# Intermediate greys, for consumers that want a full ramp rather than
+# three depths. homepage's --color-50..900 is the only one so far.
+fg_bright = nord5
+mid_high = nord4
+mid_low = nord3
+surface_high = nord2
+
# kitty extras: marks, scrollbar, bell, tab bar ground.
mark1 = frost_cyan
mark2 = aurora_purple
diff --git a/palette/roles-tokyo-night.conf b/palette/roles-tokyo-night.conf
index fb54926..d56659c 100644
--- a/palette/roles-tokyo-night.conf
+++ b/palette/roles-tokyo-night.conf
@@ -86,6 +86,13 @@ bright_magenta = purple
bright_cyan = blue1
bright_white = fg
+# Intermediate greys, for consumers that want a full ramp rather than
+# three depths. homepage's --color-50..900 is the only one so far.
+fg_bright = fg_dark
+mid_high = comment
+mid_low = terminal_black
+surface_high = bg_visual
+
# kitty extras: marks, scrollbar, bell, tab bar ground.
mark1 = blue
mark2 = magenta