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 /widgets/StyledTextField.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 'widgets/StyledTextField.qml')
| -rw-r--r-- | widgets/StyledTextField.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/widgets/StyledTextField.qml b/widgets/StyledTextField.qml index cb1ce83..1209ec1 100644 --- a/widgets/StyledTextField.qml +++ b/widgets/StyledTextField.qml @@ -1,5 +1,6 @@ pragma ComponentBehavior: Bound +import "root:/services" import "root:/config" import QtQuick import QtQuick.Controls @@ -7,8 +8,8 @@ import QtQuick.Controls TextField { id: root - color: Appearance.colours.m3onSurface - placeholderTextColor: Appearance.colours.m3outline + color: Colours.palette.m3onSurface + placeholderTextColor: Colours.palette.m3outline font.family: Appearance.font.family.sans font.pointSize: Appearance.font.size.smaller @@ -18,7 +19,7 @@ TextField { property bool disableBlink implicitWidth: 2 - color: Appearance.colours.m3primary + color: Colours.palette.m3primary radius: Appearance.rounding.normal onXChanged: { opacity = 1; |