BreezeStyleSheets/template/icons.json

167 lines
4.9 KiB
JSON

// 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:hex", "foreground:opacity"],
"hover": ["highlight:hex", "highlight:opacity"],
"disabled": ["midtone:light:hex", "midtone:light:opacity"]
},
"right_arrow": {
"default": ["foreground:hex", "foreground:opacity"],
"hover": ["highlight:hex", "highlight:opacity"],
"disabled": ["midtone:light:hex", "midtone:light:opacity"]
},
"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": ["highlight:dark:hex", "highlight:dark:opacity"]
},
"undock": {
"default": ["dock:float:hex", "dock:float:opacity"]
},
"undock_hover": {
"default": ["close:hover:hex", "close:hover:opacity"],
"pressed": ["highlight:dark:hex", "highlight:dark:opacity"]
},
// 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"]
}
}