diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-23 13:16:06 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-23 13:16:06 +0800 |
commit | e9cbc2f95cbd67f0605cade6c5b0924b172bc92b (patch) | |
tree | 360652f80ba526a7fd2af2a7cae0514d60134587 /imports | |
parent | 584197ea9820a0227fa3cc5e9552ab8e8295427c (diff) |
Reuse among BS properties
Diffstat (limited to 'imports')
-rw-r--r-- | imports/Bootstrap/Bootstrap.qml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/imports/Bootstrap/Bootstrap.qml b/imports/Bootstrap/Bootstrap.qml index 7019a86..2ad1d58 100644 --- a/imports/Bootstrap/Bootstrap.qml +++ b/imports/Bootstrap/Bootstrap.qml @@ -14,22 +14,24 @@ QtObject { readonly property color btnColor: "#ffffff" readonly property color btnBg: "transparent" readonly property real btnBorderWidth: 1 - readonly property color btnBorderColor: "transparent" + readonly property color btnBorderColor: btnBg readonly property real btnBorderRadius: 5.2 readonly property real btnLgFontSize: 16 readonly property real btnLgBorderRadius: 5.2 readonly property color btnPrimaryBg: "#066ac9" - readonly property color btnPrimaryBorderColor: "#066ac9" + readonly property color btnPrimaryBorderColor: btnPrimaryBg readonly property color btnPrimaryActiveBg: "#0555a1" readonly property color btnPrimaryActiveBorderColor: "#055097" readonly property color btnPrimaryDisabledBg: "#a6066ac9" - readonly property color btnPrimaryDisabledBorderColor: "#a6066ac9" + readonly property color btnPrimaryDisabledBorderColor + : btnPrimaryDisabledBg readonly property color btnSuccessBg: "#0cbc87" - readonly property color btnSuccessBorderColor: "#0cbc87" + readonly property color btnSuccessBorderColor: btnSuccessBg readonly property color btnSuccessActiveBg: "#0a966c" readonly property color btnSuccessActiveBorderColor: "#098d65" readonly property color btnSuccessDisabledBg: "#a60cbc87" - readonly property color btnSuccessDisabledBorderColor: "#a60cbc87" + readonly property color btnSuccessDisabledBorderColor + : btnSuccessDisabledBg readonly property font bodyFont: Qt.font({ family: haveRoboto ? "Roboto" : regular.name, |