summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-07-13 14:55:59 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-07-13 14:55:59 +0800
commitf5462c3274d008c1bb509cfac4eab8492d822cf5 (patch)
tree3e24cc3c86c5e490ff8784947dd8fa785b6cd69d /components
parentf01658cd6da6ccfab9b59478d427511d4179c383 (diff)
finish bar workspace style
Diffstat (limited to 'components')
-rw-r--r--components/IText.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/components/IText.qml b/components/IText.qml
new file mode 100644
index 0000000..1b971c4
--- /dev/null
+++ b/components/IText.qml
@@ -0,0 +1,15 @@
+import QtQuick
+import QtQuick.Layouts
+import qs.config
+
+Text {
+ renderType: Text.NativeRendering
+ verticalAlignment: Text.AlignVCenter
+ font {
+ hintingPreference: Font.PreferFullHinting
+ family: Appearance?.font.family.main ?? "sans-serif"
+ pixelSize: Appearance?.font.pixelSize.small ?? 15
+ }
+ color: Appearance?.m3colors.m3onBackground ?? "black"
+ linkColor: Appearance?.m3colors.m3primary
+}