Generate a design-token set (palette / motion / layout)
riv_design_tokensGenerate deterministic design tokens for Rive scenes: OKLCH palettes with WCAG contrast, gradients, motion, spacing, and type scales. Use these returned values when building the scene.
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 |