Frame Design System

Foundations

Color tokens

#

Light/dark CSS tokens: compare via the moon/sun toggle. Each shows its variable, resolved value, Tailwind class and consumers (expand with the eye).

Surface

bg-page

--color-bg-page

—

bg-bg-page

8 primitives
  • PageLayout
  • SearchBox
  • StepIndicator
  • StatusTag
  • DarkToggle
  • SidebarSectionToggle
  • ConnectorCard
  • ChatPanel

bg-message

--color-bg-message

—

bg-bg-message

7 primitives
  • DarkToggle
  • AgentRequiredHint
  • ChatMessage
  • VoiceWaveform
  • AttachmentChip
  • ChatInput
  • ChatWelcomeState

bg-hover

--color-bg-hover

—

bg-bg-hover

21 primitives
  • SearchBox
  • SectionCount
  • ProgressBar
  • HeaderIconButton
  • MenuRow
  • IconBadge
  • StatusStrip
  • DarkToggle
  • AvatarMenu
  • AddRowButton
  • TextField
  • AutocompleteField
  • Chip
  • SolutionRow
  • ChoiceCard
  • InsightCard
  • TaskProgressCard
  • EmptyState
  • AttachmentChip
  • ChatInput
  • ChatWelcomeState

sidebar

--color-sidebar-bg

—

bg-bg-sidebar

no primitive uses

card-panel

--color-card-panel-bg

—

bg-bg-card

2 primitives
  • ArtifactCard
  • MessageCard

Text

text-primary

--color-text-primary

—

text-text-primary

55 primitives
  • HeaderBar
  • SearchBox
  • SidePanelHeader
  • SideCard
  • ToolbarPill
  • ToolbarIconButton
  • ToolbarSegmented
  • Switch
  • Checkbox
  • SectionCount
  • SectionTitle
  • ProgressBar
  • CategoryBreakdown
  • StepIndicator
  • TertiaryButton
  • GhostPillButton
  • HeaderIconButton
  • IconButton
  • MessageActions
  • MenuRow
  • IconBadge
  • TextButton
  • UserAvatar
  • DarkToggle
  • AvatarMenu
  • TextField
  • AutocompleteField
  • RangeSlider
  • DualRangeSlider
  • NavItem
  • NavShell
  • MiniNavShell
  • SidebarSectionToggle
  • ConnectorCard
  • FilterChip
  • Chip
  • UtilityChip
  • SolutionRow
  • SummaryFooter
  • MetricCard
  • InsightCard
  • AreaChart
  • TaskProgressCard
  • HealthDimensionRow
  • ReviewItemCard
  • ArtifactCard
  • EmptyState
  • VersionRow
  • AgentRequiredHint
  • ChatMessage
  • AttachmentChip
  • ChatInput
  • ChatPanel
  • ChatWelcomeState
  • MessageCard

text-secondary

--color-text-secondary

—

text-text-secondary

24 primitives
  • Switch
  • Checkbox
  • CategoryBreakdown
  • HeaderIconButton
  • MessageActions
  • SegmentedToggle
  • MenuRow
  • StatusStrip
  • TextButton
  • ResourceLinkCard
  • AvatarMenu
  • AddRowButton
  • TextField
  • AutocompleteField
  • RangeSlider
  • DualRangeSlider
  • ConnectorCard
  • ChoiceCard
  • EmptyState
  • VersionRow
  • ChatMessage
  • AttachmentChip
  • ChatInput
  • MessageCard

text-tertiary

--color-text-tertiary

—

text-text-tertiary

5 primitives
  • MenuRow
  • ConnectorCard
  • VersionRow
  • ChatMessage
  • ChatInput

Stroke

stroke-outline

--color-stroke-outline

—

border-stroke-outline

17 primitives
  • ToolbarPill
  • ToolbarSegmented
  • Switch
  • Checkbox
  • StepIndicator
  • StatusTag
  • TertiaryButton
  • GhostPillButton
  • SegmentedToggle
  • AvatarMenu
  • RangeSlider
  • DualRangeSlider
  • ConnectorCard
  • FilterChip
  • Chip
  • UtilityChip
  • ChoiceCard

Selected

selected-bg

--color-selected-bg

—

bg-selected-bg

9 primitives
  • ToolbarSegmented
  • Switch
  • Checkbox
  • IconButton
  • SegmentedToggle
  • FilterChip
  • Chip
  • ChoiceCard
  • ChatMessage

selected-text

