summaryrefslogtreecommitdiff
path: root/components/IText.qml
blob: 1b971c42dba5b7249a9b7c6112cad69a57142883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
}