From 1cd3e4c1daa4ad59853fc65c8edddab91f2c0c43 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: Thu, 23 Mar 2023 22:12:42 +0800 Subject: Merge Bootstrap properties to Eduport --- Button/Primary.ui.qml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Button/Primary.ui.qml') diff --git a/Button/Primary.ui.qml b/Button/Primary.ui.qml index 7c76e4a..5388eb7 100644 --- a/Button/Primary.ui.qml +++ b/Button/Primary.ui.qml @@ -1,22 +1,22 @@ import QtQuick 2.15 import QtQuick.Controls 2.15 -import Bootstrap 5.3 +import Eduport 1.4 Btn { id: button background: Rectangle { - color: button.down ? Bootstrap.btnPrimaryActiveBG + color: button.down ? Eduport.bsBtnPrimaryActiveBG : button.enabled - ? Bootstrap.btnPrimaryBg - : Bootstrap.btnPrimaryDisabledBg + ? Eduport.bsBtnPrimaryBg + : Eduport.bsBtnPrimaryDisabledBg border { - width: Bootstrap.btnBorderWidth + width: Eduport.bsBtnBorderWidth color: button.down - ? Bootstrap.btnPrimaryActiveBorderColor + ? Eduport.bsBtnPrimaryActiveBorderColor : button.enabled - ? Bootstrap.btnPrimaryBorderColor - : Bootstrap.btnPrimaryDisabledBorderColor + ? Eduport.bsBtnPrimaryBorderColor + : Eduport.bsBtnPrimaryDisabledBorderColor } - radius: Bootstrap.btnBorderRadius + radius: Eduport.bsBtnBorderRadius } } -- cgit v1.2.3