summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-28 22:20:54 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-28 22:20:54 +0800
commit157cafe1007e5215816841a413fe9e5608bd97e0 (patch)
treeacd5f8649b947e6e131c2999f3e7f2303ba3e903
parentbef7779988f8fc0ebd3197aa750d5e71516b524b (diff)
bs-btn-color when primary
-rw-r--r--Button/Btn.ui.qml2
-rw-r--r--imports/Eduport/Eduport.qml1
2 files changed, 2 insertions, 1 deletions
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"