diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-06-22 22:37:16 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-22 22:37:16 +0900 |
| commit | afa756b92c95f090534ed8349dfd72adc12561d3 (patch) | |
| tree | 2aae90f97566d3943202e9c6605cc95c99d08ac1 /config/quickshell/modules/common/widgets/StyledText.qml | |
| parent | 0f70ff7ae24196ecf5cb9cf2c6299c2d2636a82b (diff) | |
| parent | 897873fccd5d19c460128998b9434238dcf07ba6 (diff) | |
Merge pull request #749 from SherLock707/overviewV2_qs
qs:Overview update: Refactored for better colour and font expose and cleaned up unused code
Diffstat (limited to 'config/quickshell/modules/common/widgets/StyledText.qml')
| -rw-r--r-- | config/quickshell/modules/common/widgets/StyledText.qml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/config/quickshell/modules/common/widgets/StyledText.qml b/config/quickshell/modules/common/widgets/StyledText.qml index 6eef5785..988c136d 100644 --- a/config/quickshell/modules/common/widgets/StyledText.qml +++ b/config/quickshell/modules/common/widgets/StyledText.qml @@ -1,14 +1,13 @@ import "root:/modules/common" import QtQuick -import QtQuick.Layouts Text { renderType: Text.NativeRendering verticalAlignment: Text.AlignVCenter font { hintingPreference: Font.PreferFullHinting - family: Appearance?.font.family.main ?? "sans-serif" - pixelSize: Appearance?.font.pixelSize.small ?? 15 + family: Appearance?.font.family.uiFont ?? "sans-serif" + pixelSize: Appearance?.font.pixelSize.textBase ?? 15 } - color: Appearance?.m3colors.m3onBackground ?? "black" + color: Appearance?.m3colors.m3primaryText ?? "black" } |
