diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-23 15:10:21 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-23 15:10:21 +0800 |
commit | 2cf3e72be21545981f27b838832a055d1dc27489 (patch) | |
tree | d7476a60ae843c95db25bc2dcee96d127388e59c /imports | |
parent | 48b85fe1c1945efb66a4eb81e4405efabc12c1ce (diff) |
NavLinks replace TabItem
Diffstat (limited to 'imports')
-rw-r--r-- | imports/Bootstrap/Bootstrap.qml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/imports/Bootstrap/Bootstrap.qml b/imports/Bootstrap/Bootstrap.qml index 827b7a2..845e4f1 100644 --- a/imports/Bootstrap/Bootstrap.qml +++ b/imports/Bootstrap/Bootstrap.qml @@ -2,6 +2,7 @@ pragma Singleton import QtQuick 2.15 QtObject { + readonly property color primary: "#066ac9" readonly property real badgeFontSize: 13.6 readonly property real btnPaddingX: 16 @@ -18,20 +19,22 @@ QtObject { readonly property real btnBorderRadius: 5.2 readonly property real btnLgFontSize: 16 readonly property real btnLgBorderRadius: 8 - readonly property color btnPrimaryBg: "#066ac9" - readonly property color btnPrimaryBorderColor: btnPrimaryBg + readonly property color btnPrimaryBg: primary + readonly property color btnPrimaryBorderColor: primary readonly property color btnPrimaryActiveBg: "#0555a1" readonly property color btnPrimaryActiveBorderColor: "#055097" readonly property color btnPrimaryDisabledBg: "#a6066ac9" - readonly property color btnPrimaryDisabledBorderColor - : btnPrimaryDisabledBg + readonly property color btnPrimaryDisabledBorderColor: btnPrimaryDisabledBg readonly property color btnSuccessBg: "#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 - : btnSuccessDisabledBg + readonly property color btnSuccessDisabledBorderColor: btnSuccessDisabledBg + + readonly property real navPillsBorderRadius: btnBorderRadius + readonly property color navPillsLinkActiveColor: btnColor + readonly property color navPillsLinkActiveBg: primary readonly property font bodyFont: Qt.font({ family: haveRoboto ? "Roboto" : regular.name, |