Improve contrast - brighten up borders

This commit is contained in:
Sander Ferdinand
2018-04-30 00:52:48 +02:00
parent fe53cddd03
commit 7418a10d28
11 changed files with 25 additions and 15 deletions

View File

@@ -112,7 +112,7 @@ ColumnLayout {
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.leftMargin: 10 * scaleRatio
opacity: 0.25
opacity: 0.35
color: MoneroComponents.Style.defaultFontColor
font.family: MoneroComponents.Style.fontRegular.name
font.pixelSize: 18 * scaleRatio
@@ -125,11 +125,11 @@ ColumnLayout {
border.width: 1
border.color: {
if(multiLine.error && multiLine.text !== ""){
return Qt.rgba(255, 0, 0, 0.45);
return MoneroComponents.Style.inputBorderColorInvalid;
} else if(multiLine.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;
}
}
radius: 4