diff options
Diffstat (limited to 'widgets/StyledText.qml')
| -rw-r--r-- | widgets/StyledText.qml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/widgets/StyledText.qml b/widgets/StyledText.qml new file mode 100644 index 0000000..ed5d791 --- /dev/null +++ b/widgets/StyledText.qml @@ -0,0 +1,18 @@ +import "root:/config" +import QtQuick + +Text { + id: root + + renderType: Text.NativeRendering + color: Appearance.colours.text + font.family: Appearance.font.family.sans + + Behavior on color { + ColorAnimation { + duration: Appearance.anim.durations.normal + easing.type: Easing.BezierSpline + easing.bezierCurve: Appearance.anim.curves.standard + } + } +} |