Skip to content
demo-design-tokens logo

Demo Design Tokens

demo-design-tokens

Default design tokens for demo applications. Use when building demos without a formal design system. Provides colors, typography, spacing, shadows, and transitions.

SKILL.md

Full skill instructions

Demo Design Tokens

Overview

Pre-configured design tokens for graceful demo UI without a formal design system.

Color System

Brand Colors

--brand-primary: #2563EB;    /​* Blue-600 */
--brand-secondary: #1E40AF;  /​* Blue-800 */
--brand-accent: #7C3AED;     /​* Violet-600 */

Neutral Colors

--neutral-50: #F8FAFC;   /​* Background */
--neutral-100: #F1F5F9;  /​* Surface alt */
--neutral-200: #E2E8F0;  /​* Border */
--neutral-300: #CBD5E1;  /​* Border hover */
--neutral-500: #64748B;  /​* Text secondary */
--neutral-700: #334155;  /​* Text primary */
--neutral-900: #0F172A;  /​* Text emphasis */

Semantic Colors

/​* Status */
--success: #22C55E;      /​* Green-500 */
--warning: #EAB308;      /​* Yellow-500 */
--error: #EF4444;        /​* Red-500 */
--info: #3B82F6;         /​* Blue-500 */

/​* Severity (for data visualization) */
--severity-critical: #DC2626;  /​* Red-600 */
--severity-high: #F97316;      /​* Orange-500 */
--severity-medium: #EAB308;    /​* Yellow-500 */
--severity-low: #3B82F6;       /​* Blue-500 */
--severity-info: #6B7280;      /​* Gray-500 */

/​* Condition */
--condition-excellent: #22C55E;  /​* Green-500 */
--condition-good: #84CC16;       /​* Lime-500 */
--condition-fair: #EAB308;       /​* Yellow-500 */
--condition-poor: #F97316;       /​* Orange-500 */

Typography

Font Stack

--font-sans: 'Inter', system-ui, -apple-system, sans-serif;
--font-mono: 'JetBrains Mono', 'SF Mono', monospace;

Type Scale

TokenSizeLine HeightWeightUse
--text-xs12px16px400Labels, captions
--text-sm14px20px400Secondary text
--text-base16px24px400Body
--text-lg18px28px500Emphasis
--text-xl20px28px600Card titles
--text-2xl24px32px600Section headers
--text-3xl30px36px700Page titles
--text-4xl36px40px700Hero text

Spacing Scale

Based on 4px grid:

TokenValueTailwind
--space-14pxp-1
--space-28pxp-2
--space-312pxp-3
--space-416pxp-4
--space-520pxp-5
--space-624pxp-6
--space-832pxp-8
--space-1040pxp-10
--space-1248pxp-12

Shadows

TokenValueUse
--shadow-sm0 1px 2px rgba(0,0,0,0.05)Subtle elevation
--shadow-md0 4px 6px rgba(0,0,0,0.1)Cards
--shadow-lg0 10px 15px rgba(0,0,0,0.1)Modals, dropdowns
--shadow-xl0 20px 25px rgba(0,0,0,0.15)Popovers

Border Radius

TokenValueUse
--radius-sm4pxButtons, inputs
--radius-md8pxCards
--radius-lg12pxModals
--radius-xl16pxLarge containers
--radius-full9999pxPills, avatars

Transitions

TokenValueUse
--duration-fast150msMicro-interactions
--duration-normal300msDefault
--duration-slow500msPage transitions
--ease-outcubic-bezier(0, 0, 0.2, 1)Entrances
--ease-in-outcubic-bezier(0.4, 0, 0.2, 1)Transitions

Tailwind Config Extension

// tailwind.config.ts
export default {
  theme: {
    extend: {
      colors: {
        brand: {
          primary: '#2563EB',
          secondary: '#1E40AF',
          accent: '#7C3AED',
        },
        severity: {
          critical: '#DC2626',
          high: '#F97316',
          medium: '#EAB308',
          low: '#3B82F6',
          info: '#6B7280',
        },
        condition: {
          excellent: '#22C55E',
          good: '#84CC16',
          fair: '#EAB308',
          poor: '#F97316',
        },
      },
      fontFamily: {
        sans: ['Inter', 'system-ui', 'sans-serif'],
        mono: ['JetBrains Mono', 'SF Mono', 'monospace'],
      },
    },
  },
};

Best Practices

  • Use semantic tokens over raw values
  • Maintain consistent spacing rhythm
  • Pair shadows with border radius
  • Test colors for WCAG contrast

Anti-Patterns

  • NO hardcoded hex values in components
  • NO inconsistent spacing values
  • NO mixing design systems

More Other skills

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

179.7K 76.1K
View

Fundamental design principles for writing maintainable, testable Python code.

40.2K 21.9K
View

Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.

40.2K 20K
View

Generate Playwright tests from scenarios using interactive browser exploration and validation.

39.7K 18.2K
View

Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.

40.2K 14.7K
View

GDPR-compliant data handling with consent management, data subject rights, and privacy controls.

40.2K 14.3K
View

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

40.2K 13.5K
View

Detailed multi-file refactor planning with safety checks and rollback guidance.

39.7K 13K
View