diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-08 19:32:38 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-08 19:32:38 +1000 |
| commit | 5b8edfc1e29433b40bb1120043bc1b79010a6cc1 (patch) | |
| tree | 99476b16b36a299b82e8497be9338d6cc760ef8c /modules/lock | |
| parent | controlcenter: hide float button when floating (diff) | |
| download | caelestia-shell-5b8edfc1e29433b40bb1120043bc1b79010a6cc1.tar.gz caelestia-shell-5b8edfc1e29433b40bb1120043bc1b79010a6cc1.tar.bz2 caelestia-shell-5b8edfc1e29433b40bb1120043bc1b79010a6cc1.zip | |
internal: transparency support coming soon™
Also fix media player selector text colour
Fix colour preview not resetting light/dark mode
Diffstat (limited to 'modules/lock')
| -rw-r--r-- | modules/lock/Backgrounds.qml | 14 | ||||
| -rw-r--r-- | modules/lock/Input.qml | 4 | ||||
| -rw-r--r-- | modules/lock/MediaPlaying.qml | 4 | ||||
| -rw-r--r-- | modules/lock/Notification.qml | 4 |
4 files changed, 13 insertions, 13 deletions
diff --git a/modules/lock/Backgrounds.qml b/modules/lock/Backgrounds.qml index eba7c7b..cc95176 100644 --- a/modules/lock/Backgrounds.qml +++ b/modules/lock/Backgrounds.qml @@ -37,7 +37,7 @@ Item { id: base anchors.fill: parent - color: Colours.alpha(Colours.palette.m3surface, false) + color: Colours.tPalette.m3surface layer.enabled: true layer.effect: MultiEffect { @@ -86,7 +86,7 @@ Item { readonly property real roundingY: flatten ? height / 2 : rounding strokeWidth: -1 - fillColor: Colours.palette.m3surface + fillColor: Colours.tPalette.m3surface startX: (innerMask.width - width) / 2 - rounding @@ -153,7 +153,7 @@ Item { readonly property real roundingY: flatten ? height / 2 : rounding strokeWidth: -1 - fillColor: Colours.palette.m3surface + fillColor: Colours.tPalette.m3surface startX: (innerMask.width - width) / 2 - rounding startY: Math.ceil(innerMask.height) @@ -221,7 +221,7 @@ Item { readonly property real roundingY: height < rounding * 2 ? height / 2 : rounding strokeWidth: -1 - fillColor: Colours.palette.m3surface + fillColor: Colours.tPalette.m3surface startY: Math.ceil(innerMask.height) - height - roundingY @@ -286,7 +286,7 @@ Item { readonly property real roundingY: height < rounding * 2 ? height / 2 : rounding strokeWidth: -1 - fillColor: root.isNormal ? Colours.palette.m3surface : "transparent" + fillColor: root.isNormal ? Colours.tPalette.m3surface : "transparent" startX: root.isLarge ? 0 : Math.ceil(innerMask.width) startY: root.isLarge ? height + roundingY : Math.ceil(innerMask.height) - height - roundingY @@ -351,7 +351,7 @@ Item { readonly property real roundingY: height < rounding * 2 ? height / 2 : rounding strokeWidth: -1 - fillColor: root.isLarge ? Colours.palette.m3surface : "transparent" + fillColor: root.isLarge ? Colours.tPalette.m3surface : "transparent" startX: Math.ceil(innerMask.width) startY: Math.ceil(innerMask.height) - height - rounding @@ -416,7 +416,7 @@ Item { readonly property real roundingY: height < rounding * 2 ? height / 2 : rounding strokeWidth: -1 - fillColor: root.isLarge ? Colours.palette.m3surface : "transparent" + fillColor: root.isLarge ? Colours.tPalette.m3surface : "transparent" startX: Math.ceil(innerMask.width) startY: height + rounding diff --git a/modules/lock/Input.qml b/modules/lock/Input.qml index b1d2ae3..b989bb9 100644 --- a/modules/lock/Input.qml +++ b/modules/lock/Input.qml @@ -31,7 +31,7 @@ ColumnLayout { implicitHeight: Config.lock.sizes.faceSize radius: Appearance.rounding.large - color: Colours.palette.m3surfaceContainer + color: Colours.tPalette.m3surfaceContainer MaterialIcon { anchors.centerIn: parent @@ -77,7 +77,7 @@ ColumnLayout { Layout.preferredHeight: Appearance.font.size.normal + Appearance.padding.large * 2 focus: true - color: Colours.palette.m3surfaceContainer + color: Colours.tPalette.m3surfaceContainer radius: Appearance.rounding.small clip: true diff --git a/modules/lock/MediaPlaying.qml b/modules/lock/MediaPlaying.qml index a38f0e8..4fc7991 100644 --- a/modules/lock/MediaPlaying.qml +++ b/modules/lock/MediaPlaying.qml @@ -47,7 +47,7 @@ RowLayout { ClippingWrapperRectangle { anchors.fill: parent - color: Colours.palette.m3surfaceContainerHigh + color: Colours.tPalette.m3surfaceContainerHigh radius: Appearance.rounding.small rotation: 9 @@ -91,7 +91,7 @@ RowLayout { StyledClippingRect { anchors.fill: parent - color: Colours.palette.m3surfaceContainerHigh + color: Colours.tPalette.m3surfaceContainerHigh radius: Appearance.rounding.small border.width: Config.lock.sizes.mediaCoverBorder diff --git a/modules/lock/Notification.qml b/modules/lock/Notification.qml index c06db56..c9bf05e 100644 --- a/modules/lock/Notification.qml +++ b/modules/lock/Notification.qml @@ -19,7 +19,7 @@ StyledRect { readonly property bool hasAppIcon: modelData.appIcon.length > 0 readonly property int nonAnimHeight: Math.max(image.height, details.implicitHeight) + Appearance.padding.normal * 2 - color: root.modelData.urgency === NotificationUrgency.Critical ? Colours.palette.m3secondaryContainer : Colours.palette.m3surfaceContainer + color: root.modelData.urgency === NotificationUrgency.Critical ? Colours.palette.m3secondaryContainer : Colours.tPalette.m3surfaceContainer radius: Appearance.rounding.normal implicitWidth: Config.notifs.sizes.width @@ -113,7 +113,7 @@ StyledRect { sourceComponent: StyledRect { radius: Appearance.rounding.full - color: root.modelData.urgency === NotificationUrgency.Critical ? Colours.palette.m3error : root.modelData.urgency === NotificationUrgency.Low ? Colours.palette.m3surfaceContainerHighest : Colours.palette.m3tertiaryContainer + color: root.modelData.urgency === NotificationUrgency.Critical ? Colours.palette.m3error : root.modelData.urgency === NotificationUrgency.Low ? Colours.tPalette.m3surfaceContainerHighest : Colours.palette.m3tertiaryContainer implicitWidth: root.hasImage ? Config.notifs.sizes.badge : Config.notifs.sizes.image implicitHeight: root.hasImage ? Config.notifs.sizes.badge : Config.notifs.sizes.image |