diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-29 07:55:36 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-29 07:55:36 +0800 |
commit | 062b97c14a49c1caed1a36ae881eba1367176a29 (patch) | |
tree | 726e6d331867168a18d781b8ddafa2dc1cf0cbc3 /Header.ui.qml | |
parent | e602301676e7ab6e63f0e3618329d6a7dca27306 (diff) |
Simplify mode test
Diffstat (limited to 'Header.ui.qml')
-rw-r--r-- | Header.ui.qml | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/Header.ui.qml b/Header.ui.qml index c320a65..5ed8093 100644 --- a/Header.ui.qml +++ b/Header.ui.qml @@ -77,9 +77,8 @@ ToolBar { implicitWidth: menu.width implicitHeight: 1 color: Eduport.mode - == Eduport.Mode.Light - ? Eduport.bsGray500 - : Eduport.bsGray300 + ? Eduport.bsGray300 + : Eduport.bsGray500 } } } @@ -153,9 +152,8 @@ ToolBar { ? Eduport .bsDropdownLinkHoverBg : Eduport.mode - == Eduport.Mode.Light - ? Eduport.bsBodyBg - : Eduport.bsDark + ? Eduport.bsDark + : Eduport.bsBodyBg radius: 5.2 } } @@ -168,9 +166,8 @@ ToolBar { anchors.fill: parent radius: 5.2 color: Eduport.mode - == Eduport.Mode.Light - ? Eduport.bsBodyBg - : Eduport.bsDark + ? Eduport.bsDark + : Eduport.bsBodyBg } DrpShdw.Box { |