27 lines
620 B
YAML
27 lines
620 B
YAML
# Describes the format for available frontend services
|
|
|
|
set_theme:
|
|
name: Set theme
|
|
description: Set a theme unless the client selected per-device theme.
|
|
fields:
|
|
name:
|
|
name: Name
|
|
description: Name of a predefined theme, 'default' or 'none'.
|
|
required: true
|
|
example: "default"
|
|
selector:
|
|
text:
|
|
mode:
|
|
name: Mode
|
|
description: The mode the theme is for.
|
|
default: "light"
|
|
selector:
|
|
select:
|
|
options:
|
|
- "dark"
|
|
- "light"
|
|
|
|
reload_themes:
|
|
name: Reload themes
|
|
description: Reload themes from YAML configuration.
|