Skip to content
Back to skills

Css Design Systems Design Tokens Vanilla

ASecurity

Encode brand decisions as named tokens (CSS variables) consumed by utilities so themes change in one place.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 29, 2026
ai-agentsbashgitfrontend

Works with

  • cli

Security analysis

A100/100

Scanned September 29, 2026

npx -y skills add aniruddhaadak80/skills --skill css-design-systems-design-tokens-vanilla --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Css Design Systems Design Tokens Vanilla?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Css Design Systems Design Tokens Vanilla
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aniruddhaadak80-css-design-systems-design-tokens-vanilla/badge)](https://www.skillsdirectory.com/skills/aniruddhaadak80-css-design-systems-design-tokens-vanilla)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: css-design-systems-design-tokens-vanilla
description: "Encode brand decisions as named tokens (CSS variables) consumed by utilities so themes change in one place."
---
# Set up design tokens for color, space, type (Vanilla CSS)

> Encode brand decisions as named tokens (CSS variables) consumed by utilities so themes change in one place.

**Track:** 🎨 Frontend Engineering · **Domain:** CSS & Design Systems · **Level:** intermediate · **~35 min**

**Who this is for:** Frontend Engineers, Full-Stack Developers, Design Engineers, UI Developers

## When to Use This Skill

Encode brand decisions as named tokens (CSS variables) consumed by utilities so themes change in one place.
Use it whenever a matching task appears in conversation — the agent loads these instructions on demand.

## Steps

1. Define scales: one neutral ramp plus accent ramps, 8px spacing ladder, modular type scale
2. Name by role (bg-surface, text-muted), never by value (gray-3)
3. Expose as CSS variables; map Tailwind colors to var() references
4. Add dark mode by swapping variable values under a media or class hook
5. Lint for raw hex values outside the token file
6. Ship a living style page rendering every token with its name
7. Group tokens in @layer foundation so overrides stay predictable
8. Document contrast pairs (token-on-token) for accessibility

## Common Pitfalls

- Role names that encode light mode assumptions breaking dark theme
- Token sprawl: 40 grays nobody can choose between

## Commands

**Install with skills CLI**
```bash
npx skills add aniruddhaadak80/skills --skill css-design-systems-design-tokens-vanilla
```

**Install globally**
```bash
npx skills add aniruddhaadak80/skills --skill css-design-systems-design-tokens-vanilla -g
```

---

Part of [aniruddhaadak80/skills](https://github.com/aniruddhaadak80/skills) · Browse all at https://skills.sh/aniruddhaadak80/skills

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…