Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.worldflux.ai/llms.txt

Use this file to discover all available pages before exploring further.

Register

Two registers share one set of tokens.
RegisterWhereVoice
BrandLanding, login, signup, public share, 404Domaine serif at display sizes. One announcement pill above the headline. The terminal panel is the hero illustration.
ProductDashboard interior, settings, run detailInter throughout. No serif. Tables, hairline cards, no decoration. The status palette only ever shows up inside data rows.

Colors

TokenHexRole
--void-black#000000Page canvas, card backgrounds. The dominant surface.
--graphite-rail#292d301px component borders. The only divider treatment.
--smoke#464a4dStrong border on hover.
--frost#f0f0f0The single high-contrast text color.
--mist#abafb4Secondary UI text.
--fog#a1a4a5Muted body text.
--ash#6c6c6cTertiary text, badge labels.
--electric-blue#3b9effThe ring on the primary outlined CTA. The only chromatic action signal.
--resend-violet#9281f7Code identity, email syntax, brand mark gradient. Stays inside product UI.

Status palette (six only)

Reserved for product data. Never section backgrounds, never decoration.
TokenHexMeaning
--ok (delivered green)#3ad389Run succeeded.
--info (opened blue)#70b8ffRun in progress.
--warn (complained yellow)#ffca16Quota above 80%.
--danger (bounced red)#ff9592Run failed.
--click (clicked lavender)#baa7ffClick-tracking events.
--brand (resend violet)#9281f7Code identity.

Type

FamilyWhereWeights
InterAll UI chrome: nav, buttons, tables, forms.400, 500, 600
DM Serif Display (Domaine substitute)Hero headlines on brand surfaces only.400
JetBrains Mono (CommitMono substitute)Code, badge labels, run ids, filenames.400, 500

Scale

TokenSizeWhere
--fs-2xs12pxCaptions, code labels, mono eyebrows.
--fs-sm14pxBody small, table rows.
--fs-base16pxBody.
--fs-md18pxSubheading.
--fs-lg20pxCard heading.
--fs-xl24pxSection heading.
--fs-2xl40pxPage title.
--fs-3xl56pxBrand-surface heading.
--fs-hero77pxDomaine display.

Geometry

ElementRadius
Button (CTA / outline / ghost / danger)6px
Input6px
Card16px
Container (panel, alert)12px
Tag10px
Announcement pill9999px
Status dot9999px
Cards and panels do not lift with shadow. Elevation is one 1px graphite hairline against the void.

Buttons

VariantWhenLook
sb-button-primaryThe single most-important action on a screen.Transparent fill, 1px Electric Blue border, white label.
sb-button-outlineTertiary structure.Transparent fill, 1px graphite border.
sb-button-ghostInline secondary action next to a primary.No fill, no border, frost label.
sb-button-dangerDestructive.Transparent fill, 1px bounced-red border.
sb-button-pillHeader chip (e.g. “Log out”).Translucent surface, 1px graphite border.
A filled colored button is not in the system. The Electric Blue ring carries every primary CTA.

Cards

.sb-card {
  border: 1px solid var(--graphite-rail);
  border-radius: 16px;
  background: var(--surface-2); /* near-black */
}
.sb-card-lift adds a barely-perceptible top-down gradient on top of .sb-card. Used for hero panels (auth form, onboarding wizard, billing plan).

Layout

  • Page max-width: 1200px.
  • Section gap: 80–120px.
  • Card padding: 28–32px.
  • Element gap: 16px.

Motion

Animations are functional. The defaults are 150ms hover, 200ms component transitions, ease curve cubic-bezier(0.25, 1, 0.5, 1). Ease-out, never symmetric. The hero text uses sb-fade-up (8px translate + opacity, 360ms). prefers-reduced-motion: reduce short-circuits every animation to 0.01ms.

Anti-patterns

  • A filled blue or violet button.
  • A second saturated decorative color.
  • A drop shadow on a card.
  • A serif on a UI label.
  • A status color used as section background.
  • Positive letter-spacing on display text.