[core/theme] Add support for foreground and background colors
Themes can now define "fg" and "bg" attributes that are used for foreground (text) color and background color. see #23
This commit is contained in:
parent
0c7884d170
commit
c52cb99518
6 changed files with 58 additions and 2 deletions
|
@ -2,6 +2,12 @@
|
|||
"icons": [ "test" ],
|
||||
"defaults": {
|
||||
"prefix": "default-prefix",
|
||||
"suffix": "default-suffix"
|
||||
"suffix": "default-suffix",
|
||||
"fg": "#000000",
|
||||
"bg": "#111111"
|
||||
},
|
||||
"test-widget": {
|
||||
"fg": "#ababab",
|
||||
"bg": "#222222"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue