@compounderdev/inferenceui-tokens
v0.1.0
Published
Design tokens for InferenceUI — the open-source UI language for compute markets.
Downloads
30
Readme
@compounderdev/inferenceui-tokens
Design tokens for InferenceUI. A single CSS file shipping the surface stack, foreground stack, line palette, accent system, semantic up/down colors, radius scale, shadow tokens, and motion timings used by every InferenceUI component.
Install
bun add @compounderdev/inferenceui-tokensUsage
Import once in your app's global stylesheet (above any consumer styles):
@import "@compounderdev/inferenceui-tokens/tokens.css";Or in JavaScript / TypeScript entry points:
import "@compounderdev/inferenceui-tokens/tokens.css";What you get
--surface-0through--surface-3— page → raised surface stack--fg,--fg-muted,--fg-subtle,--fg-disabled— foreground tiers--line-subtle,--line,--line-strong— hairline borders--accent,--accent-soft,--accent-foreground— single brand accent--data-up,--data-down,--data-info,--data-warn— outcome semantics--shadow-card,--shadow-card-hover,--shadow-pop— elevation--radius,--radius-sm/md/lg/xl— corner system (12px base)--duration-instant/--duration-swift/--duration-smooth/--duration-elevate— motion timings--ease-out-quint— easing curve
Light is the default. Dark mode is opt-in via [data-mode="dark"] on <html>.
License
MIT
