summaryrefslogtreecommitdiff
path: root/imports
diff options
context:
space:
mode:
Diffstat (limited to 'imports')
-rw-r--r--imports/Bootstrap/Bootstrap.qml7
-rw-r--r--imports/Eduport/Eduport.qml7
2 files changed, 12 insertions, 2 deletions
diff --git a/imports/Bootstrap/Bootstrap.qml b/imports/Bootstrap/Bootstrap.qml
index 3afa941..a7a2951 100644
--- a/imports/Bootstrap/Bootstrap.qml
+++ b/imports/Bootstrap/Bootstrap.qml
@@ -2,6 +2,8 @@ pragma Singleton
import QtQuick 2.15
QtObject {
+ readonly property real badgeFontSize: 13.6
+
readonly property color btnColor: "#ffffff"
readonly property color btnBg: "#066ac9"
readonly property color btnActiveBg: "#0555a1"
@@ -20,11 +22,12 @@ QtObject {
}
readonly property font bodyFont: Qt.font({
family: haveRoboto ? "Roboto" : regular.name,
+ weight: Font.Normal,
pointSize: 15
})
readonly property font btnFont: Qt.font({
family: haveRoboto ? "Roboto" : medium.name,
- pointSize: 15,
- weight: Font.Medium
+ weight: Font.Medium,
+ pointSize: 15
})
}
diff --git a/imports/Eduport/Eduport.qml b/imports/Eduport/Eduport.qml
index 106b1ab..e3b36dd 100644
--- a/imports/Eduport/Eduport.qml
+++ b/imports/Eduport/Eduport.qml
@@ -13,6 +13,9 @@ QtObject {
readonly property FontLoader medium: FontLoader {
source: "../../Heebo/Heebo-Medium.ttf"
}
+ readonly property FontLoader regular: FontLoader {
+ source: "../../Heebo/Heebo-Regular.ttf"
+ }
readonly property font hFont: Qt.font({
family: bold.name,
weight: Font.Bold
@@ -21,4 +24,8 @@ QtObject {
family: medium.name,
weight: Font.Medium
})
+ readonly property font fwLightFont: Qt.font({
+ family: regular.name,
+ weight: Font.Normal
+ })
}