diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-04-12 20:14:03 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-04-12 20:14:03 +0800 |
commit | 28b1c4365688185f48d60d024380885ecaeabbed (patch) | |
tree | afdf32e73f4e9dfe672c56d70e6d1fe29db58f8b | |
parent | 2127dd61cda7dcb65b4edd51556158a8e79b0795 (diff) |
Set Qootstrap heading colours instead
-rw-r--r-- | imports/Bootstrap/Bootstrap.qml | 1 | ||||
-rw-r--r-- | imports/Eduport/Eduport.qml | 3 | ||||
-rw-r--r-- | qtquickcontrols2.conf | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/imports/Bootstrap/Bootstrap.qml b/imports/Bootstrap/Bootstrap.qml index 8606851..f9d1f1b 100644 --- a/imports/Bootstrap/Bootstrap.qml +++ b/imports/Bootstrap/Bootstrap.qml @@ -15,5 +15,6 @@ QtObject { }) readonly property color bodyColor: mode ? "#a1a1a8" : "#747579" readonly property color bodyBg: mode ? "#222529" : "#fff" + readonly property color headingColor: mode ? "#fff" : "#24292d" readonly property color borderColor: mode ? "#12ffffff" : "#eff1f2" } diff --git a/imports/Eduport/Eduport.qml b/imports/Eduport/Eduport.qml index be41156..6bbddd0 100644 --- a/imports/Eduport/Eduport.qml +++ b/imports/Eduport/Eduport.qml @@ -15,6 +15,7 @@ QtObject { }) property color bsBodyColor: Bootstrap.bodyColor property color bsBodyBg: Bootstrap.bodyBg + property color bsHeadingColor: Bootstrap.headingColor property color bsBorderColor: Bootstrap.borderColor readonly property real leadFontSize: 18.75 @@ -129,8 +130,6 @@ QtObject { property color bsDropdownLinkHoverColor: "#066ac9" property color bsDropdownLinkHoverBg: "#1a066ac9" - property color bsHeadingColor: mode ? "#ffffff" : "#24292d" - property color bsGray200: mode ? "#464950" : "#eff1f2" property color bsGray300: mode ? "#3e3e40" : "#dde0e3" property color bsGray500: mode ? "#bfc0c9" : "#9a9ea4" diff --git a/qtquickcontrols2.conf b/qtquickcontrols2.conf index f7980b7..04317d9 100644 --- a/qtquickcontrols2.conf +++ b/qtquickcontrols2.conf @@ -6,4 +6,5 @@ BodyFontFamily = "Roboto" BodyFontSize = 15.0 BodyColors = ["#747579", "#a1a1a8"] BodyBgs = ["#fff", "#222529"] +HeadingColors = ["#24292d", "#fff"] BorderColors = ["#eff1f2", "#12ffffff"] |