aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-25 20:23:11 +0200
committerDanilo M. <danix@danix.xyz>2026-09-25 20:23:11 +0200
commit98305ac8e5706bf9002e9cab012e40d36651076e (patch)
tree64712475ddb169951795001c24d8ef81ad657bfd
parent851dbc76b3ba533b128e4d42d25560a95d6d3722 (diff)
downloadquickshell-98305ac8e5706bf9002e9cab012e40d36651076e.tar.gz
quickshell-98305ac8e5706bf9002e9cab012e40d36651076e.zip
feat(theme): read blue, teal, crust, peach and mauve
For the keybind reminder's macropad keycaps. blue reads termblue, not blue: udt-palette's blue is the active-border role, magenta under candy-night, and termblue is the terminal's actual blue. The defaults are Macchiato's, as for the rest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-rw-r--r--shared/Theme.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/shared/Theme.qml b/shared/Theme.qml
index 51ed5cf..e7f927e 100644
--- a/shared/Theme.qml
+++ b/shared/Theme.qml
@@ -35,6 +35,11 @@ Singleton {
property color surfaceAlt: "#494d64"
property color overlay: "#6e738d"
property color accent: "#b7bdf8"
+ property color blue: "#8aadf4"
+ property color teal: "#8bd5ca"
+ property color crust: "#181926"
+ property color peach: "#f5a97f"
+ property color mauve: "#c6a0f6"
readonly property string fontFamily: "Noto Sans"
readonly property int fontSize: 16
@@ -67,6 +72,13 @@ Singleton {
root.surfaceAlt = pick("surface1") ?? root.surfaceAlt;
root.overlay = pick("overlay0") ?? root.overlay;
root.accent = pick("accent") ?? root.accent;
+ // termblue, not blue: blue is the active-border role, magenta
+ // under some schemes.
+ root.blue = pick("termblue") ?? root.blue;
+ root.teal = pick("teal") ?? root.teal;
+ root.crust = pick("crust") ?? root.crust;
+ root.peach = pick("peach") ?? root.peach;
+ root.mauve = pick("mauve") ?? root.mauve;
}
}
}