From 2cf3e72be21545981f27b838832a055d1dc27489 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 15:10:21 +0800 Subject: NavLinks replace TabItem --- imports/Bootstrap/Bootstrap.qml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'imports') 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, -- cgit v1.2.3