summaryrefslogtreecommitdiff
path: root/widgets/StyledText.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 /widgets/StyledText.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 'widgets/StyledText.qml')
-rw-r--r--widgets/StyledText.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/StyledText.qml b/widgets/StyledText.qml
index f95414f..9e4be48 100644
--- a/widgets/StyledText.qml
+++ b/widgets/StyledText.qml
@@ -1,5 +1,6 @@
pragma ComponentBehavior: Bound
+import "root:/services"
import "root:/config"
import QtQuick
@@ -11,7 +12,7 @@ Text {
property int animateDuration: Appearance.anim.durations.normal
renderType: Text.NativeRendering
- color: Appearance.colours.m3onSurface
+ color: Colours.palette.m3onSurface
font.family: Appearance.font.family.sans
font.pointSize: Appearance.font.size.smaller