refactor(quickshell): move every color and font into a Theme singleton

The shell was running two unrelated palettes: an amber one (#FFD063 accent,
#EEEEEE text, #0F1012 panels) hardcoded as ~200 raw hex literals across the
launchers, sidebar, systray, vitals and notifications, and an orange one
(#e8722a) that only the dense bar had, tokenized as per-file properties.

This unifies on the ORANGE values under the AMBER naming scheme, and moves the
lot into widgets/theme/Theme.qml. `surface` takes the dense bar's void
(#0a0a0a) rather than the old panel background. Zero color and font literals
remain anywhere under widgets/ outside Theme.qml.

Collisions resolved, all near-duplicates that wanted to be one token:
  - #0F1012 + #0A0A0C + #0a0a0a -> surface
  - #EEEEEE + #dedede           -> text
  - #7A7B7D + #858585           -> muted
  - #292C30 + #22262C           -> raised
  - #FFD063 + #e8722a           -> accent

Two derived things rather than literals. accentSoft (the pale flash the
top/bottom bars show while a launcher is open) was a hand-picked #FFF3C0
against amber, which is simply wrong against orange; it is now
Qt.tint(accent, white 55%), a ratio checked against the original (amber tinted
55% gives #FFE9B8 vs the hand-picked #FFF3C0). And the dense bar had been
hand-encoding Qt.rgba(0.87,0.87,0.87,a) and Qt.rgba(0.91,0.45,0.16,a), which
are just text and accent at alpha -- now textAlpha(a)/accentAlpha(a), so they
track a palette change instead of silently drifting.

Fonts came along too. Digital-7 Mono is dropped for DepartureMono: it was
never packaged, relying on a manual ~/.dots/fonts/digital_7 install that does
not exist on terra, so `fc-match "Digital-7 Mono"` resolved to DejaVu Sans and
all 38 of those sites -- the launcher lists, sidebar clock, systray labels,
every vitals readout -- were silently rendering in a PROPORTIONAL fallback.
Numeric columns should visibly improve. readoutFont is an alias of displayFont
rather than a second literal so the two roles cannot drift apart.

quickshell/CLAUDE.md updated: it said "No shared theme/tokens file yet" and
told contributors to grep for the existing hex color, which would now
reintroduce exactly what this removes.

Verified: no file references Theme. without the import, none imports it
unused, and the whole shell -- launchers, sidebar, vitals, systray,
notifications, not just the harness -- hot-reloaded clean on terra.
tests/HeadlessSmoke.qml deliberately keeps its own copies; its value is having
no dependencies.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SgcWkm3t6BDQktYHQvb8Hx
This commit is contained in:
2026-08-28 07:56:25 +02:00
co-authored by Claude Opus 5
parent 01bc169180
commit b16cc93ff6
22 changed files with 390 additions and 323 deletions
@@ -6,6 +6,7 @@ import Quickshell.Wayland
import Quickshell.Widgets
import QtQuick
import QtQuick.Layouts
import qs.widgets.theme
// Variant 4 — "Console": a full-width command deck that unfolds down out of
// the top bar, with a horizontal carousel of app cards. While open it drives
@@ -99,7 +100,7 @@ Scope {
anchors.right: parent.right
clip: true
color: "#0F1012"
color: Theme.surface
height: root.active ? win.openHeight : 0
@@ -116,7 +117,7 @@ Scope {
// Accent lid — mirrors the top bar strip, reads as its extension.
Rectangle {
color: "#FFD063"
color: Theme.accent
implicitHeight: 4
Layout.fillWidth: true
}
@@ -132,8 +133,8 @@ Scope {
Text {
text: ">_"
color: "#FFD063"
font.family: "Digital-7 Mono"
color: Theme.accent
font.family: Theme.readoutFont
font.pointSize: 22
font.bold: true
}
@@ -147,7 +148,7 @@ Scope {
anchors.fill: parent
verticalAlignment: TextInput.AlignVCenter
color: "#EEEEEE"
color: Theme.text
font.pointSize: 16
clip: true
@@ -182,7 +183,7 @@ Scope {
verticalAlignment: Text.AlignVCenter
visible: input.text.length === 0
text: "launch application…"
color: "#7A7B7D"
color: Theme.muted
font: input.font
}
}
@@ -190,14 +191,14 @@ Scope {
Text {
text: model.apps.length + " apps"
color: "#7A7B7D"
font.family: "Digital-7 Mono"
color: Theme.muted
font.family: Theme.readoutFont
font.pointSize: 15
}
}
Rectangle {
color: "#292C30"
color: Theme.raised
implicitHeight: 1
Layout.fillWidth: true
}
@@ -236,9 +237,9 @@ Scope {
Rectangle {
anchors.fill: parent
color: card.selected ? "#292C30" : "transparent"
color: card.selected ? Theme.raised : "transparent"
border.width: 1
border.color: card.selected ? "#FFD063" : "#292C30"
border.color: card.selected ? Theme.accent : Theme.raised
Behavior on border.color {
ColorAnimation {
@@ -261,7 +262,7 @@ Scope {
Text {
Layout.fillWidth: true
text: card.modelData.name
color: card.selected ? "#FFD063" : "#EEEEEE"
color: card.selected ? Theme.accent : Theme.text
font.pointSize: 9
horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight
@@ -277,8 +278,8 @@ Scope {
anchors.centerIn: parent
visible: model.apps.length === 0
text: "no matches"
color: "#7A7B7D"
font.family: "Digital-7 Mono"
color: Theme.muted
font.family: Theme.readoutFont
font.pointSize: 16
}
}
@@ -7,6 +7,7 @@ import Quickshell.Widgets
import QtQuick
import QtQuick.Layouts
import QtQuick.Shapes
import qs.widgets.theme
// Variant 7 — a copy of the "Slant" (V6) launcher, plus a small floating
// power panel docked to its right with Shutdown / Reboot buttons.
@@ -77,7 +78,7 @@ Scope {
// Dim backdrop — click to dismiss.
Rectangle {
anchors.fill: parent
color: "#0A0A0C"
color: Theme.surface
opacity: 0.55
MouseArea {
@@ -107,8 +108,8 @@ Scope {
preferredRendererType: Shape.CurveRenderer
ShapePath {
fillColor: "#0F1012"
strokeColor: "#FFD063"
fillColor: Theme.surface
strokeColor: Theme.accent
strokeWidth: 2
startX: frame.chamfer
@@ -153,7 +154,7 @@ Scope {
// run out to the top and left edges to meet the straight borders.
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: 0
startY: frame.chamfer
@@ -179,7 +180,7 @@ Scope {
// bottom and right edges.
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: panelShape.width
startY: panelShape.height - frame.chamfer
@@ -205,7 +206,7 @@ Scope {
// detached from the panel by the width of the cut.
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: panelShape.width
startY: panelShape.height
@@ -228,7 +229,7 @@ Scope {
// slanted end pieces on both arms.
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
// inner, right end of the bottom arm
startX: panelShape.width / 3
@@ -277,7 +278,7 @@ Scope {
// slanted end pieces on both arms.
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
// inner, bottom of the right arm
startX: panelShape.width
@@ -345,7 +346,7 @@ Scope {
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: 6
startY: 0
PathLine {
@@ -367,7 +368,7 @@ Scope {
}
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: 15
startY: 0
PathLine {
@@ -389,7 +390,7 @@ Scope {
}
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: 24
startY: 0
PathLine {
@@ -420,8 +421,8 @@ Scope {
anchors.fill: parent
verticalAlignment: TextInput.AlignVCenter
color: "#EEEEEE"
font.family: "Digital-7 Mono"
color: Theme.text
font.family: Theme.readoutFont
font.pointSize: 20
font.letterSpacing: 1
clip: true
@@ -457,7 +458,7 @@ Scope {
verticalAlignment: Text.AlignVCenter
visible: input.text.length === 0
text: "run"
color: "#7A7B7D"
color: Theme.muted
font: input.font
}
}
@@ -465,8 +466,8 @@ Scope {
Text {
text: model.apps.length
color: "#7A7B7D"
font.family: "Digital-7 Mono"
color: Theme.muted
font.family: Theme.readoutFont
font.pointSize: 18
}
}
@@ -489,7 +490,7 @@ Scope {
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: divider.slant
startY: 0
PathLine {
@@ -512,7 +513,7 @@ Scope {
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: 0
startY: divider.height
PathLine {
@@ -535,7 +536,7 @@ Scope {
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: divider.width
startY: 0
PathLine {
@@ -597,7 +598,7 @@ Scope {
// Body
ShapePath {
strokeWidth: 0
fillColor: "#22262C"
fillColor: Theme.raised
startX: appRow.shear
startY: 0
PathLine {
@@ -620,7 +621,7 @@ Scope {
// Left accent edge
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: appRow.shear
startY: 0
PathLine {
@@ -655,7 +656,7 @@ Scope {
Text {
text: appRow.modelData.name
color: appRow.selected ? "#FFD063" : "#EEEEEE"
color: appRow.selected ? Theme.accent : Theme.text
font.pointSize: 12
elide: Text.ElideRight
Layout.fillWidth: true
@@ -663,7 +664,7 @@ Scope {
Text {
text: appRow.modelData.genericName || ""
color: "#7A7B7D"
color: Theme.muted
font.pointSize: 10
elide: Text.ElideRight
Layout.maximumWidth: 220
@@ -694,8 +695,8 @@ Scope {
preferredRendererType: Shape.CurveRenderer
ShapePath {
fillColor: "#FFD063"
strokeColor: "#FFD063"
fillColor: Theme.accent
strokeColor: Theme.accent
strokeWidth: 2
startX: 0
@@ -732,9 +733,9 @@ Scope {
Text {
Layout.alignment: Qt.AlignHCenter
text: "POWER"
font.family: "Digital-7 Mono"
font.family: Theme.readoutFont
font.pointSize: 11
color: "#0F1012"
color: Theme.surface
}
Repeater {
@@ -762,8 +763,8 @@ Scope {
ShapePath {
strokeWidth: 1
strokeColor: powerButton.containsMouse ? "#FFD063" : "#7A7B7D"
fillColor: "#292C30"
strokeColor: powerButton.containsMouse ? Theme.accent : Theme.muted
fillColor: Theme.raised
startX: powerButton.chamfer
startY: 0
@@ -785,8 +786,8 @@ Scope {
Text {
anchors.centerIn: parent
text: powerButton.modelData.label
color: powerButton.containsMouse ? "#FFD063" : "#EEEEEE"
font.family: "Digital-7 Mono"
color: powerButton.containsMouse ? Theme.accent : Theme.text
font.family: Theme.readoutFont
font.pointSize: 11
}
}
@@ -6,6 +6,7 @@ import Quickshell.Wayland
import Quickshell.Widgets
import QtQuick
import QtQuick.Layouts
import qs.widgets.theme
// Variant 5 — "Dock": the Console concept mirrored to the bottom edge. A
// full-width deck rises up out of the bottom bar, which energizes via
@@ -98,7 +99,7 @@ Scope {
anchors.right: parent.right
clip: true
color: "#0F1012"
color: Theme.surface
height: root.active ? win.openHeight : 0
@@ -153,9 +154,9 @@ Scope {
Rectangle {
anchors.fill: parent
color: card.selected ? "#292C30" : "transparent"
color: card.selected ? Theme.raised : "transparent"
border.width: 1
border.color: card.selected ? "#FFD063" : "#292C30"
border.color: card.selected ? Theme.accent : Theme.raised
Behavior on border.color {
ColorAnimation {
@@ -178,7 +179,7 @@ Scope {
Text {
Layout.fillWidth: true
text: card.modelData.name
color: card.selected ? "#FFD063" : "#EEEEEE"
color: card.selected ? Theme.accent : Theme.text
font.pointSize: 9
horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight
@@ -194,14 +195,14 @@ Scope {
anchors.centerIn: parent
visible: model.apps.length === 0
text: "no matches"
color: "#7A7B7D"
font.family: "Digital-7 Mono"
color: Theme.muted
font.family: Theme.readoutFont
font.pointSize: 16
}
}
Rectangle {
color: "#292C30"
color: Theme.raised
implicitHeight: 1
Layout.fillWidth: true
}
@@ -217,8 +218,8 @@ Scope {
Text {
text: ">_"
color: "#FFD063"
font.family: "Digital-7 Mono"
color: Theme.accent
font.family: Theme.readoutFont
font.pointSize: 22
font.bold: true
}
@@ -232,7 +233,7 @@ Scope {
anchors.fill: parent
verticalAlignment: TextInput.AlignVCenter
color: "#EEEEEE"
color: Theme.text
font.pointSize: 16
clip: true
@@ -267,7 +268,7 @@ Scope {
verticalAlignment: Text.AlignVCenter
visible: input.text.length === 0
text: "launch application…"
color: "#7A7B7D"
color: Theme.muted
font: input.font
}
}
@@ -275,15 +276,15 @@ Scope {
Text {
text: model.apps.length + " apps"
color: "#7A7B7D"
font.family: "Digital-7 Mono"
color: Theme.muted
font.family: Theme.readoutFont
font.pointSize: 15
}
}
// Accent lid — mirrors the bottom bar strip.
Rectangle {
color: "#FFD063"
color: Theme.accent
implicitHeight: 4
Layout.fillWidth: true
}
@@ -6,6 +6,7 @@ import Quickshell.Wayland
import Quickshell.Widgets
import QtQuick
import QtQuick.Layouts
import qs.widgets.theme
// Variant 2 — "Grid": centered app-drawer with a dim backdrop and icon tiles.
Scope {
@@ -78,7 +79,7 @@ Scope {
// Dim backdrop — click anywhere outside to dismiss.
Rectangle {
anchors.fill: parent
color: "#0A0A0C"
color: Theme.surface
opacity: 0.55
MouseArea {
@@ -93,9 +94,9 @@ Scope {
width: 760
height: 560
color: "#0F1012"
color: Theme.surface
border.width: 1
border.color: "#FFD063"
border.color: Theme.accent
opacity: 0.98
// Accent corner brackets for the cyberpunk frame.
@@ -104,14 +105,14 @@ Scope {
anchors.left: parent.left
width: 5
height: 28
color: "#FFD063"
color: Theme.accent
}
Rectangle {
anchors.top: parent.top
anchors.right: parent.right
width: 28
height: 5
color: "#FFD063"
color: Theme.accent
}
ColumnLayout {
@@ -126,8 +127,8 @@ Scope {
Text {
text: "APPS"
color: "#FFD063"
font.family: "Digital-7 Mono"
color: Theme.accent
font.family: Theme.readoutFont
font.pointSize: 22
font.letterSpacing: 3
}
@@ -138,9 +139,9 @@ Scope {
Rectangle {
anchors.fill: parent
color: "#292C30"
color: Theme.raised
border.width: 1
border.color: input.activeFocus ? "#FFD063" : "#7A7B7D"
border.color: input.activeFocus ? Theme.accent : Theme.muted
Behavior on border.color {
ColorAnimation {
@@ -155,7 +156,7 @@ Scope {
anchors.rightMargin: 12
verticalAlignment: TextInput.AlignVCenter
color: "#EEEEEE"
color: Theme.text
font.pointSize: 13
clip: true
@@ -198,7 +199,7 @@ Scope {
anchors.verticalCenter: parent.verticalCenter
visible: input.text.length === 0
text: "Type to search…"
color: "#7A7B7D"
color: Theme.muted
font: input.font
}
}
@@ -207,7 +208,7 @@ Scope {
}
Rectangle {
color: "#FFD063"
color: Theme.accent
implicitHeight: 3
Layout.fillWidth: true
}
@@ -242,9 +243,9 @@ Scope {
Rectangle {
anchors.fill: parent
anchors.margins: 6
color: tile.selected ? "#292C30" : "transparent"
color: tile.selected ? Theme.raised : "transparent"
border.width: 1
border.color: tile.selected ? "#FFD063" : "transparent"
border.color: tile.selected ? Theme.accent : "transparent"
Behavior on border.color {
ColorAnimation {
@@ -266,7 +267,7 @@ Scope {
Text {
Layout.fillWidth: true
text: tile.modelData.name
color: tile.selected ? "#FFD063" : "#EEEEEE"
color: tile.selected ? Theme.accent : Theme.text
font.pointSize: 10
horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight
@@ -7,6 +7,7 @@ import Quickshell.Widgets
import QtQuick
import QtQuick.Layouts
import QtQuick.Shapes
import qs.widgets.theme
// Variant 6 — "Slant": breaks up the rectangular layout with angled geometry —
// a chamfered panel, a slanted header divider and sheared row highlights.
@@ -77,7 +78,7 @@ Scope {
// Dim backdrop — click to dismiss.
Rectangle {
anchors.fill: parent
color: "#0A0A0C"
color: Theme.surface
opacity: 0.55
MouseArea {
@@ -107,8 +108,8 @@ Scope {
preferredRendererType: Shape.CurveRenderer
ShapePath {
fillColor: "#0F1012"
strokeColor: "#FFD063"
fillColor: Theme.surface
strokeColor: Theme.accent
strokeWidth: 2
startX: frame.chamfer
@@ -153,7 +154,7 @@ Scope {
// run out to the top and left edges to meet the straight borders.
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: 0
startY: frame.chamfer
@@ -179,7 +180,7 @@ Scope {
// bottom and right edges.
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: panelShape.width
startY: panelShape.height - frame.chamfer
@@ -205,7 +206,7 @@ Scope {
// detached from the panel by the width of the cut.
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: panelShape.width
startY: panelShape.height
@@ -228,7 +229,7 @@ Scope {
// slanted end pieces on both arms.
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
// inner, right end of the bottom arm
startX: panelShape.width / 3
@@ -277,7 +278,7 @@ Scope {
// slanted end pieces on both arms.
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
// inner, bottom of the right arm
startX: panelShape.width
@@ -345,7 +346,7 @@ Scope {
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: 6
startY: 0
PathLine {
@@ -367,7 +368,7 @@ Scope {
}
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: 15
startY: 0
PathLine {
@@ -389,7 +390,7 @@ Scope {
}
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: 24
startY: 0
PathLine {
@@ -420,8 +421,8 @@ Scope {
anchors.fill: parent
verticalAlignment: TextInput.AlignVCenter
color: "#EEEEEE"
font.family: "Digital-7 Mono"
color: Theme.text
font.family: Theme.readoutFont
font.pointSize: 20
font.letterSpacing: 1
clip: true
@@ -457,7 +458,7 @@ Scope {
verticalAlignment: Text.AlignVCenter
visible: input.text.length === 0
text: "run"
color: "#7A7B7D"
color: Theme.muted
font: input.font
}
}
@@ -465,8 +466,8 @@ Scope {
Text {
text: model.apps.length
color: "#7A7B7D"
font.family: "Digital-7 Mono"
color: Theme.muted
font.family: Theme.readoutFont
font.pointSize: 18
}
}
@@ -489,7 +490,7 @@ Scope {
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: divider.slant
startY: 0
PathLine {
@@ -512,7 +513,7 @@ Scope {
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: 0
startY: divider.height
PathLine {
@@ -535,7 +536,7 @@ Scope {
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: divider.width
startY: 0
PathLine {
@@ -597,7 +598,7 @@ Scope {
// Body
ShapePath {
strokeWidth: 0
fillColor: "#22262C"
fillColor: Theme.raised
startX: appRow.shear
startY: 0
PathLine {
@@ -620,7 +621,7 @@ Scope {
// Left accent edge
ShapePath {
strokeWidth: 0
fillColor: "#FFD063"
fillColor: Theme.accent
startX: appRow.shear
startY: 0
PathLine {
@@ -655,7 +656,7 @@ Scope {
Text {
text: appRow.modelData.name
color: appRow.selected ? "#FFD063" : "#EEEEEE"
color: appRow.selected ? Theme.accent : Theme.text
font.pointSize: 12
elide: Text.ElideRight
Layout.fillWidth: true
@@ -663,7 +664,7 @@ Scope {
Text {
text: appRow.modelData.genericName || ""
color: "#7A7B7D"
color: Theme.muted
font.pointSize: 10
elide: Text.ElideRight
Layout.maximumWidth: 220
@@ -6,6 +6,7 @@ import Quickshell.Wayland
import Quickshell.Widgets
import QtQuick
import QtQuick.Layouts
import qs.widgets.theme
// Variant 3 — "Spotlight": top-center command bar with a compact result list.
Scope {
@@ -91,9 +92,9 @@ Scope {
Rectangle {
Layout.fillWidth: true
implicitHeight: 60
color: "#0F1012"
color: Theme.surface
border.width: 1
border.color: "#FFD063"
border.color: Theme.accent
RowLayout {
anchors.fill: parent
@@ -103,8 +104,8 @@ Scope {
Text {
text: ">"
color: "#FFD063"
font.family: "Digital-7 Mono"
color: Theme.accent
font.family: Theme.readoutFont
font.pointSize: 26
font.bold: true
}
@@ -118,7 +119,7 @@ Scope {
anchors.fill: parent
verticalAlignment: TextInput.AlignVCenter
color: "#EEEEEE"
color: Theme.text
font.pointSize: 17
clip: true
@@ -153,7 +154,7 @@ Scope {
verticalAlignment: Text.AlignVCenter
visible: input.text.length === 0
text: "run application"
color: "#7A7B7D"
color: Theme.muted
font: input.font
}
}
@@ -161,8 +162,8 @@ Scope {
Text {
text: model.apps.length + " ▸"
color: "#7A7B7D"
font.family: "Digital-7 Mono"
color: Theme.muted
font.family: Theme.readoutFont
font.pointSize: 16
}
}
@@ -172,7 +173,7 @@ Scope {
Rectangle {
Layout.fillWidth: true
implicitHeight: 3
color: "#FFD063"
color: Theme.accent
visible: model.apps.length > 0
}
@@ -181,11 +182,11 @@ Scope {
Layout.fillWidth: true
// Cap the visible height to maxRows; scroll beyond that.
implicitHeight: Math.min(model.apps.length, win.maxRows) * 44 + 2
color: "#0F1012"
color: Theme.surface
opacity: 0.97
visible: model.apps.length > 0
border.width: 1
border.color: "#292C30"
border.color: Theme.raised
ListView {
id: list
@@ -215,14 +216,14 @@ Scope {
Rectangle {
anchors.fill: parent
color: entry.selected ? "#1A1C1F" : "transparent"
color: entry.selected ? Theme.selection : "transparent"
Rectangle {
anchors.left: parent.left
anchors.top: parent.top
anchors.bottom: parent.bottom
width: 3
color: "#FFD063"
color: Theme.accent
visible: entry.selected
}
@@ -239,7 +240,7 @@ Scope {
Text {
text: entry.modelData.name
color: entry.selected ? "#FFD063" : "#EEEEEE"
color: entry.selected ? Theme.accent : Theme.text
font.pointSize: 12
elide: Text.ElideRight
Layout.fillWidth: true
@@ -247,7 +248,7 @@ Scope {
Text {
text: entry.modelData.genericName || ""
color: "#7A7B7D"
color: Theme.muted
font.pointSize: 10
elide: Text.ElideRight
Layout.maximumWidth: 200
@@ -6,6 +6,7 @@ import Quickshell.Wayland
import Quickshell.Widgets
import QtQuick
import QtQuick.Layouts
import qs.widgets.theme
// Variant 1 — "Stack": left-anchored vertical list launcher.
// Framed with the top/bottom accent strips used by the main Bar.
@@ -82,7 +83,7 @@ Scope {
spacing: 0
Rectangle {
color: "#FFD063"
color: Theme.accent
implicitHeight: 5
Layout.fillWidth: true
}
@@ -93,8 +94,8 @@ Scope {
margin: 12
border.width: 1
border.color: "#FFD063"
color: "#0F1012"
border.color: Theme.accent
color: Theme.surface
opacity: 0.95
ColumnLayout {
@@ -107,7 +108,7 @@ Scope {
Text {
text: "▚"
color: "#FFD063"
color: Theme.accent
font.pointSize: 14
font.bold: true
}
@@ -121,8 +122,8 @@ Scope {
anchors.fill: parent
verticalAlignment: TextInput.AlignVCenter
color: "#EEEEEE"
font.family: "Digital-7 Mono"
color: Theme.text
font.family: Theme.readoutFont
font.pointSize: 16
clip: true
@@ -158,7 +159,7 @@ Scope {
verticalAlignment: Text.AlignVCenter
visible: input.text.length === 0
text: "search"
color: "#7A7B7D"
color: Theme.muted
font: input.font
}
}
@@ -166,14 +167,14 @@ Scope {
Text {
text: model.apps.length
color: "#7A7B7D"
font.family: "Digital-7 Mono"
color: Theme.muted
font.family: Theme.readoutFont
font.pointSize: 14
}
}
Rectangle {
color: "#FFD063"
color: Theme.accent
implicitHeight: 2
Layout.fillWidth: true
}
@@ -207,7 +208,7 @@ Scope {
Rectangle {
anchors.fill: parent
color: appRow.selected ? "#292C30" : "transparent"
color: appRow.selected ? Theme.raised : "transparent"
// Accent bar on the selected row.
Rectangle {
@@ -215,7 +216,7 @@ Scope {
anchors.top: parent.top
anchors.bottom: parent.bottom
width: 3
color: "#FFD063"
color: Theme.accent
visible: appRow.selected
}
@@ -236,7 +237,7 @@ Scope {
Text {
text: appRow.modelData.name
color: appRow.selected ? "#FFD063" : "#EEEEEE"
color: appRow.selected ? Theme.accent : Theme.text
font.pointSize: 12
elide: Text.ElideRight
Layout.fillWidth: true
@@ -245,7 +246,7 @@ Scope {
Text {
visible: text.length > 0
text: appRow.modelData.genericName || appRow.modelData.comment || ""
color: "#7A7B7D"
color: Theme.muted
font.pointSize: 9
elide: Text.ElideRight
Layout.fillWidth: true
@@ -259,7 +260,7 @@ Scope {
}
Rectangle {
color: "#FFD063"
color: Theme.accent
implicitHeight: 5
Layout.fillWidth: true
}