From 157cafe1007e5215816841a413fe9e5608bd97e0 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: Tue, 28 Mar 2023 22:20:54 +0800 Subject: bs-btn-color when primary --- Button/Btn.ui.qml | 2 +- imports/Eduport/Eduport.qml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Button/Btn.ui.qml b/Button/Btn.ui.qml index f841b54..cf5c731 100644 --- a/Button/Btn.ui.qml +++ b/Button/Btn.ui.qml @@ -10,7 +10,7 @@ Button { contentItem: Text { text: button.text font: button.font - color: Eduport.bsBtnColor + color: Eduport.bsBtnPrimaryColor horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter } diff --git a/imports/Eduport/Eduport.qml b/imports/Eduport/Eduport.qml index 315addd..e7106ec 100644 --- a/imports/Eduport/Eduport.qml +++ b/imports/Eduport/Eduport.qml @@ -72,6 +72,7 @@ QtObject { readonly property real bsBtnBorderRadius: 5.2 readonly property real bsBtnLgFontSize: 16 readonly property real bsBtnLgBorderRadius: 8 + property color bsBtnPrimaryColor: "#ffffff" readonly property color bsBtnPrimaryBg: bsPrimary readonly property color bsBtnPrimaryBorderColor: bsPrimary readonly property color bsBtnPrimaryActiveBg: "#0555a1" -- cgit v1.2.3