From 862a9519d37b7857b2ed5575aa8a73053111839e 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: Tue, 28 Mar 2023 19:51:52 +0800 Subject: Mode buttons dark background --- imports/Eduport/Eduport.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'imports') 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 -- cgit v1.2.3