summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-08 22:20:14 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-08 22:20:14 +1000
commitb50458745617261712eacf55ea8aa1d4d32349d1 (patch)
tree098ae229af4dd5d5e8c2d043d69ae0dda2ab3fba
parentcontrolcenter: fix clipping (diff)
downloadcaelestia-shell-b50458745617261712eacf55ea8aa1d4d32349d1.tar.gz
caelestia-shell-b50458745617261712eacf55ea8aa1d4d32349d1.tar.bz2
caelestia-shell-b50458745617261712eacf55ea8aa1d4d32349d1.zip
internal: fix more colours
-rw-r--r--components/controls/StyledSwitch.qml2
-rw-r--r--modules/bar/components/workspaces/Workspace.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/controls/StyledSwitch.qml b/components/controls/StyledSwitch.qml
index e90ced2..c3e3957 100644
--- a/components/controls/StyledSwitch.qml
+++ b/components/controls/StyledSwitch.qml
@@ -24,7 +24,7 @@ Switch {
readonly property real nonAnimWidth: root.pressed ? implicitHeight * 1.3 : implicitHeight
radius: Appearance.rounding.full
- color: root.checked ? Colours.palette.m3onPrimary : Colours.palette.m3outline
+ color: root.checked ? Colours.palette.m3onPrimary : Colours.layer(Colours.palette.m3outline, root.cLayer + 1)
x: root.checked ? parent.implicitWidth - nonAnimWidth - Appearance.padding.small / 2 : Appearance.padding.small / 2
implicitWidth: nonAnimWidth
diff --git a/modules/bar/components/workspaces/Workspace.qml b/modules/bar/components/workspaces/Workspace.qml
index fcf8ba4..f5b99f5 100644
--- a/modules/bar/components/workspaces/Workspace.qml
+++ b/modules/bar/components/workspaces/Workspace.qml
@@ -33,7 +33,7 @@ Item {
animate: true
text: Hyprland.activeWsId === root.ws ? activeLabel : root.isOccupied ? occupiedLabel : label
- color: Config.bar.workspaces.occupiedBg || root.isOccupied || Hyprland.activeWsId === root.ws ? Colours.palette.m3onSurface : Colours.palette.m3outlineVariant
+ color: Config.bar.workspaces.occupiedBg || root.isOccupied || Hyprland.activeWsId === root.ws ? Colours.palette.m3onSurface : Colours.layer(Colours.palette.m3outlineVariant, 2)
horizontalAlignment: StyledText.AlignHCenter
verticalAlignment: StyledText.AlignVCenter