--color-selected-text

—

text-selected-text

9 primitives
  • ToolbarSegmented
  • Switch
  • Checkbox
  • IconButton
  • SegmentedToggle
  • FilterChip
  • Chip
  • ChoiceCard
  • ChatMessage

Accent

accent-blue

--color-accent-blue

—

text-accent-blue

5 primitives
  • SampleWorkspaceLabel
  • ResourceLinkCard
  • AgentRequiredHint
  • ChatInput
  • ChatWelcomeState

accent-green

--color-accent-green

—

text-accent-green

1 primitive
  • ChatWelcomeState

accent-red

--color-accent-red

—

text-accent-red

no primitive uses

accent-amber

--color-accent-amber

—

text-accent-amber

no primitive uses

accent-orange

--color-accent-orange

—

text-accent-orange

no primitive uses

accent-violet

--color-accent-violet

—

text-accent-violet

no primitive uses

accent-neutral

--color-accent-neutral

—

text-accent-neutral

no primitive uses

Status

warning

--color-warning

—

text-warning

1 primitive
  • ChatWelcomeState

error

--color-error

—

text-error

3 primitives
  • DangerButton
  • TextField
  • ChatInput

Overlay glass surface

#

Dialogs, dropdowns, menus, popovers, overlay navigation/Inspectors: .overlay-surface couples 50% black + 10px blur in dark (no fill-only utility); light stays opaque. Fill, no default border. Excludes inline panes, canvases, cards, media controls and tooltips.

.overlay-surface

Foreground stays fully opaque — backdrop-filter only touches what is behind.

Computed background

—

Computed backdrop-filter

—

Light mode is unchanged: .overlay-surface keeps the opaque sidebar fill and declares no backdrop-filter at all. Flip the moon to compare.

Brand gradient

#

Three-stop signature gradient — every CTA, app shell, nav highlight and chip-hover border resolves through these stops. Equal-status with color tokens, not a color sub-group.

Stops

start

--brand-grad-start

—

mid

--brand-grad-mid

—

end

--brand-grad-end

—

Utility classes

Gradient text

.gradient-text
.gradient-btn
.chip-gradient-hover
Active nav
.gradient-ring
.app-bg — outer shell background

Typography

#

Use the .type-* helper classes — never hardcode font-size / line-height / letter-spacing. Token change in one place propagates everywhere.

The quick brown fox.type-display-xlDisplay XL — oversized stat
The quick brown fox.type-displayDisplay — page title
The quick brown fox.type-h1--emphasizedH1 emphasized — section banner
The quick brown fox.type-h1H1 — section banner (regular)
The quick brown fox.type-h2-emphasizedH2 emphasized — card title
The quick brown fox.type-h2H2 — header label
The quick brown fox.type-h3H3 — sub-heading
The quick brown fox.type-body-emphasizedBody emphasized — markdown bold
The quick brown fox.type-bodyBody — chat bubble copy
The quick brown fox.type-detail-emphasizedDetail emphasized — list label
The quick brown fox.type-detailDetail — meta description
The quick brown fox.type-captionCaption — meta line / counter
The quick brown fox.type-footnoteFootnote — tooltip / hint

Shadow

#

Sparse on purpose — only two semantic depths plus the gradient-btn lift. Light mode shadows turn into 1px gradient rings on dark canvas (shadows read as muddy glows on dark).

thumb

--shadow-thumb

Slider thumb / draggable knob

Hover me

card-hover

--shadow-card-hover

.card-hover-shadow

Card hover lift (light only — dark uses gradient ring instead)

gradient-btn

.gradient-btn

Brand gradient CTA — internal box-shadow lift on hover/active

Light mode active — toggle the sun/moon to see how dark mode swaps shadows for gradient rings.

Radius

#

Five-step radius scale. The shell radius (40px) is the outer app rounding; pill (9999px) is for tags and gradient CTAs.

sm

--radius-sm

8px

Pills, small cards, inputs

md

--radius-md

12px

Section cards, modal panels

lg

--radius-lg

16px

Composer, chat-input panel

pill

--radius-pill

9999px

Tags, status pills, gradient buttons

shell

--radius-shell

40px

Outer app shell rounded corner

Spacing

#

Use Tailwind spacing scale. Common rhythms: 1.5 (6px), 2 (8px), 3 (12px), 4 (16px), 6 (24px), 8 (32px).

gap-1.56px
gap-28px
gap-312px
gap-416px
gap-624px
gap-832px