elite-frontend-ux-2-design-token-system

Sub-skill of elite-frontend-ux: 2. Design Token System.

5 stars

Best use case

elite-frontend-ux-2-design-token-system is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Sub-skill of elite-frontend-ux: 2. Design Token System.

Teams using elite-frontend-ux-2-design-token-system should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/2-design-token-system/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/_archive/development/elite-frontend-ux/2-design-token-system/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/2-design-token-system/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How elite-frontend-ux-2-design-token-system Compares

Feature / Agentelite-frontend-ux-2-design-token-systemStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Sub-skill of elite-frontend-ux: 2. Design Token System.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 2. Design Token System

## 2. Design Token System


Always open the implementation with these CSS variables. Never eyeball spacing or
pick arbitrary colors.

```css
:root {
  /* Typography */
  --font-size-xs:   0.75rem;    /* 12px — captions, labels */
  --font-size-sm:   0.875rem;   /* 14px — secondary text */
  --font-size-base: 1rem;       /* 16px — body (MINIMUM mobile) */
  --font-size-lg:   1.125rem;   /* 18px — lead paragraphs */
  --font-size-xl:   1.25rem;    /* 20px — H4 */
  --font-size-2xl:  1.5rem;     /* 24px — H3 */
  --font-size-3xl:  2rem;       /* 32px — H2 */
  --font-size-4xl:  2.5rem;     /* 40px — H1 */
  --font-size-5xl:  3.5rem;     /* 56px — Display */

  /* Spacing (8px base) */
  --space-1:  0.25rem;  /* 4px */
  --space-2:  0.5rem;   /* 8px */
  --space-4:  1rem;     /* 16px */
  --space-6:  1.5rem;   /* 24px */
  --space-8:  2rem;     /* 32px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px — section gaps */
  --space-32: 8rem;     /* 128px — major section gaps */

  /* Colors (HSL for easy dark mode) */
  --background: 0 0% 100%;
  --foreground: 222 47% 11%;
  --primary: 222 47% 11%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96%;
  --secondary-foreground: 222 47% 11%;
  --muted: 210 40% 96%;
  --muted-foreground: 215 16% 47%;
  --border: 214 32% 91%;
  --ring: 222 47% 11%;
  --destructive: 0 84% 60%;
  --success: 142 76% 36%;
  --warning: 38 92% 50%;
  --radius: 0.5rem;

  /* Animation */
  --duration-fast:   100ms;
  --duration-normal: 200ms;
  --duration-slow:   300ms;
  --ease-default:    cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:        cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce:     cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dark {
  --background: 222 47% 4%;
  --foreground: 210 40% 98%;
  --border: 217 33% 17%;
  --muted: 217 33% 17%;
  --muted-foreground: 215 20% 65%;
}
```

**Typography rules:**
- Line height: 1.5–1.6 body, 1.1–1.2 headings
- Line length: 45–75 chars (`max-w-prose` or `max-w-2xl`)
- Max 2–3 typefaces per design
- NEVER use Inter/Roboto/Arial as primary (overused)
- PAIR: one distinctive display font + one refined body font

**Distinctive font suggestions:**
- Display: Fraunces, Instrument Serif, Space Grotesk, Clash Display, Cabinet Grotesk, Satoshi
- Body: Source Serif Pro, IBM Plex Sans, Libre Franklin, Plus Jakarta Sans

---

Related Skills

repo-ecosystem-hygiene

5
from vamseeachanta/workspace-hub

Interpret the daily read-only repo ecosystem hygiene audit and route remediation through approved workflows.

provider-session-ecosystem-audit-and-exporters

5
from vamseeachanta/workspace-hub

Build and maintain cross-provider session-log audits for Codex, Codex, Hermes, and Gemini, including exporter design, normalization, and behavioral verification.

ecosystem-terminology

5
from vamseeachanta/workspace-hub

Canonical names, abbreviations, and relationship vocabulary for the workspace-hub ecosystem. Load this when naming repos, modules, machines, files, or expanding acronyms to ensure consistency across humans and agents. type: reference

llm-wiki-ecosystem-gap-to-issues

5
from vamseeachanta/workspace-hub

Review the workspace-hub LLM-wiki/document-intelligence ecosystem, identify high-leverage gaps, and create grounded GitHub feature issues without duplicating existing work.

itinerary-design

5
from vamseeachanta/workspace-hub

Use when constructing a day-by-day itinerary inside a trip plan. Encodes base-count rules, jet-lag handling, transit-day discipline, slack budgeting, and the "last day = travel only" rule. Invoked by the trip-planner skill.

mooring-design

5
from vamseeachanta/workspace-hub

Design and analyze mooring systems including CALM and SALM buoys, catenary moorings, and spread mooring configurations. Covers mooring line design, safety factors, environmental loading, and compliance with DNV, API, and ABS standards.

hermes-ecosystem-integration

5
from vamseeachanta/workspace-hub

Wire Hermes into workspace-hub ecosystem — multi-repo skills, config sync, session export to learning pipeline, memory cross-pollination, skill patch tracking, and cross-machine health checks.

systematic-debugging

5
from vamseeachanta/workspace-hub

Use when encountering any bug, test failure, or unexpected behavior. 4-phase root cause investigation — NO fixes without understanding the problem first.

rag-system-builder

5
from vamseeachanta/workspace-hub

Build Retrieval-Augmented Generation (RAG) Q&A systems with Codex or OpenAI. Use for creating AI assistants that answer questions from document collections, technical libraries, or knowledge bases.

touchdesigner-mcp

5
from vamseeachanta/workspace-hub

Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.

popular-web-designs

5
from vamseeachanta/workspace-hub

54 production-quality design systems extracted from real websites. Load a template to generate HTML/CSS that matches the visual identity of sites like Stripe, Linear, Vercel, Notion, Airbnb, and more. Each template includes colors, typography, components, layout rules, and ready-to-use CSS values.

design-md

5
from vamseeachanta/workspace-hub

Author/validate/export Google's DESIGN.md token spec files.