package main
// buttonVariantStyle returns inline style overrides per variant.
func buttonVariantStyle(variant string) string {
switch variant {
case "secondary":
return "background-color: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); border-color: hsl(var(--primary));"
case "ghost":
return "background-color: transparent; color: hsl(var(--foreground)); border-color: hsl(var(--primary));"
default:
return "background-color: hsl(var(--foreground)); color: hsl(var(--background)); border-color: hsl(var(--primary));"
}
}
// artDecoButtonComponent renders the black-pill button with stamped hover state.
templ artDecoButtonComponent(data ButtonOverrideData) {
if data.URL != "" {
{ data.Label }
} else {
}
}