mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-08-09 11:57:23 +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
|
topPadding: 15
|
||||||
bottomPadding: 5
|
bottomPadding: 5
|
||||||
text: parent.section
|
text: parent.section
|
||||||
color: theme.styledTextColor
|
color: theme.chatDrawerSectionHeader
|
||||||
font.pixelSize: theme.fontSizeLarge
|
font.pixelSize: theme.fontSizeSmaller
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -65,6 +65,7 @@ QtObject {
|
|||||||
property color green950: Qt.hsla(125/360, 0.22, 0.10)
|
property color green950: Qt.hsla(125/360, 0.22, 0.10)
|
||||||
|
|
||||||
// yellow
|
// 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 yellow25: Qt.hsla(47/360, 0.90, 0.98)
|
||||||
property color yellow50: Qt.hsla(47/360, 0.90, 0.96)
|
property color yellow50: Qt.hsla(47/360, 0.90, 0.96)
|
||||||
property color yellow100: Qt.hsla(46/360, 0.89, 0.89)
|
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: {
|
property color dialogBorder: {
|
||||||
switch (MySettings.chatTheme) {
|
switch (MySettings.chatTheme) {
|
||||||
case "LegacyDark":
|
case "LegacyDark":
|
||||||
|
Loading…
Reference in New Issue
Block a user