DE

demo-ui-tokens

Reference and modify CSS custom properties for a monochrome design system.

Install

mkdir -p .claude/skills/demo-ui-tokens && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12255" && unzip -o skill.zip -d .claude/skills/demo-ui-tokens && rm skill.zip

Installs to .claude/skills/demo-ui-tokens

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when adding or modifying colors, spacing, typography, or layout values in demo/ CSS. Complete token reference for the monochrome design system.
147 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Identify color tokens for page backgrounds and text.
  • Locate spacing tokens for padding and gaps.
  • Determine typography settings for font stacks and sizes.
  • Find border radius values for UI elements.
  • Reference layout constants like header height and max-width.
  • Understand responsive breakpoints for grid column changes.

How it works

The skill provides a reference to CSS custom properties defined in demo/src/demo.css for colors, spacing, typography, border radius, and layout constants, guiding modifications within the monochrome design system.

Inputs & outputs

You give it
Request to add or modify UI values in demo/ CSS
You get back
Reference to specific CSS custom properties and their usage

When to use demo-ui-tokens

  • Update primary accent color
  • Adjust spacing tokens
  • Modify dark mode typography values

About this skill

Demo UI Tokens Reference

Parent skill: demo-ui-direction — overall design direction and anti-patterns. Sibling skill: demo-ui-components — component CSS classes, specs, and anatomy.

All tokens defined in demo/src/demo.css as CSS custom properties on :root / [data-theme='dark'].

Color Tokens

TokenLightDarkUsage
--demo-bg#fafafa#0a0a0aPage background
--demo-surface#fff#141414Card/panel background
--demo-surface-alt#fafafa#0a0a0aPanel header, input bg
--demo-text#171717#fafafaPrimary text
--demo-text-secondary#525252#a3a3a3Body text, button labels
--demo-text-muted#a3a3a3#525252Placeholders, labels, captions
--demo-border#e5e5e5#262626Card borders, dividers
--demo-border-light#f5f5f5#262626Subtle dividers inside cards
--demo-hover#f5f5f5#262626Hover background
--demo-accent#171717#fafafaActive state text (= text color)
--demo-accent-bgrgba(23,23,23,0.06)rgba(250,250,250,0.06)Active state bg, badges
--demo-code-bg#1a1a2e#0a0a0aCode block background
--demo-code-text#a5d6ff#e5e5e5Code block text

Rule: Never use raw hex values. Always reference tokens. No teal, pink, or colored accents.

Exception: Delete button hover uses #ef4444 / rgba(239,68,68,0.1) — the only non-neutral color, reserved for destructive actions.

Spacing

ValueWhere
2pxPill gaps, icon gaps
4pxInline element gaps, small padding
6pxButton padding-y, filter pill gaps
8pxCard internal gaps, badge padding-x, header-right gap
12pxPanel header padding, toolbar padding, button padding-x
14pxNav tab padding-x, action button padding-x
16pxPanel body padding, card preview padding, card gaps
20pxCard body padding, ext-card body padding
24pxPage padding, section gaps, header content gap
28pxFilter bar margin-bottom
32pxPage side padding, page header margin-bottom

Principle: Increments of 2/4/8. Common spacings: 8, 12, 16, 20, 24, 32.

Typography

Font Stacks

StackUsage
system-ui, -apple-system, sans-serifAll UI text
'SF Mono', SFMono-Regular, ui-monospace, Consolas, monospaceCode, JSON

Font Sizes

SizeWeightUsage
10px600Type badge (.node-card-type)
11px500-600Labels, tags, badges, sidebar desc
12px500Segmented tabs, action buttons, code, filter count
13px500Nav tabs, body buttons, descriptions, inputs
14px500-600Card name, panel title, page desc, sidebar item name
15px600Logo text
24px700Page title (.nodes-page-title)

Letter Spacing

ValueUsage
-0.5pxPage titles (24px)
-0.3pxLogo text
0.5pxUppercase type badges, labels

Font Weight

WeightUsage
400Count badges, muted text
500Default buttons, nav tabs, sidebar items
600Active states, panel titles, card names, labels, badges, logo
700Page headings

Border Radius

ValueUsage
4pxInput fields, small icon buttons, code inline
6pxButtons, nav tabs, select, code blocks, sidebar items
8pxPanels, toolbars, segmented control, card preview
10pxNode cards
12pxExtension cards
999pxPills, badges (full round)

Layout Constants

PropertyValue
Header height56px
Content max-width1200px
Node grid columns3 (→ 2 at 1200px → 1 at 768px)
Extension grid columns2 (→ 1 at 768px)
Preset sidebar width220px
Extension sidebar width220px
Comment sidebar width320px
AI chat pane width380px
Ext preview height160px
Card preview min-height64px

Transition

Standard: transition: all 0.15s on all interactive elements.

Shadows

Minimal use — only for floating elements:

  • Dropdown menu: box-shadow: 0 4px 12px rgba(0,0,0,0.1)
  • Comment popup/inline input: box-shadow: 0 2px 8px rgba(0,0,0,0.12)
  • Cards/panels: no shadow — border only

Focus States

/* Standard focus pattern */
border-color: var(--demo-accent);
box-shadow: 0 0 0 2px var(--demo-accent-bg);
outline: none;

Responsive Breakpoints

BreakpointChanges
≤1200pxNode grid 3→2 columns
≤768pxNode grid 2→1 column, ext grid 1 column, header stacks, sidebars go full-width above content, AI page stacks vertically

When not to use it

  • When modifying CSS outside of the demo/ directory.
  • When the design system is not monochrome.
  • When adding teal, pink, or colored accents.

Limitations

  • Applies only to demo/ CSS files.
  • Strictly adheres to a monochrome design system.
  • Does not permit raw hex values for colors, except for a specific destructive action.

How it compares

This skill offers a structured reference for specific UI tokens within a monochrome design system, unlike general CSS documentation.

Compared to similar skills

demo-ui-tokens side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
demo-ui-tokens (this skill)03moNo flagsBeginner
ui-ux-pro-max1,9095moReviewIntermediate
svg-precision5274moReviewIntermediate
mobile-android-design1012moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

ui-ux-pro-max

nextlevelbuilder

UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.

1,9092,023

svg-precision

dkyazzentwatwa

Deterministic SVG generation, validation, and rendering. Use for icons, diagrams, charts, UI mockups, or technical drawings requiring structural correctness and cross-viewer compatibility.

5271,229

mobile-android-design

wshobson

Master Material Design 3 and Jetpack Compose patterns for building native Android apps. Use when designing Android interfaces, implementing Compose UI, or following Google's Material Design guidelines.

101335

frontend-slides

sickn33

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

95195

scroll-experience

davila7

Expert in building immersive scroll-driven experiences - parallax storytelling, scroll animations, interactive narratives, and cinematic web experiences. Like NY Times interactives, Apple product pages, and award-winning web experiences. Makes websites feel like experiences, not just pages. Use when: scroll animation, parallax, scroll storytelling, interactive story, cinematic website.

101142

penpot-uiux-design

github

Comprehensive guide for creating professional UI/UX designs in Penpot using MCP tools. Use this skill when: (1) Creating new UI/UX designs for web, mobile, or desktop applications, (2) Building design systems with components and tokens, (3) Designing dashboards, forms, navigation, or landing pages, (4) Applying accessibility standards and best practices, (5) Following platform guidelines (iOS, Android, Material Design), (6) Reviewing or improving existing Penpot designs for usability. Triggers: "design a UI", "create interface", "build layout", "design dashboard", "create form", "design landing page", "make it accessible", "design system", "component library".

27145

Search skills

Search the agent skills registry