mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 16:47:24 +00:00
fix(edit): fix edit input text color in dark theme
This commit is contained in:
parent
aebb9bdcc7
commit
552b6e8af9
@ -45,7 +45,8 @@ Theme {
|
||||
property color currentUserTextColor: white
|
||||
property color secondaryBackground: "#353a4d"
|
||||
property color inputBackground: darkGrey
|
||||
property color secondaryinputBackground: fivePercentBlack
|
||||
property color secondaryInputBackground: grey
|
||||
property color secondaryInputText: black
|
||||
property color inputBorderFocus: blue
|
||||
property color secondaryMenuBorder: darkGrey
|
||||
property color inputColor: textColor
|
||||
|
@ -45,7 +45,8 @@ Theme {
|
||||
property color currentUserTextColor: white
|
||||
property color secondaryBackground: lightBlue
|
||||
property color inputBackground: grey
|
||||
property color secondaryinputBackground: fivePercentBlack
|
||||
property color secondaryInputBackground: fivePercentBlack
|
||||
property color secondaryInputText: textColor
|
||||
property color inputBorderFocus: blue
|
||||
property color secondaryMenuBorder: grey3
|
||||
property color inputColor: black
|
||||
|
@ -737,7 +737,7 @@ Rectangle {
|
||||
return messageInputField.implicitHeight
|
||||
}
|
||||
|
||||
color: isEdit ? Style.current.secondaryinputBackground : Style.current.inputBackground
|
||||
color: isEdit ? Style.current.secondaryInputBackground : Style.current.inputBackground
|
||||
radius: control.isStatusUpdateInput ? 36 :
|
||||
height > defaultInputFieldHeight + 1 || extendedArea.visible ? 16 : 32
|
||||
|
||||
@ -781,7 +781,7 @@ Rectangle {
|
||||
anchors.bottom: control.isStatusUpdateInput ? undefined : messageInput.top
|
||||
anchors.top: control.isStatusUpdateInput ? messageInput.bottom : undefined
|
||||
anchors.topMargin: control.isStatusUpdateInput ? -Style.current.halfPadding : 0
|
||||
color: isEdit ? Style.current.secondaryinputBackground : Style.current.inputBackground
|
||||
color: isEdit ? Style.current.secondaryInputBackground : Style.current.inputBackground
|
||||
radius: control.isStatusUpdateInput ? 36 : 16
|
||||
|
||||
Rectangle {
|
||||
@ -861,7 +861,7 @@ Rectangle {
|
||||
placeholderText: qsTrId("type-a-message")
|
||||
placeholderTextColor: Style.current.secondaryText
|
||||
selectByMouse: true
|
||||
color: Style.current.textColor
|
||||
color: isEdit ? Style.current.secondaryInputText : Style.current.textColor
|
||||
topPadding: control.isStatusUpdateInput ? 18 : Style.current.smallPadding
|
||||
bottomPadding: control.isStatusUpdateInput ? 14 : 12
|
||||
Keys.onPressed: onKeyPress(event)
|
||||
|
Loading…
x
Reference in New Issue
Block a user