Change the divider height and color to be more consistent.

Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
Adam Treat 2024-06-27 07:16:11 -04:00 committed by AT
parent 8d6e11fcad
commit a1ec6f2150
8 changed files with 18 additions and 25 deletions

View File

@ -77,7 +77,7 @@ MySettingsTab {
Rectangle {
Layout.fillWidth: true
height: 2
height: 1
color: theme.settingsDivider
}
}
@ -307,7 +307,7 @@ MySettingsTab {
Rectangle {
Layout.fillWidth: true
height: 2
height: 1
color: theme.settingsDivider
}
}
@ -463,7 +463,7 @@ MySettingsTab {
Layout.column: 0
Layout.columnSpan: 3
Layout.fillWidth: true
height: 2
height: 1
color: theme.settingsDivider
}
}

View File

@ -23,7 +23,7 @@ Rectangle {
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.right: parent.right
width: 2
width: 1
color: theme.dividerColor
}
@ -44,8 +44,8 @@ Rectangle {
anchors.right: parent.right
anchors.margins: 20
font.pixelSize: theme.fontSizeLarger
topPadding: 20
bottomPadding: 20
topPadding: 24
bottomPadding: 24
text: qsTr("\uFF0B New chat")
Accessible.description: qsTr("Create a new chat")
onClicked: {
@ -59,7 +59,7 @@ Rectangle {
id: divider
anchors.top: newChat.bottom
anchors.margins: 20
anchors.topMargin: 15
anchors.topMargin: 14
anchors.left: parent.left
anchors.right: parent.right
height: 1

View File

@ -525,7 +525,7 @@ Rectangle {
anchors.left: parent.left
anchors.right: parent.right
color: theme.conversationDivider
height: 2
height: 1
}
CollectionsDrawer {

View File

@ -21,7 +21,7 @@ Rectangle {
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.left: parent.left
width: 2
width: 1
color: theme.dividerColor
}

View File

@ -31,7 +31,7 @@ MySettingsTab {
Rectangle {
Layout.bottomMargin: 15
Layout.fillWidth: true
height: 2
height: 1
color: theme.settingsDivider
}
@ -92,7 +92,7 @@ MySettingsTab {
Rectangle {
Layout.bottomMargin: 15
Layout.fillWidth: true
height: 2
height: 1
color: theme.grayRed500
}
@ -154,7 +154,7 @@ MySettingsTab {
Rectangle {
Layout.bottomMargin: 15
Layout.fillWidth: true
height: 2
height: 1
color: theme.grayRed500
}
@ -184,7 +184,7 @@ MySettingsTab {
Rectangle {
Layout.bottomMargin: 15
Layout.fillWidth: true
height: 2
height: 1
color: theme.settingsDivider
}
@ -254,7 +254,7 @@ MySettingsTab {
Rectangle {
Layout.topMargin: 15
Layout.fillWidth: true
height: 2
height: 1
color: theme.settingsDivider
}
}

View File

@ -38,7 +38,7 @@ MySettingsTab {
Rectangle {
Layout.fillWidth: true
height: 2
height: 1
color: theme.settingsDivider
}
}
@ -803,7 +803,7 @@ MySettingsTab {
Layout.columnSpan: 2
Layout.topMargin: 15
Layout.fillWidth: true
height: 2
height: 1
color: theme.settingsDivider
}
}

View File

@ -57,7 +57,7 @@ Item {
anchors.rightMargin: 15
anchors.left: parent.left
anchors.right: parent.right
height: 2
height: 1
color: theme.settingsDivider
}

View File

@ -195,14 +195,7 @@ QtObject {
}
property color conversationDivider: {
switch (MySettings.chatTheme) {
case "LegacyDark":
return blue900;
case "Dark":
return darkgray100;
default:
return gray100;
}
return dividerColor;
}
property color settingsDivider: {