feat: colorful multi-accent quickshell design system

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A8TNMgnEa7Kia5Wcz2kyDx
This commit is contained in:
johannesandClaude Sonnet 5 committed 2026-08-29 16:16:32 +02:00
1 parent 5a004b8be5
commit 215d8b7d8e
23 files changed
+1073 -577

No files matched your search

@@ -76,58 +76,50 @@ PanelWindow {
}
}
Rectangle {
Surface {
width: 300
height: parent.implicitHeight
height: 60
anchors.centerIn: parent
color: Theme.colors.background
radius: Theme.geometry.pillRadius
border.color: Theme.colors.border
border.width: 1
tint: osdWindow.levelColor
glow: true
Item {
anchors.fill: parent
anchors.margins: Theme.geometry.padding
Text {
id: iconText
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
text: {
if (mode === "volume") {
if (isMuted) return "🔇";
if (volumeLevel < 0.33) return "🔈";
if (volumeLevel < 0.66) return "🔉";
return "🔊";
if (isMuted) return ""; // nf-fa-volume_off
if (volumeLevel < 0.5) return ""; // nf-fa-volume_down
return ""; // nf-fa-volume_up
} else {
return "☀️";
return ""; // nf-fa-sun_o
}
}
color: Theme.colors.text
color: osdWindow.levelColor
font.family: Theme.font.family
font.pixelSize: 18
}
Rectangle {
ProgressBar {
anchors.left: iconText.right
anchors.leftMargin: Theme.geometry.spacing
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
height: 8
color: Theme.colors.surfaceHover
radius: 4
clip: true
Rectangle {
width: parent.width * (mode === "volume" ? volumeLevel : brightnessLevel)
height: parent.height
color: (mode === "volume" && isMuted) ? Theme.colors.textMuted : Theme.colors.primary
radius: 4
Behavior on width {
NumberAnimation { duration: Theme.animation.durationFast }
}
}
value: mode === "volume" ? volumeLevel : brightnessLevel
fillColor: osdWindow.levelColor
}
}
}
// Volume gets the primary accent, brightness gets a warm warning-ish
// tint (sun-colored), muted volume falls back to a neutral color.
readonly property color levelColor: (mode === "volume" && isMuted)
? Theme.colors.textMuted
: (mode === "volume" ? Theme.colors.primary : Theme.colors.warning)
}