themes-y2k/button_override.templ
Alex Dunmow 49f9c90589 initial: theme plugin y2k
Bootstrapped during the 2026-06-06 BlockNinja consolidation. Was previously
an unversioned directory inside ~/src/blockninja-themes/y2k.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-06 14:11:46 +08:00

10 lines
328 B
Plaintext

package main
// y2kButtonComponent renders the plastic-bevel button. The 3D bevel + inset
// active state are owned by .y2k-button in css.go (UAT 13.9).
templ y2kButtonComponent(data Y2KButtonData) {
<a href={ templ.SafeURL(data.URL) } class={ "y2k-button", data.Class } data-variant={ data.Variant }>
{ data.Text }
</a>
}