Skip to content
Back to skills

Frontend Design Design Token System

ASecurity

Define semantic, scalable design tokens and component token boundaries instead of hardcoded visual values.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 2, 2026
designgoapifrontend

Works with

  • api

Security analysis

A100/100

Scanned October 2, 2026

npx -y skills add janpereira-dev/ngAutoPilot --skill frontend--design--design-token-system --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Frontend Design Design Token System?

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

Security grade badge for Frontend  Design  Design Token System
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/janpereira-dev-frontend-design-design-token-system/badge)](https://www.skillsdirectory.com/skills/janpereira-dev-frontend-design-design-token-system)

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
---
id: frontend.design.design-token-system
name: Design Token System
description: Define semantic, scalable design tokens and component token boundaries instead of hardcoded visual values.
stack:
  - Frontend
  - CSS
  - Design Systems
category: design-system
status: stable
version: 0.10.0
owner: NgAutoPilot
triggers:
  - design tokens
  - CSS variables
  - theme architecture
  - component tokens
---

# Design Token System

## Purpose

Create token contracts that encode semantic purpose, theming, ownership, and controlled component variation.

## When to Use

- Repeated hardcoded values cause visual drift or themes, brands, density, or contrast modes are needed.
- A component library needs stable styling extension points.

## Do

- Separate primitives from semantic roles and define component tokens only for intentional local variation.
- Cover surface, text, border, action, status, focus, disabled, type, spacing, radius, elevation, and motion roles.
- Define naming, fallback, versioning, deprecation, contrast, and state-coverage policy.

## Do Not

- Do not create a token for every isolated value or expose palette names as component APIs.
- Do not mix primitive and semantic levels in consumer contracts or bypass accessibility states with overrides.

## Review Checklist

- [ ] Critical component states contain no unexplained hardcoded values.
- [ ] Token names describe purpose and themes do not require template changes.
- [ ] Component extension points are explicit and safe.

## Expected Output

1. Taxonomy, naming convention, and theme mapping.
2. Component-token, migration, and deprecation policy.
3. State and contrast validation evidence.

## References

- [Design Excellence Guide](../../../../docs/design-excellence-guide.md)

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…