2017-07-13 01:08:13 +00:00
|
|
|
# Describes the format for available frontend services
|
|
|
|
|
|
|
|
set_theme:
|
2021-04-26 13:36:36 +00:00
|
|
|
name: Set theme
|
2017-07-13 01:08:13 +00:00
|
|
|
description: Set a theme unless the client selected per-device theme.
|
|
|
|
fields:
|
|
|
|
name:
|
2022-03-29 00:17:16 +00:00
|
|
|
name: Theme
|
|
|
|
description: Name of a predefined theme
|
2021-04-26 13:36:36 +00:00
|
|
|
required: true
|
2020-09-27 10:51:41 +00:00
|
|
|
example: "default"
|
2021-04-26 13:36:36 +00:00
|
|
|
selector:
|
2022-03-29 00:17:16 +00:00
|
|
|
theme:
|
2020-08-05 15:42:23 +00:00
|
|
|
mode:
|
2021-04-26 13:36:36 +00:00
|
|
|
name: Mode
|
2021-05-25 12:45:17 +00:00
|
|
|
description: The mode the theme is for.
|
2021-04-26 13:36:36 +00:00
|
|
|
default: "light"
|
|
|
|
selector:
|
2021-05-03 04:07:26 +00:00
|
|
|
select:
|
|
|
|
options:
|
2022-03-29 00:17:16 +00:00
|
|
|
- label: "Dark"
|
|
|
|
value: "dark"
|
|
|
|
- label: "Light"
|
|
|
|
value: "light"
|
2017-07-13 01:08:13 +00:00
|
|
|
|
|
|
|
reload_themes:
|
2021-04-26 13:36:36 +00:00
|
|
|
name: Reload themes
|
2021-02-04 00:43:07 +00:00
|
|
|
description: Reload themes from YAML configuration.
|