diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-29 15:04:20 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-29 15:04:20 +0800 |
| commit | 4792f2f322bee9ee2a2c4ed62386150f162ebd8b (patch) | |
| tree | 6af40a0b5ff8327806b5c2618f8870cfd516b6db /bar/Workspace.qml | |
| parent | d971fd6a620f4ab044d38154f75d806307d4b367 (diff) | |
refactor(colors): configurable accent color
Diffstat (limited to 'bar/Workspace.qml')
| -rw-r--r-- | bar/Workspace.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bar/Workspace.qml b/bar/Workspace.qml index cd80db2..da5f6db 100644 --- a/bar/Workspace.qml +++ b/bar/Workspace.qml @@ -45,7 +45,7 @@ Item { source: activeRect radius: 8 cached: true - color: root.activeOccupied ? Colors.background2 : Colors.foreground1 + color: root.activeOccupied ? Colors.accent : Colors.foreground1 opacity: root.activeOccupied ? Bar.wsActiveOpacity : Bar.wsEmptyOpacity / 3 Behavior on color { @@ -68,7 +68,7 @@ Item { implicitWidth: Bar.wsActiveIconSize implicitHeight: Bar.wsIconSize - Bar.wsHorizontalSpacing radius: Bar.wsRounding - color: root.activeOccupied ? Colors.background2 : Colors.foreground1 + color: root.activeOccupied ? Colors.accent : Colors.foreground1 opacity: root.activeOccupied ? Bar.wsActiveOpacity : Bar.wsEmptyOpacity / 3 Behavior on x { ISpringAnimation {} @@ -110,7 +110,7 @@ Item { implicitWidth: active ? Bar.wsActiveIconSize : Bar.wsIconSize implicitHeight: Bar.wsIconSize - Bar.wsHorizontalSpacing radius: Bar.wsRounding - color: st.isOccupied ? Colors.background2 : Colors.foreground1 + color: st.isOccupied ? Colors.accent : Colors.foreground1 opacity: active && st.isOccupied ? Bar.wsActiveOpacity : st.isOccupied ? Bar.wsOpacity : Bar.wsEmptyOpacity Icon { |
