quickshell: workspace dots are one ink, state by opacity

Focused was base05 while the rest were base03/base04 — three palette
slots for one control, which reads as a second colour in a bar that no
longer has one. All base05 now; unfocused dots step back to 0.4 opacity
and hover to 0.8, so state still shows without a colour change. Shape
already carries focus at 18px against 6px.
This commit is contained in:
rope 2026-08-30 22:21:05 +01:00
parent c0a0d07073
commit f2cf8076b0

View file

@ -4179,16 +4179,20 @@ in
width: 6 width: 6
height: wsItem.modelData.focused ? 18 : 6 height: wsItem.modelData.focused ? 18 : 6
radius: 3 radius: 3
// The focused pill is 18px against 6px, so // One ink for the whole switcher, like the
// focus is already unmistakable from shape // rest of the column. The focused pill is
// alone — colouring it too made the switcher // 18px against 6px, so shape carries focus
// the second loud thing up here. // on its own; the dots step back with
color: wsItem.modelData.focused ? Theme.base05 // opacity rather than by dropping to
: wsMa.containsMouse ? Theme.base04 : Theme.base03 // base03/base04, which reads as a second
// colour in a bar that no longer has one.
color: Theme.base05
opacity: wsItem.modelData.focused ? 1
: wsMa.containsMouse ? 0.8 : 0.4
Behavior on height { Behavior on height {
NumberAnimation { duration: 200; easing.type: Easing.OutExpo } NumberAnimation { duration: 200; easing.type: Easing.OutExpo }
} }
Behavior on color { ColorAnimation { duration: Theme.animFade } } Behavior on opacity { NumberAnimation { duration: Theme.animFade } }
} }
MouseArea { MouseArea {