themes-cyberpunk/text_override.templ
Alex Dunmow 313ebaf296 initial: theme plugin cyberpunk
Bootstrapped during the 2026-06-06 BlockNinja consolidation. Was previously
an unversioned directory inside ~/src/blockninja-themes/cyberpunk.

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

13 lines
438 B
Plaintext

package main
// cyberpunkTextComponent renders the override for the built-in text block:
// shadcn `prose` invert with cyberpunk leading and accent inline code.
templ cyberpunkTextComponent(text, class string) {
<div
class={ "cyberpunk-prose prose prose-invert max-w-none leading-relaxed", class }
style="color: hsl(var(--foreground)); font-family: var(--font-body, 'Inter', system-ui, sans-serif);"
>
@templ.Raw(text)
</div>
}