aboutsummaryrefslogtreecommitdiff
path: root/components/LineEdit.qml
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-04-30 00:52:48 +0200
committerSander Ferdinand <sa.ferdinand@gmail.com>2018-04-30 00:52:48 +0200
commit7418a10d28629658713d3dc162d37ba232bc992d (patch)
tree727b8d6e2dcf52b1065d58cc397ff3876d76ba83 /components/LineEdit.qml
parentfe53cddd034dd1f1a8fdca86ba1960991be2f5a8 (diff)
downloadmonzero-gui-7418a10d28629658713d3dc162d37ba232bc992d.tar.gz
monzero-gui-7418a10d28629658713d3dc162d37ba232bc992d.tar.xz
monzero-gui-7418a10d28629658713d3dc162d37ba232bc992d.zip
Improve contrast - brighten up borders
Diffstat (limited to 'components/LineEdit.qml')
-rw-r--r--components/LineEdit.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/LineEdit.qml b/components/LineEdit.qml
index 50d40ae3..8a194c12 100644
--- a/components/LineEdit.qml
+++ b/components/LineEdit.qml
@@ -40,7 +40,7 @@ Item {
property bool placeholderFontBold: false
property int placeholderFontSize: 18 * scaleRatio
property string placeholderColor: MoneroComponents.Style.defaultFontColor
- property real placeholderOpacity: 0.25
+ property real placeholderOpacity: 0.35
property alias validator: input.validator
property alias readOnly : input.readOnly
@@ -52,9 +52,9 @@ Item {
property bool copyButton: false
property string borderColor: {
if(input.activeFocus){
- return Qt.rgba(255, 255, 255, 0.35);
+ return MoneroComponents.Style.inputBorderColorActive;
} else {
- return Qt.rgba(255, 255, 255, 0.25);
+ return MoneroComponents.Style.inputBorderColorInActive;
}
}
property bool borderDisabled: false