diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-05 14:50:18 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-05 14:50:18 +1000 |
| commit | 1fdaf24526ae688251307f2756bcdb9d7592e383 (patch) | |
| tree | 9187b1efd11bfa7d1d2625da29c308a6a51c2842 /modules/osd/Background.qml | |
| parent | dev: get rid of wrapper width/height = 0 warnings (diff) | |
| download | caelestia-shell-1fdaf24526ae688251307f2756bcdb9d7592e383.tar.gz caelestia-shell-1fdaf24526ae688251307f2756bcdb9d7592e383.tar.bz2 caelestia-shell-1fdaf24526ae688251307f2756bcdb9d7592e383.zip | |
refactor: move colours to separate service
Diffstat (limited to 'modules/osd/Background.qml')
| -rw-r--r-- | modules/osd/Background.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/osd/Background.qml b/modules/osd/Background.qml index d8a35b0..a24e3fb 100644 --- a/modules/osd/Background.qml +++ b/modules/osd/Background.qml @@ -1,3 +1,4 @@ +import "root:/services" import "root:/config" import QtQuick import QtQuick.Shapes @@ -12,11 +13,11 @@ Shape { readonly property real wrapperWidth: realWrapperWidth - 1 // Pixel issues :sob: preferredRendererType: Shape.CurveRenderer - opacity: Appearance.transparency.enabled ? Appearance.transparency.base : 1 + opacity: Colours.transparency.enabled ? Colours.transparency.base : 1 ShapePath { strokeWidth: -1 - fillColor: Appearance.colours.m3surface + fillColor: Colours.palette.m3surface startX: root.wrapperWidth |