Skip to content

Ship the staged .sf-btn component system (currently commented out until v0.8) #493

Description

@jackgranatowski

Finding

optional/components.css is headed "STAGED — all definitions are commented out until v0.8." The entire .sf-btn block (variants: default/secondary/ghost/primary/neutral/success/warning/info/danger, plus --block/--block-cq, disabled/loading states) is fully written but inert — none of it ships in 0.x.

What's actually live today is only the generic native-element styling in optional/forms.css:129-175 — a single unstyled-ish look for button/input[type=submit|reset|button] using --sf-color-action, no variants at all.

Why this matters

This is more fundamental than any single missing button variant (see #486, which assumed the fill-variant system was already live and only proposed adding outline). Right now there is no button component system shipping at all — just a bare native-element default.

Scope

  • Decide/confirm the path to activating optional/components.css's .sf-btn block for v0.8 (uncomment, verify against current token names — some referenced tokens like --sf-color-action--hover should be checked for drift since the block was written).
  • Once live, Add outline button variant(s) #486 (outline variant) becomes a natural follow-up rather than a prerequisite-less feature.
  • Needs docs/llm-guide.md + docs/components.md updates per repo CLAUDE.md token-doc rules once shipped.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions