make style smarter

This commit is contained in:
lucy 2026-10-11 00:42:58 +02:00
commit aebb29a028
6 changed files with 24 additions and 32 deletions

View file

@ -8,7 +8,7 @@ import qs.settings
Singleton {
id: root
property alias c: colors
property string accent: colors[Config.cfg.appearance.accent]
property color accent: colors[Config.cfg.appearance.accent]
property string font: colors.base05
FileView {
@ -20,22 +20,22 @@ Singleton {
watchChanges: true
adapter: JsonAdapter {
id: colors
property string base00
property string base01
property string base02
property string base03
property string base04
property string base05
property string base06
property string base07
property string base08
property string base09
property string base0A
property string base0B
property string base0C
property string base0D
property string base0E
property string base0F
property color base00
property color base01
property color base02
property color base03
property color base04
property color base05
property color base06
property color base07
property color base08
property color base09
property color base0A
property color base0B
property color base0C
property color base0D
property color base0E
property color base0F
}
}
}