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 19:48:59 +0900
committerGitHub <noreply@github.com>2025-07-15 19:48:59 +0900
commit30f73308e232b49cfb30dc8015b315ea24e6b80c (patch)
tree69e8b1f219b2638d3119c70aea870730d7dae105 /config/quickshell/modules/common/widgets/StyledText.qml
parentccc57814f5b72f5481d5ea7fe4de4958dc80f553 (diff)
parentd3a59bcfac1f24b0f44e4bc798a59ac494bfedeb (diff)
Merge pull request #762 from JaKooLit/dev-quickshell
Merging Dev-quickshell to development
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