@liquidaria/tokens
v0.3.0
Published
CSS design tokens for the [Liquidaria Design System](https://github.com/ericfreitas/liquidaria).
Downloads
295
Readme
@liquidaria/tokens
CSS design tokens for the Liquidaria Design System.
Installation
npm install @liquidaria/tokens
# or
pnpm add @liquidaria/tokensUsage
Import once at your app entry point. All tokens are exposed as CSS custom properties on :root.
import '@liquidaria/tokens'Or import the CSS file directly:
@import '@liquidaria/tokens/css';Token reference
Colors — Brand
--brand-50 … --brand-900 /* blue scale */
--brand-ink /* deepest brand ink */Colors — Neutrals
--ink-0 … --ink-1000 /* cool-leaning neutral scale */Colors — Semantic
--success-50 … --success-700
--warning-50 … --warning-700
--danger-50 … --danger-700
--info-50 … --info-700Colors — Surface & Glass
--bg /* page background */
--bg-elev /* elevated surface (cards) */
--fg /* primary foreground */
--fg-muted /* secondary foreground */
--fg-subtle /* tertiary foreground */
--border /* default border */
--border-strong
--glass-frost /* glass surface fill */
--glass-edge /* glass border */Elevation
--shadow-1 … --shadow-4
--shadow-glassTypography
--font-sans /* Geist */
--font-mono /* Geist Mono */
--font-serif /* Newsreader */Motion
--dur-1 --dur-2 --dur-3
--ease-out --ease-springToken source of truth
src/colors_and_type.css is the authoritative copy. When tokens change here, the copy at liquidaria-marketplace/plugins/liquidaria-ds/colors_and_type.css must be updated manually.
