mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-10 01:10:35 +00:00
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:
parent
f8a935d8a6
commit
88f5face2b
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user