ux-design-systems

Standardize web app styling into CSS variables, TypeScript tokens, and theme switching.

1|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/yahav123147/paid-ads-cro-skills --skill ux-design-systems-yahav123147
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ux-design-systems
Source: https://github.com/yahav123147/paid-ads-cro-skills/tree/main/skills/ux-design-systems
Command: npx skills add https://github.com/yahav123147/paid-ads-cro-skills --skill ux-design-systems-yahav123147

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you prevent UI inconsistency and duplicated styling by standardizing design decisions into reusable tokens, components, and theming rules.

Core Features & Use Cases

  • Design tokens: Define colors, typography, spacing, radii, and shadows as CSS variables and/or TypeScript token objects for consistent styling across the app.
  • Component patterns: Create reusable UI components (e.g., button variants and sizes) that stay aligned with tokenized design choices.
  • Theming and dark mode: Implement theme switching using CSS data attributes and a React theme provider that supports light, dark, or system preference.

Quick Start

Use this Skill to design a tokenized Button component that supports primary/secondary/outline variants and a dark-mode theme, then align its styles to your defined CSS variables.

Frequently Asked Questions about ux-design-systems

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create design tokens for consistent UI styling in React?

Design tokens standardize UI styling by mapping colors, spacing, typography, radii, and shadows into CSS variables or TypeScript token objects. This ensures consistent styling across your React application and prevents duplicated visual decisions.

What's the best way to implement dark mode in a React web app?

Implement dark mode by building a React ThemeProvider that supports light, dark, and system preferences. Switch themes using CSS data attributes to toggle CSS variables across your application components dynamically.

How do I build reusable React UI components with multiple variants?

Build reusable React UI components by defining variant patterns, such as primary, secondary, and outline buttons. Align these component variants with your tokenized design choices to maintain visual consistency across different sizes and styles.

Should I use CSS variables or TypeScript tokens for my design system?

CSS variables enable runtime theme switching via data attributes, while TypeScript token objects provide type-safe styling references. You can use either or both approaches to standardize your visual styling decisions into reusable tokens.

How do I prevent UI inconsistency and duplicated styling in my web app?

Prevent UI inconsistency by standardizing design decisions into reusable tokens, component patterns, and theming rules. This approach eliminates duplicated styling by centralizing colors, spacing, and typography into a unified system.

Does this design token approach work with existing React component libraries?

Yes, the design token approach applies to UI library creation by standardizing visual styling into CSS variables and TypeScript tokens. Existing React components can be refactored to consume these tokens and support theme switching.