Files
zeekay d954227524 feat: Lux Design System — tokens, components, brand assets, guidelines
Monochrome, dark by default. One hue rendered through an opacity ladder.
Tokens (color, type, spacing, radius, elevation, motion) + core/forms/navigation/
overlays components + brand guidelines + ui kit. The single source of truth for
every Lux surface — loadable and editable.
2026-07-24 17:21:07 -07:00

11 lines
678 B
TypeScript

/** Pill label. Tier/rank is expressed with the white opacity ladder, never hue. */
export interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
/** tier1/2/3 map to white/5, white/15, white/20 — the rank ladder. error is the only hued variant. */
variant?: 'default' | 'secondary' | 'outline' | 'tier1' | 'tier2' | 'tier3' | 'error';
pill?: boolean;
}
export function Badge(props: BadgeProps): JSX.Element;
export function EyebrowBadge(props: React.HTMLAttributes<HTMLSpanElement>): JSX.Element;
export interface StatusBadgeProps { status?: 'online' | 'idle' | 'error'; label?: string }
export function StatusBadge(props: StatusBadgeProps): JSX.Element;