From 062b97c14a49c1caed1a36ae881eba1367176a29 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, 29 Mar 2023 07:55:36 +0800 Subject: Simplify mode test --- Header.ui.qml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'Header.ui.qml') 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 { -- cgit v1.2.3