{{- template "document.html" . }} {{- define "document-title" }}Theme settings - {{ .App.Config.Branding.AppName }}{{ end }} {{- define "document-body" }}

Theme

Default theme

Colors are stored as HSL in the YAML, but the picker below shows hex for convenience.

Colors
Tweaks
Cancel
{{/* ── Presets ── */}}

Presets

+ Add preset
{{ if .ThemeSettings.Presets }}
{{ range .ThemeSettings.Presets }}
{{ .PreviewHTML }}
{{ .Key }} Edit
{{ end }}
{{ else }}

No custom presets yet. Add one below or import from the built-in catalog.

{{ end }}
{{/* ── Built-in catalog ── */}}
Built-in theme catalog

Click a theme to open the preset form pre-filled with its colors. You can rename it before saving.

{{ range .ThemeSettings.CatalogThemes }} {{- $cm := "" }}{{- if .CM }}{{- $cm = printf "%g" .CM }}{{ end }} {{- $tsm := "" }}{{- if .TSM }}{{- $tsm = printf "%g" .TSM }}{{ end }} {{- $light := "" }}{{- if .Light }}{{- $light = "true" }}{{ end }}
{{ .PreviewHTML }}
{{ .Name }}
{{ end }}
{{ template "footer.html" . }}
{{- end }}