7 lines
274 B
Plaintext
7 lines
274 B
Plaintext
---
|
|
interface Props { amber?: boolean; accent?: boolean; id?: string; }
|
|
const { amber, accent, ...rest } = Astro.props;
|
|
---
|
|
|
|
<div class:list={['font-mono text-[11px] tracking-[0.08em]', amber ? 'text-amber' : accent ? 'text-accent' : 'text-muted']} {...rest}><slot /></div>
|