summaryrefslogtreecommitdiff
path: root/imports/Eduport
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-28 19:51:52 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-28 19:51:52 +0800
commit862a9519d37b7857b2ed5575aa8a73053111839e (patch)
tree1a693a6535e1e915072d34ef065c6b0e8d2b5ed5 /imports/Eduport
parent8efb63f2a2c09d9f885222d0ce9f689263a057b4 (diff)
Mode buttons dark background
Diffstat (limited to 'imports/Eduport')
-rw-r--r--imports/Eduport/Eduport.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/imports/Eduport/Eduport.qml b/imports/Eduport/Eduport.qml
index 933ef90..3eb5a25 100644
--- a/imports/Eduport/Eduport.qml
+++ b/imports/Eduport/Eduport.qml
@@ -41,7 +41,10 @@ QtObject {
})
readonly property color bsPrimary: "#066ac9"
- property color bsLight: "#f5f7f9"
+ property color bsLight: mode == Eduport.Mode.Light
+ ? "#f5f7f9" : "#2a2c31"
+ property color bsDark: mode == Eduport.Mode.Light
+ ? "#24292d" : "#0f0f10"
readonly property real bsBadgeFontSize: 13.6