Index of every page on this site: llms.txt
All skills
dylanfeltus avatar

/design-tokens

@b97a48f
by Dylan Feltusdylanfeltus/skills180 stars
10
Run it yourself

Generate type scales, color palettes, spacing systems, WCAG contrast checks, and dark mode derivations with math. Use when setting up a design system, creating tokens, or building a Tailwind/CSS theme. Outputs CSS custom properties, Tailwind config, or JSON tokens.

Use this Skill: https://skilld.dev/gh/dylanfeltus/skills/design-tokens

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈272 tokens on demand. Your agent reads this file only when SKILL.md points to it.

design-tokens

Generate type scales, color palettes, spacing systems, and dark mode derivations with math — not guessing. Includes WCAG contrast formulas, systematic shade generation, and production-ready CSS/Tailwind output.

Installation

Copy the design-tokens folder into your agent's skills directory.

What's Inside

  • Type scale generator with ratio-based calculation and line-height/letter-spacing/weight rules
  • Color palette generator with HSL-based shade scales (50–950) and semantic token mapping
  • WCAG contrast checker with the actual luminance formula and pass/fail requirements
  • Spacing system using base-4 grid (matches Tailwind)
  • Dark mode derivation — systematic inversion, not manual picking
  • Multiple output formats — CSS custom properties, Tailwind config, JSON (W3C)

Usage Examples

Set up a new project

"Set up design tokens for a SaaS dashboard"

Generate a palette

"I need a color palette from this brand color: #6366F1"

Create a type scale

"Create a type scale for a blog"

License

MIT

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1mo5 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The design-tokens skill is a collection of mathematical guidelines and instructions for creating design systems, such as color palettes and typography scales. It contains no executable code or scripts and presents no security risks.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

  • Runlayer9mo

    2/2 files flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at b97a48f. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 9 months ago

README badge

README badge for dylanfeltus/skills/design-tokens