From 28b1c4365688185f48d60d024380885ecaeabbed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Wed, 12 Apr 2023 20:14:03 +0800 Subject: Set Qootstrap heading colours instead --- imports/Bootstrap/Bootstrap.qml | 1 + imports/Eduport/Eduport.qml | 3 +-- 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"] -- cgit v1.2.3