Change section headers to be lighter and smaller as per Vincent.

Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
Adam Treat 2024-06-26 13:48:02 -04:00
parent f8a935d8a6
commit 88f5face2b
2 changed files with 14 additions and 2 deletions

View File

@ -109,8 +109,8 @@ Rectangle {
topPadding: 15
bottomPadding: 5
text: parent.section
color: theme.styledTextColor
font.pixelSize: theme.fontSizeLarge
color: theme.chatDrawerSectionHeader
font.pixelSize: theme.fontSizeSmaller
}
}
}

View File

@ -65,6 +65,7 @@ QtObject {
property color green950: Qt.hsla(125/360, 0.22, 0.10)
// yellow
property color yellow0: Qt.hsla(47/360, 0.90, 0.99)
property color yellow25: Qt.hsla(47/360, 0.90, 0.98)
property color yellow50: Qt.hsla(47/360, 0.90, 0.96)
property color yellow100: Qt.hsla(46/360, 0.89, 0.89)
@ -980,6 +981,17 @@ QtObject {
}
}
property color chatDrawerSectionHeader: {
switch (MySettings.chatTheme) {
case "LegacyDark":
return purple50
case "Dark":
return yellow0
default:
return grayRed800;
}
}
property color dialogBorder: {
switch (MySettings.chatTheme) {
case "LegacyDark":