Skip to content
ss-tokens logo

Design Token Manager

ss-tokens

View, add, or modify design tokens in the StyleSeed design system

bitjaru/styleseed0installs967stars

SKILL.md

Full skill instructions

Design Token Manager

Registry-first artifact boundary

When .styleseed/​project.json and .styleseed/​artifacts/​index.json exist, resolve the requested artifact ID first, then read only .styleseed/​bundles/<artifact-id>.md and .styleseed/​manifests/<artifact-id>.json. Never fall back to the global legacy bundle for a registry project. Legacy projects may use .styleseed/​effective-rules.md only when no registry exists.

When NOT to use

  • For applying tokens in components → use /​ss-component or /​ss-pattern
  • For finding token violations in existing code → use /​ss-lint
  • For non-CSS token systems (Figma, native iOS/​Android) — Tailwind v4 / CSS variables only

Action: $0 | Token type: $1 Arguments: $ARGUMENTS

Token File Locations

TypeJSON SourceCSS Implementation
Colorstokens/​colors.jsoncss/​theme.css :root + @theme inline
Typographytokens/​typography.jsoncss/​fonts.css + css/​base.css
Spacingtokens/​spacing.jsonTailwind utilities (no custom CSS needed)
Radiustokens/​radii.jsoncss/​theme.css @theme inline
Shadowstokens/​shadows.jsoncss/​theme.css :root

Instructions

generate color — Derive the system from one key color

Do not pick a second color by eye or copy a preset. Run the shared StyleSeed generator:

node <installed-ss-tokens>/​scripts/​generate-palette.mjs \
  --key-color "#276B5E" \
  --mode light \
  --character calm \
  --harmony auto \
  --temperature neutral \
  --out .styleseed/​palette.json

The generator is bundled inside this skill for skills-only installations and is deterministically mirrored from the canonical engine/​color source during repository generation.

Supported controls are light|dark mode, calm|balanced|vivid|deep character, auto|tonal|adjacent|contrast harmony, and neutral|warm|cool surface temperature. The generator preserves the key hue, maps chroma into sRGB without channel clipping, builds 11-step OKLCH primary/​accent ramps, scores the accent against the key and reserved status hues, maps primitives to semantic roles, and adjusts fill lightness until text/​action/​focus pairs pass.

Use --format css for CSS variables or JSON for an auditable result. Never mark the palette valid unless valid is true and every item in contrast passes. In STYLESEED.md, persist Key color, Palette character, Palette mode, Palette harmony, and Surface temperature, then run $ss-resolve; the resolver emits the same .styleseed/​palette.json and palette.css.

list — Show current tokens

Read and display the requested token file in a formatted table.

add — Add new token

  1. Add the token to the JSON source file (tokens/​*.json)
  2. Add the CSS custom property to css/​theme.css under :root
  3. If it needs a Tailwind utility, add to the @theme inline block
  4. If it has a dark mode variant, add to the .dark block

update — Modify existing token

  1. Update the value in the JSON source file
  2. Update the CSS custom property in theme.css
  3. Check all components for direct usage that might need updating

Rules

  • Always keep JSON and CSS in sync
  • Use semantic names, not descriptive names (--success not --green-500)
  • Colors should support both light and dark modes
  • New tokens must be added to BOTH the JSON source AND the CSS implementation
  • Treat preset recipes as maintained defaults, not the limit of available colors.
  • Character and role allocation are stronger design controls than complementary/​triadic geometry alone.

More skills from bitjaru

ss-copy logo
bitjaru/styleseed

ss-copy

Generate UX microcopy (button labels, error messages, empty states, toasts) following a casual-but-polite voice and tone

967 0
View
ss-lint logo
bitjaru/styleseed

ss-lint

Quick automated lint — detects common design system violations in seconds

967 0
View
ss-feedback logo
bitjaru/styleseed

ss-feedback

Add appropriate user feedback states (loading, success, error, empty) to a component or page

967 0
View
ss-component logo
bitjaru/styleseed

ss-component

Generate a new UI component following the StyleSeed design conventions

967 0
View
ss-pattern logo
bitjaru/styleseed

ss-pattern

Generate a composed UI pattern (card layout, list, form section, grid, etc.) using design system primitives

967 0
View
ss-audit logo
bitjaru/styleseed

ss-audit

Audit screens for UX issues using Nielsen's heuristics and modern mobile UX best practices

967 0
View
ss-setup logo
bitjaru/styleseed

ss-setup

Interactive setup wizard — guides you step-by-step to configure the design system for your project

967 0
View
ss-a11y logo
bitjaru/styleseed

ss-a11y

Audit a component or page for accessibility issues and fix them

967 0
View
ss-flow logo
bitjaru/styleseed

ss-flow

Design user flows and navigation structure following proven UX patterns

967 0
View
ss-update logo
bitjaru/styleseed

ss-update

Update StyleSeed engine in your project — analyzes what's outdated and updates safely

967 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View