Generate a design-token set (palette / motion / layout)
riv_design_tokensGenerate deterministic design tokens for a Rive scene: accessible palette, gradients, motion easing, spacing, type scale. Use only these values in the scene spec for consistent design.
Instructions
Deterministically generate professional design tokens for a scene BEFORE calling riv_create: an OKLCH-harmonized palette (with WCAG contrast ratios), gradient pairs, Material-Motion-derived durations & easing roles, spacing/radius/stroke scales and a type scale. Call this first, then use ONLY the returned values in the scene spec — never invent raw hex colors or ad-hoc durations. Inputs: optional seed color, mood (calm|playful|elegant|tech|warm|natural), scheme (dark|light).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mood | No | ||
| seed | No | Brand/seed color #RRGGBB (optional; mood default hue otherwise) | |
| scheme | No | Default dark |