BreezeStyleSheets/template/icons.json

164 lines
4.6 KiB
JSON
Raw Normal View History

// NOTE: This is a custom JSON file, where lines leading
// with `//` are removed. No other comments are valid.
{
// There's 3 different ways to provide valid replacement colors for
// icons:
// 1. Provide a dict of the icon suffix to the color replacements.
// This will do index-based replacement, so, for example,
// `"down_arrow": { "default": ["foreground"] }` will
// replace the `down_arrow` template and create an icon
// named `down_arrow.svg` with `^0^` replaced by the
// theme's foreground color.
// 2. Provide a list to the color replacements.
// This will do name-based replacement, so, for example,
// `"down_arrow": ["foreground"]` will replace the
// `down_arrow` template and create an icon named
// `down_arrow.svg` with `^foreground^` replaced by
// the theme's foreground color.
// 3. Don't provide an entry for the icon.
// The replacements will be auto-deduced from the file,
// and will use name-based replacement like above.
// Arrows
"down_arrow": {
"default": ["foreground:hex", "foreground:opacity"],
"hover": ["highlight:hex", "highlight:opacity"],
"disabled": ["midtone:light:hex", "midtone:light:opacity"]
},
"left_arrow": {
"default": ["foreground"],
"disabled": ["midtone:light"]
},
"right_arrow": {
"default": ["foreground"],
"disabled": ["midtone:light"]
},
"up_arrow": {
"default": ["foreground:hex", "foreground:opacity"],
"hover": ["highlight:hex", "highlight:opacity"],
"disabled": ["midtone:light:hex", "midtone:light:opacity"]
},
// Abstract buttons.
"checkbox_checked": {
"default": ["checkbox:light"],
"disabled": ["checkbox:disabled"]
},
"checkbox_indeterminate": {
"default": ["checkbox:light"],
"disabled": ["checkbox:disabled"]
},
"checkbox_unchecked": {
"default": ["checkbox:light"],
"disabled": ["checkbox:disabled"]
},
"radio_checked": {
"default": ["checkbox:light"],
"disabled": ["checkbox:disabled"]
},
"radio_unchecked": {
"default": ["checkbox:light"],
"disabled": ["checkbox:disabled"]
},
// Dock/Tab widgets
"close": {
"default": ["midtone:dark:hex", "midtone:dark:opacity"],
"hover": ["close:hover:hex", "close:hover:opacity"],
"pressed": ["close:pressed:hex", "close:pressed:opacity"]
},
"undock": {
"default": ["dock:float"]
},
"undock_hover": {
"default": ["dock:float", "foreground"]
},
// Tree views.
"branch_open": {
"default": ["tree:hex", "tree:opacity"],
"hover": ["highlight:hex", "highlight:opacity"]
},
"branch_closed": {
"default": ["tree:hex", "tree:opacity"],
"hover": ["highlight:hex", "highlight:opacity"]
},
"branch_end": {
"default": ["tree"]
},
"branch_end_arrow": {
"default": ["tree"]
},
"branch_more": {
"default": ["tree"]
},
"branch_more_arrow": {
"default": ["tree"]
},
"vline": {
"default": ["tree"]
},
"calendar_next": {
"default": ["foreground"]
},
"calendar_previous": {
"default": ["foreground"]
},
"transparent": {
"default": []
},
"hmovetoolbar": {
"default": ["midtone:light"]
},
"vmovetoolbar": {
"default": ["midtone:light"]
},
"hseptoolbar": {
"default": ["midtone:light"]
},
"vseptoolbar": {
"default": ["midtone:light"]
},
"sizegrip": {
"default": ["midtone:light"]
},
// Dialog icons
"dialog-cancel": {
"default": ["foreground"]
},
"dialog-close": {
"default": ["foreground"]
},
"dialog-ok": {
"default": ["foreground"]
},
"dialog-open": {
"default": ["foreground"]
},
"dialog-save": {
"default": ["foreground"]
},
"dialog-reset": {
"default": ["foreground"]
},
"dialog-help": {
"default": ["foreground"]
},
"dialog-no": {
"default": ["foreground"]
},
"dialog-discard": {
"default": ["foreground"]
},
// Message icons
"message-critical": {
"default": ["critical", "foreground"]
},
"message-information": {
"default": ["information", "foreground"]
},
"message-question": {
"default": ["question", "foreground"]
},
"message-warning": {
"default": ["warning", "foreground"]
}
}