css-design-tokens

Define CSS design tokens for colors, spacing, typography, and theming.

1|Updated Nov 4, 2025
One-click install
npx skills add https://github.com/alongor666/daylyreport --skill css-design-tokens
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: css-design-tokens
Source: https://github.com/alongor666/daylyreport/tree/main/.claude/skills/css-design-tokens
Command: npx skills add https://github.com/alongor666/daylyreport --skill css-design-tokens

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Teams struggle to maintain a consistent look across vehicle insurance UI without a centralized design system. This Skill provides a CSS design tokens and color system to standardize colors, spacing, and typography.

Core Features & Use Cases

  • Design token definitions: color palette, spacing scale, typography scale
  • CSS variables examples for charts, status colors, and surfaces
  • Theming support with primary, neutral, and surface tokens
  • Use Case: Apply tokens.css to a new UI to instantly align colors, spacing, and typography.

Quick Start

Import the tokens CSS into your project and start using tokens like --chart-primary-blue, --space-4, and --text-base.

Frequently Asked Questions about css-design-tokens

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

FAQPage Schema
How do I set up a consistent design token system for CSS across my UI project?

Design tokens are predefined CSS variables that standardize colors, spacing, typography, and other visual properties across your interface. This Skill provides a complete token system—including color palettes, spacing grids, typography scales, and border radii—that you import as CSS and apply instantly to maintain visual consistency without rebuilding styles for each component.

What CSS variables should I use for a vehicle insurance dashboard color system?

The Skill defines semantic CSS variables for charts (--chart-primary-blue), status indicators, neutral tones, and primary brand colors, plus surface and shadow tokens. These map high-level design intent to concrete values, so you reference --chart-primary-blue instead of hex codes, making theme updates and multi-color support automatic across dashboards and charts.

Can I apply a theming system to multiple UI components using CSS variables?

Yes. This Skill includes theming support through primary, neutral, and surface token groups defined as CSS variables. Import the tokens file into your project and reference tokens like --space-4 for spacing or --text-base for typography; the entire theme updates when token values change, so all linked components reflect the new design instantly.

How do I structure a spacing grid and typography scale in CSS?

Design tokens organize spacing on a 4px grid (--space-4, --space-8, etc.) and typography into multi-level scales, each as a CSS variable. This Skill provides the complete scale definitions and usage examples, so you apply --space-4 for margins and --text-base for font sizes without calculating values manually or losing consistency across pages.

What's included in a design token documentation for implementing colors and spacing?

This Skill delivers comprehensive documentation with usage examples for color palettes, spacing tokens, typography scales, border radii, surfaces, and shadows. Each token maps to a specific CSS variable, so developers can reference the docs to find --status-error or --surface-elevated and apply it directly without guessing hex codes or pixel values.