themes-gotham/text_override.templ

9 lines
236 B
Plaintext

package main
// gothamTextComponent renders text with Gotham's dark theme styling.
templ gothamTextComponent(text, class string) {
<div class={ "prose prose-invert prose-amber max-w-none flex-1", class }>
@templ.Raw(text)
</div>
}