AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Nuxt Design Tokens

skill-leeovery-agentic-skills-nuxt-design-tokens · by leeovery

Design tokens and theming via Tailwind 4 `@theme static` and Nuxt UI semantic classes. Use when registering custom type scales, motion curves, brand palettes, or contextual CSS overrides; also when building dark-mode-correct surfaces and View Transitions.

No reviews yet
0 installs
26 views
0.0% view→install

Install

$ agentstack add skill-leeovery-agentic-skills-nuxt-design-tokens

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-leeovery-agentic-skills-nuxt-design-tokens)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Nuxt Design Tokens? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Nuxt Design Tokens

Token-driven design with Tailwind 4 @theme static + Nuxt UI semantic classes. The point: brand and dark-mode behaviour live in CSS variables, not Tailwind utility classes. Templates stay semantic; the variables do the work.

When to use this skill

  • Registering custom type scales (display sizes, fluid sizes)
  • Adding motion curves, brand palettes, or font stacks as tokens
  • Building dark-mode-correct surfaces without raw palette classes
  • Adding contextual CSS overrides (e.g. an elevated tone within a section)
  • Wiring View Transitions for theme toggles
  • Configuring component-wide defaults via app.config.ts

Core rules

  1. No raw palette classes in templates. Use text-default, bg-elevated,

border-muted. Never text-gray-800 or bg-stone-50. Dark mode flips the semantic class via Nuxt UI; raw classes don't flip.

  1. Tokens live in @theme static, not inline. Custom type sizes, motion

curves, font stacks belong in main.css. Tailwind picks them up as utilities (text-display-xl, ease-out-expo).

  1. Brand palette lives in app.config.ts. Override primary and

neutral on the Nuxt UI palette; never hand-set the colour token unless you need a non-Tailwind hue.

  1. Arbitrary values are a sharp tool. Prefer the scale even at ±1-2 px.

Reserve [clamp(...)], [52ch], [var(--foo)] for things the scale genuinely cannot express.

  1. One contextual CSS rule beats five utility overrides. When a

container needs to shift the palette of its children, write a single html.dark .my-context { --ui-bg: ... } rule.

Reference files

  • [tokens.md](references/tokens.md)@theme static registration,

fluid type scales with paired weight/tracking/line-height, motion curves, font stacks

  • [semantic-colors.md](references/semantic-colors.md) — Nuxt UI semantic

class catalogue, dark-mode auto-flip, brand palette via app.config.ts, component default variants

  • [contextual-overrides.md](references/contextual-overrides.md) — when

to rebind --ui-* vars in a section, the .section-dark pattern, scoping rules

  • [view-transitions.md](references/view-transitions.md) — theme-toggle

radial wipe via View Transitions API, fallback handling, ClientOnly wrapper pattern

  • [fonts.md](references/fonts.md)@nuxt/fonts self-hosting, weight

subsetting, fallback metrics to avoid FOUT, preload strategy, variable fonts, font-display choice per role

Quick decision table

| Need | Where it lives | | --- | --- | | Brand primary colour | app.config.tsui.colors.primary | | Custom type scale | main.css@theme static { --text-* } | | Motion curve | main.css@theme static { --ease-* } | | Default form input size | app.config.ts.defaultVariants.size | | Section-scoped palette tweak | main.css → single .my-class { --ui-* } rule | | Smooth theme toggle | ThemeToggle.vue + ::view-transition-* keyframes |

Anti-patterns

  • text-gray-500 / bg-stone-100 in templates — breaks dark mode
  • ❌ Defining --ui-primary-500 directly in CSS — use app.config.ts

instead so Nuxt UI computes the full scale

  • ❌ One-off text-[15px] everywhere — register a token if you use it twice
  • ❌ Putting brand colour decisions in nuxt.config.ts — wrong file
  • ❌ Tailwind plugins for custom utilities — Tailwind 4 expects tokens via

CSS, not JS config

Related skills

  • [nuxt-ui](../nuxt-ui/SKILL.md) — component API, the ui prop, slot

overrides

  • [nuxt-components](../nuxt-components/SKILL.md)tailwind-variants

for component-level variant APIs; consumes the tokens defined here

  • [nuxt-config](../nuxt-config/SKILL.md)app.config.ts placement

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.