Storage prefix: zfb-tailwind-example-tokens

Status surfaces demo

Status surfaces demo for sub-issue #132. Covers alerts, badges, tags/chips, and tooltips — all driven by semantic color tokens color-accent, color-success, color-warning, color-danger.

Alerts / callouts

Each variant uses a semantic color token for background, text, and border. Token contract: bg-accent / bg-success / bg-warning / bg-danger with text-bg text and matching border-* outline. Padding: px-hsp-md py-vsp-md. Corners: rounded-md.

Info: uses bg-accent, text-bg, border-accent. Token: color-accent.
Success: uses bg-success, text-bg, border-success. Token: color-success.
Warning: uses bg-warning, text-bg, border-warning. Token: color-warning.
Danger: uses bg-danger, text-bg, border-danger. Token: color-danger.

Badges

Filled badges: bg-{color} + text-bg. Outlined badges: border-{color} + text-{color}. Both use px-hsp-xs, rounded-md, text-helper. Vertical padding py-[0.125rem] is below vsp-xs granularity — local exception per G4 row 5.

Filled

accentsuccesswarningdanger

Outlined

accentsuccesswarningdanger

Tags / chips

Container: inline-flex items-center gap-hsp-xs bg-surface text-fg + px-hsp-sm py-vsp-xs rounded-md text-helper border border-muted. Close button: text-muted hover:text-danger.

DesignTokensTailwindCSS Vars

Tooltips

Hover over the annotated terms. Bubble: bg-surface, text-fg, border-muted, rounded-md, px-hsp-sm py-vsp-xs, text-helper. Opacity transition uses easing-tab-open (--zfbtw-easing-tab-open). Implementation: position: absolute with translateX(-50%) on the sibling bubble span.

Token panel adjusts hsp-md / vsp-md--zfbtw-hsp-md / --zfbtw-vsp-md (default 1rem) live in the browser.Colors follow the three-tier strategypalette → semantic → component design-token model.Easing uses the easing-tab-opencubic-bezier(0.42, 0, 1, 1) semantic role.