--- /** * StarBurst.astro * --------------------------------------------------------------------------- * A small decorative four-point "sparkle" star (alchemical/star-chart style), * drawn as inline SVG so it inherits `currentColor`. Used as an accent mark * next to headings, in dividers, and as corner flourishes on frames. * * Variants: * - `solid` : filled sparkle (default) * - `outline`: stroke-only, lighter * * Usage: * * */ interface Props { variant?: 'solid' | 'outline'; class?: string; style?: string; } const { variant = 'solid', class: className = '', style = '' } = Astro.props; const fill = variant === 'outline' ? 'none' : 'currentColor'; const sw = variant === 'outline' ? 1.4 : 0; ---