summaryrefslogtreecommitdiff
path: root/imports/Bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'imports/Bootstrap')
-rw-r--r--imports/Bootstrap/Bootstrap.qml10
1 files changed, 8 insertions, 2 deletions
diff --git a/imports/Bootstrap/Bootstrap.qml b/imports/Bootstrap/Bootstrap.qml
index 321eedf..3afa941 100644
--- a/imports/Bootstrap/Bootstrap.qml
+++ b/imports/Bootstrap/Bootstrap.qml
@@ -1,5 +1,4 @@
pragma Singleton
-
import QtQuick 2.15
QtObject {
@@ -16,9 +15,16 @@ QtObject {
readonly property FontLoader medium: FontLoader {
source: haveRoboto ? "" : "../../Roboto/Roboto-Medium.ttf"
}
+ readonly property FontLoader regular: FontLoader {
+ source: haveRoboto ? "" : "../../Roboto/Roboto-Regular.ttf"
+ }
+ readonly property font bodyFont: Qt.font({
+ family: haveRoboto ? "Roboto" : regular.name,
+ pointSize: 15
+ })
readonly property font btnFont: Qt.font({
- pointSize: 15,
family: haveRoboto ? "Roboto" : medium.name,
+ pointSize: 15,
weight: Font.Medium
})
}