1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 12:03:18 +02:00

Chat setting view: add darktheme color

GitLab: #1369

Change-Id: I863d13dc924e3e0d12dd92f9fb2b8d48bad051f4
This commit is contained in:
lcoursodon 2023-10-20 16:07:01 -04:00 committed by Sébastien Blin
parent 5f0163df05
commit ae86464658
3 changed files with 10 additions and 9 deletions

View file

@ -846,9 +846,9 @@ Item {
property string enableDonation: qsTr("Enable donation campaign")
//Chat setting page
property string enter: qsTr("ENTER")
property string shiftEnter: qsTr("SHIFT+ENTER")
property string textFormattingDescription: qsTr("ENTER or SHIFT+ENTER to insert a new line")
property string enter: qsTr("Enter")
property string shiftEnter: qsTr("Shift+Enter")
property string textFormattingDescription: qsTr("Enter or Shift+Enter to insert a new line")
property string textFormatting: qsTr("Text formatting")
//Connection monitoring
@ -862,4 +862,5 @@ Item {
property string channels: qsTr("Channels")
property string copyAllData: qsTr("Copy all data")
property string remote: qsTr("Remote: ")
property string view: qsTr("View")
}

View file

@ -674,7 +674,7 @@ Item {
}
//Chat setting page
property color chatSettingButtonBackgroundColor: "#F0EFEF"
property color chatSettingButtonBorderColor: "#005699"
property color chatSettingButtonTextColor: "#000000"
property color chatSettingButtonBackgroundColor: darkTheme ? "#303030" : "#F0EFEF"
property color chatSettingButtonBorderColor: darkTheme ? "#03B9E9" : "#005699"
property color chatSettingButtonTextColor: textColor
}

View file

@ -55,7 +55,7 @@ SettingsPageBase {
Layout.alignment: Qt.AlignLeft
Layout.preferredWidth: parent.width
text: "View"
text: JamiStrings.view
color: JamiTheme.textColor
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
@ -145,7 +145,7 @@ SettingsPageBase {
MaterialRadioButton {
id: enterButton
width: 120
width: 130
height: 40
backgroundColor: JamiTheme.chatSettingButtonBackgroundColor
textColor: JamiTheme.chatSettingButtonTextColor
@ -164,7 +164,7 @@ SettingsPageBase {
MaterialRadioButton {
id: shiftEnterButton
width: 180
width: 210
height: 40
backgroundColor: JamiTheme.chatSettingButtonBackgroundColor
textColor: JamiTheme.chatSettingButtonTextColor