package configview import "github.com/tigorlazuardi/redmage/views" import "github.com/tigorlazuardi/redmage/views/components" templ Config(c *views.Context) { @components.Doctype() { @components.Head(c, components.HeadTitle("Redmage - Config")) @components.Body(c) { @ConfigContent(c) } } } templ ConfigContent(c *views.Context) {
@components.Container() {

Config

Site Theme

@SelectThemeInput() }
} templ SelectThemeInput() {
@themeRadio("default", "System (Default)") @themeRadio("light", "Light") @themeRadio("dark", "Dark") @themeRadio("acid", "Acid") @themeRadio("aqua", "Aqua") @themeRadio("autumn", "Autumn") @themeRadio("black", "Black") @themeRadio("bumblebee", "Bumblebee") @themeRadio("business", "Business") @themeRadio("cmyk", "CMYK") @themeRadio("coffee", "Coffee") @themeRadio("corporate", "Corporate") @themeRadio("cupcake", "Cupcake") @themeRadio("cyberpunk", "Cyberpunk") @themeRadio("dim", "Dim") @themeRadio("dracula", "Dracula") @themeRadio("emerald", "Emerald") @themeRadio("fantasy", "Fantasy") @themeRadio("forest", "Forest") @themeRadio("garden", "Garden") @themeRadio("halloween", "Halloween") @themeRadio("lemonade", "Lemonade") @themeRadio("lofi", "Lo-Fi") @themeRadio("luxury", "Luxury") @themeRadio("night", "Night") @themeRadio("nord", "Nord") @themeRadio("pastel", "Pastel") @themeRadio("retro", "Retro") @themeRadio("sunset", "Sunset") @themeRadio("synthwave", "Synthwave") @themeRadio("valentine", "Valentine") @themeRadio("winter", "Winter") @themeRadio("wireframe", "Wireframe")
} templ themeRadio(value, display string) {
}