diff options
| author | Sander Ferdinand <sa.ferdinand@gmail.com> | 2017-11-16 22:05:14 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-29 23:04:00 +0100 |
| commit | 9819e63fccd290f9804c660bdc0617c026eb2ec7 (patch) | |
| tree | 48d65f8945b83b5d33da5221be69b8d52f6ab628 /components/Style.qml | |
| parent | 50eafab5dc84487ac8ff4c962a96d1d3ecfdbc84 (diff) | |
| download | monzero-gui-9819e63fccd290f9804c660bdc0617c026eb2ec7.tar.gz monzero-gui-9819e63fccd290f9804c660bdc0617c026eb2ec7.tar.xz monzero-gui-9819e63fccd290f9804c660bdc0617c026eb2ec7.zip | |
Singleton for future style definition. For now, put the fonts there
Diffstat (limited to 'components/Style.qml')
| -rw-r--r-- | components/Style.qml | 10 |
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"; } +} |
