summaryrefslogtreecommitdiff
path: root/widgets/MaterialIcon.qml
blob: 6c219e2a9ee509e674850d28c9a577141d204de8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import "root:/services"
import "root:/config"

StyledText {
    property real fill
    property int grade: Colours.light ? 0 : -25

    font.family: Appearance.font.family.material
    font.pointSize: Appearance.font.size.larger
    font.variableAxes: ({
            FILL: fill.toFixed(1),
            GRAD: grade,
            opsz: fontInfo.pixelSize,
            wght: fontInfo.weight
        })
}