aboutsummaryrefslogtreecommitdiffstats
path: root/config/quickshell/modules/common/widgets/StyledText.qml
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-07-15 23:46:48 +0900
committerGitHub <noreply@github.com>2025-07-15 23:46:48 +0900
commit71f1bc6920920f2a9337f18ceba6ebc12b276a6f (patch)
tree34431efa13460f9e716ed162355fd08c535aedc0 /config/quickshell/modules/common/widgets/StyledText.qml
parent7a3bd4f9fe48aad02ef8b13d3677b3bd8358252c (diff)
parent3aadb2106a26988346f34afafe8393b0ba6bdf79 (diff)
Merge branch 'development' into fix-slow-brightness
Diffstat (limited to 'config/quickshell/modules/common/widgets/StyledText.qml')
-rw-r--r--config/quickshell/modules/common/widgets/StyledText.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/quickshell/modules/common/widgets/StyledText.qml b/config/quickshell/modules/common/widgets/StyledText.qml
new file mode 100644
index 00000000..988c136d
--- /dev/null
+++ b/config/quickshell/modules/common/widgets/StyledText.qml
@@ -0,0 +1,13 @@
+import "root:/modules/common"
+import QtQuick
+
+Text {
+ renderType: Text.NativeRendering
+ verticalAlignment: Text.AlignVCenter
+ font {
+ hintingPreference: Font.PreferFullHinting
+ family: Appearance?.font.family.uiFont ?? "sans-serif"
+ pixelSize: Appearance?.font.pixelSize.textBase ?? 15
+ }
+ color: Appearance?.m3colors.m3primaryText ?? "black"
+}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage