diff options
Diffstat (limited to 'components/TextPlain.qml')
| -rw-r--r-- | components/TextPlain.qml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/components/TextPlain.qml b/components/TextPlain.qml index ed6b7977..fa41fb4c 100644 --- a/components/TextPlain.qml +++ b/components/TextPlain.qml @@ -1,7 +1,7 @@ import QtQuick 2.9 -import "." as MoneroComponents -import "effects/" as MoneroEffects +import "." as MonzeroComponents +import "effects/" as MonzeroEffects Text { // When using this component, please note that if you use a color different @@ -16,7 +16,7 @@ Text { property alias tooltipLeft: tooltip.tooltipLeft property alias tooltipIconVisible: tooltip.tooltipIconVisible property alias tooltipPopup: tooltip.tooltipPopup - font.family: MoneroComponents.Style.fontMedium.name + font.family: MonzeroComponents.Style.fontMedium.name font.bold: false font.pixelSize: 14 textFormat: Text.PlainText @@ -26,19 +26,19 @@ Text { height: root.height anchors.left: parent.left anchors.top: parent.top - color: root.focus ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent" + color: root.focus ? MonzeroComponents.Style.titleBarButtonHoverColor : "transparent" } - MoneroEffects.ColorTransition { + MonzeroEffects.ColorTransition { enabled: root.themeTransition themeTransition: root.themeTransition targetObj: root duration: 750 - blackColor: root.themeTransitionBlackColor !== "" ? root.themeTransitionBlackColor : MoneroComponents.Style._b_defaultFontColor - whiteColor: root.themeTransitionWhiteColor !== "" ? root.themeTransitionWhiteColor : MoneroComponents.Style._w_defaultFontColor + blackColor: root.themeTransitionBlackColor !== "" ? root.themeTransitionBlackColor : MonzeroComponents.Style._b_defaultFontColor + whiteColor: root.themeTransitionWhiteColor !== "" ? root.themeTransitionWhiteColor : MonzeroComponents.Style._w_defaultFontColor } - MoneroComponents.Tooltip { + MonzeroComponents.Tooltip { id: tooltip anchors.top: parent.top anchors.left: tooltipIconVisible ? parent.right : parent.left |
