ui-tokens

Align JSON design tokens with CSS variables across light and dark modes.

Updated Apr 22, 2026
One-click install
npx skills add https://github.com/anonymouswhite07/Portfolio-v1 --skill ui-tokens
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-tokens
Source: https://github.com/anonymouswhite07/Portfolio-v1/tree/main/.agents/skills/ui-tokens
Command: npx skills add https://github.com/anonymouswhite07/Portfolio-v1 --skill ui-tokens

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

List, add, and update StyleSeed design tokens while keeping JSON sources, CSS variables, and dark-mode values in sync.

Core Features & Use Cases

  • Inventory current tokens across JSON and CSS
  • Add, update, and propagate token changes to ensure consistency
  • Use case: maintain alignment between token definitions in tokens/ and CSS theme files across light and dark modes

Quick Start

Add a new color token named color-primary and propagate the update to the corresponding CSS variables.

Frequently Asked Questions about ui-tokens

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep design tokens in sync across JSON and CSS variables?

To keep design tokens in sync, you can inventory current values and perform add or update actions that propagate changes across JSON sources and CSS variables. This prevents drift and ensures a unified design system.

What is the best way to manage dark-mode variants for CSS variables in a design system?

Managing dark-mode variants involves aligning color and shadow tokens across light and dark themes. You update the token definitions and propagate those changes to ensure dark-mode CSS variables remain consistent with the JSON source.

How do I add a new color token and update corresponding CSS variables?

You add a new color token by defining it in the source and propagating the update to corresponding CSS variables. This action ensures the new token is validated for consistency across the implementation.

Does this token alignment approach work with typography and spacing values?

Yes, token alignment works with typography and spacing values. The process inventories current tokens across these categories and applies updates to keep JSON sources and CSS variables perfectly matched.

Why do my design system tokens drift between JSON definitions and CSS files?

Tokens drift when JSON definitions and CSS variables are updated independently without synchronization. Validating consistency after performing add or update actions prevents this drift and maintains a unified design system.