summaryrefslogtreecommitdiff
path: root/components/StandardButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/StandardButton.qml')
-rw-r--r--components/StandardButton.qml28
1 files changed, 14 insertions, 14 deletions
diff --git a/components/StandardButton.qml b/components/StandardButton.qml
index 0df44194..b8cedd6a 100644
--- a/components/StandardButton.qml
+++ b/components/StandardButton.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -31,7 +31,7 @@ import QtQuick.Layouts 1.1
import FontAwesome 1.0
-import "../components" as MoneroComponents
+import "../components" as MonzeroComponents
Item {
id: button
@@ -39,7 +39,7 @@ Item {
property bool primary: true
property string rightIcon: ""
property string rightIconInactive: ""
- property color textColor: primary ? MoneroComponents.Style.buttonTextColor : MoneroComponents.Style.buttonSecondaryTextColor;
+ property color textColor: primary ? MonzeroComponents.Style.buttonTextColor : MonzeroComponents.Style.buttonSecondaryTextColor;
property bool small: false
property alias text: label.text
property alias fontBold: label.font.bold
@@ -80,8 +80,8 @@ Item {
PropertyChanges {
target: buttonRect
color: primary
- ? MoneroComponents.Style.buttonBackgroundColorHover
- : MoneroComponents.Style.buttonSecondaryBackgroundColorHover
+ ? MonzeroComponents.Style.buttonBackgroundColorHover
+ : MonzeroComponents.Style.buttonSecondaryBackgroundColorHover
}
},
State {
@@ -90,8 +90,8 @@ Item {
PropertyChanges {
target: buttonRect
color: primary
- ? MoneroComponents.Style.buttonBackgroundColor
- : MoneroComponents.Style.buttonSecondaryBackgroundColor
+ ? MonzeroComponents.Style.buttonBackgroundColor
+ : MonzeroComponents.Style.buttonSecondaryBackgroundColor
}
},
State {
@@ -101,8 +101,8 @@ Item {
target: buttonRect
opacity: 0.5
color: primary
- ? MoneroComponents.Style.buttonBackgroundColor
- : MoneroComponents.Style.buttonSecondaryBackgroundColor
+ ? MonzeroComponents.Style.buttonBackgroundColor
+ : MonzeroComponents.Style.buttonSecondaryBackgroundColor
}
PropertyChanges {
target: label
@@ -123,16 +123,16 @@ Item {
spacing: 11
anchors.centerIn: parent
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: label
- font.family: MoneroComponents.Style.fontBold.name
+ font.family: MonzeroComponents.Style.fontBold.name
font.bold: button.primary ? true : false
font.pixelSize: button.fontSize
color: !buttonArea.pressed ? button.textColor : "transparent"
visible: text !== ""
themeTransition: false
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
anchors.centerIn: parent
color: button.textColor
font.bold: label.font.bold
@@ -161,7 +161,7 @@ Item {
Text {
Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
- color: MoneroComponents.Style.defaultFontColor
+ color: MonzeroComponents.Style.defaultFontColor
font.family: FontAwesome.fontFamilySolid
font.pixelSize: button.small ? 16 : 20
font.styleName: "Solid"
@@ -170,7 +170,7 @@ Item {
}
}
- MoneroComponents.Tooltip {
+ MonzeroComponents.Tooltip {
id: tooltip
anchors.fill: parent
}