[core/theme] Add inline named color support
Add named colors that can be specified directly in the "colors" array within a theme. fixes #556
This commit is contained in:
parent
5134ce3b5b
commit
0751b7c084
2 changed files with 16 additions and 5 deletions
|
@ -1,13 +1,19 @@
|
|||
{
|
||||
"icons": [ "paxy97", "awesome-fonts" ],
|
||||
"colors": [{
|
||||
"fg0": "#fbf1c7",
|
||||
"bg0_h": "#1d2021",
|
||||
"yellow": "#d79921",
|
||||
"red": "#cc241d"
|
||||
}],
|
||||
"defaults": {
|
||||
"warning": {
|
||||
"fg": "#1d2021",
|
||||
"bg": "#d79921"
|
||||
"fg": "bg0_h",
|
||||
"bg": "yellow"
|
||||
},
|
||||
"critical": {
|
||||
"fg": "#fbf1c7",
|
||||
"bg": "#cc241d"
|
||||
"fg": "fg0",
|
||||
"bg": "red"
|
||||
},
|
||||
"default-separators": false,
|
||||
"separator-block-width": 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue