aboutsummaryrefslogtreecommitdiff
path: root/components/Style.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/Style.qml')
-rw-r--r--components/Style.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/components/Style.qml b/components/Style.qml
new file mode 100644
index 00000000..cab0e062
--- /dev/null
+++ b/components/Style.qml
@@ -0,0 +1,10 @@
+pragma Singleton
+
+import QtQuick 2.5
+
+QtObject {
+ property QtObject fontMedium: FontLoader { id: _fontMedium; source: "qrc:/fonts/SFUIDisplay-Medium.otf"; }
+ property QtObject fontBold: FontLoader { id: _fontBold; source: "qrc:/fonts/SFUIDisplay-Bold.otf"; }
+ property QtObject fontLight: FontLoader { id: _fontLight; source: "qrc:/fonts/SFUIDisplay-Light.otf"; }
+ property QtObject fontRegular: FontLoader { id: _fontRegular; source: "qrc:/fonts/SFUIDisplay-Regular.otf"; }
+}