Register
WorldFlux has one shared visual register across brand and product surfaces: a dark technical control plane with quiet depth. The dashboard should feel dense and precise; login and public evidence pages can be more spacious, but they still use the same token set.Colors
Status Palette
Reserved for product data. Never use these as section backgrounds.Type
Display headings use normal tracking. Body and compact UI text may use subtle negative tracking.
Scale
Geometry
Surfaces
Cards are translucent and use inset blue-gray lighting rather than generic shadows..sb-card-lift is reserved for login, onboarding, and hero panels that need stronger depth.
Tailwind v4 Tokens
The web app defines WorldFlux dashboard tokens inweb/app/globals.css using Tailwind v4’s @theme directive. Color, font, text, leading, tracking, spacing, radius, and shadow namespaces are exposed as first-class Tailwind utilities and runtime CSS variables.
Important namespaces:
--color-*:bg-midnight-abyss,text-comet,border-graphite-rail.--font-*:font-untitled-sans,font-aeonikpro,font-dotdigital.--text-*:text-body,text-heading,text-display-xl, with line-height metadata.--leading-*and--tracking-*: explicit typography utilities.--spacing: keeps Tailwind numeric spacing at a 4px base, sop-4remains 16px.--spacing-element-gap,--spacing-card-padding,--spacing-section-gap: semantic spacing utilities.--radius-*: pill, card, badge, and input radii.--shadow-*: WorldFlux glow and inset-surface elevations.
Buttons
Use
#663af3 sparingly. It should draw the eye only when the action is genuinely important.
Layout
- Base spacing unit: 4px.
- Element gap: about 8px.
- Card padding: about 24px.
- Section gap: about 48px.
- Page max-width: about 1200px for product surfaces.
Motion
Hover and press states are quick: 150ms-200ms withcubic-bezier(0.25, 1, 0.5, 1). prefers-reduced-motion: reduce short-circuits animation.
Anti-Patterns
- Broad saturated gradients.
- Generic drop-shadow stacks.
- Extra accent colors outside product data.
- Flat opaque cards where a translucent surface is expected.
- Display headings with negative tracking.
- Using violet for decoration instead of decisive action.
web/design/app.worldflux.ai/DESIGN.md for the persisted WorldFlux dashboard reference and local token mapping.