summaryrefslogtreecommitdiff
path: root/modules/bar/components/workspaces/Workspace.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-05 14:50:18 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-05 14:50:18 +1000
commit1fdaf24526ae688251307f2756bcdb9d7592e383 (patch)
tree9187b1efd11bfa7d1d2625da29c308a6a51c2842 /modules/bar/components/workspaces/Workspace.qml
parentdev: get rid of wrapper width/height = 0 warnings (diff)
downloadcaelestia-shell-1fdaf24526ae688251307f2756bcdb9d7592e383.tar.gz
caelestia-shell-1fdaf24526ae688251307f2756bcdb9d7592e383.tar.bz2
caelestia-shell-1fdaf24526ae688251307f2756bcdb9d7592e383.zip
refactor: move colours to separate service
Diffstat (limited to 'modules/bar/components/workspaces/Workspace.qml')
-rw-r--r--modules/bar/components/workspaces/Workspace.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bar/components/workspaces/Workspace.qml b/modules/bar/components/workspaces/Workspace.qml
index 9edc8e4..7f4bc68 100644
--- a/modules/bar/components/workspaces/Workspace.qml
+++ b/modules/bar/components/workspaces/Workspace.qml
@@ -34,7 +34,7 @@ Item {
animate: true
text: Hyprland.activeWsId === root.ws ? activeLabel : root.isOccupied ? occupiedLabel : label
- color: BarConfig.workspaces.occupiedBg || root.isOccupied || Hyprland.activeWsId === root.ws ? Appearance.colours.m3onSurface : Appearance.colours.m3outlineVariant
+ color: BarConfig.workspaces.occupiedBg || root.isOccupied || Hyprland.activeWsId === root.ws ? Colours.palette.m3onSurface : Colours.palette.m3outlineVariant
horizontalAlignment: StyledText.AlignHCenter
verticalAlignment: StyledText.AlignVCenter
@@ -63,7 +63,7 @@ Item {
required property Hyprland.Client modelData
text: Icons.getAppCategoryIcon(modelData.wmClass, "terminal")
- color: Appearance.colours.m3onSurfaceVariant
+ color: Colours.palette.m3onSurfaceVariant
}
}
}