diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-23 22:12:42 +0800 |
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-23 22:12:42 +0800 |
| commit | 1cd3e4c1daa4ad59853fc65c8edddab91f2c0c43 (patch) | |
| tree | 48d97db42eef5766cc218e70ca9a8018361d8ca4 /Button/Primary.ui.qml | |
| parent | 2cf3e72be21545981f27b838832a055d1dc27489 (diff) | |
Merge Bootstrap properties to Eduport
Diffstat (limited to 'Button/Primary.ui.qml')
| -rw-r--r-- | Button/Primary.ui.qml | 18 |
1 files changed, 9 insertions, 9 deletions
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 } } |