From 1fdaf24526ae688251307f2756bcdb9d7592e383 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 5 May 2025 14:50:18 +1000 Subject: refactor: move colours to separate service --- modules/osd/Background.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/osd/Background.qml') 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 -- cgit v1.2.3-freya