aboutsummaryrefslogtreecommitdiff
path: root/components/Label.qml
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2017-12-07 17:33:46 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-29 23:04:01 +0100
commit868fbe2f2d19681c84c432b472e86328c7c6e61d (patch)
tree386d8186d5ce2a86223fadf0f33863b32a5a27b8 /components/Label.qml
parent22792df5cdafec98da0a6045ee7c0f81ebed5ce2 (diff)
downloadmonzero-gui-868fbe2f2d19681c84c432b472e86328c7c6e61d.tar.gz
monzero-gui-868fbe2f2d19681c84c432b472e86328c7c6e61d.tar.xz
monzero-gui-868fbe2f2d19681c84c432b472e86328c7c6e61d.zip
Move default font color to Style.qml
Diffstat (limited to 'components/Label.qml')
-rw-r--r--components/Label.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/components/Label.qml b/components/Label.qml
index 3de0eadb..86618c9e 100644
--- a/components/Label.qml
+++ b/components/Label.qml
@@ -29,6 +29,8 @@
import QtQuick 2.0
import QtQuick.Layouts 1.1
+import "." 1.0
+
Item {
id: item
property alias text: label.text
@@ -49,10 +51,10 @@ Item {
anchors.bottom: parent.bottom
anchors.bottomMargin: 2 * scaleRatio
anchors.left: parent.left
- font.family: "Arial"
+ font.family: Style.fontRegular.name
font.pixelSize: fontSize
font.bold: fontBold
- color: "white"
+ color: Style.defaultFontColor
onLinkActivated: item.linkActivated()
}