agentsclimarketplace

Design system

Skill connorbell133/ui-ux-plugins/skills/design-system

Design tokens, typography scales, spacing systems, color theory, and visual hierarchy principles for creating cohesive, polished interfaces with Tailwind CSS.From its SKILL.md

Install
npx -y skills add connorbell133/ui-ux-plugins --skill design-system

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

6.3 KB, as published. Nobody here has run it

Visual Design System

Typography Scale

Use a modular scale with 1.25 ratio for consistent visual rhythm:

RoleTailwind ClassSizeWeightLine Height
Displaytext-5xl48pxfont-boldleading-tight
H1text-4xl36pxfont-boldleading-tight
H2text-2xl24pxfont-semiboldleading-tight
H3text-xl20pxfont-semiboldleading-snug
H4text-lg18pxfont-mediumleading-snug
Bodytext-base16pxfont-normalleading-relaxed
Smalltext-sm14pxfont-normalleading-normal
Captiontext-xs12pxfont-mediumleading-normal

Rules:

  • Use tracking-tight on display and H1 headings for visual density
  • Body text line length: 45-75 characters (use max-w-prose or max-w-2xl)
  • Use text-muted-foreground for secondary/supporting text
  • Weight hierarchy: bold → semibold → medium → normal (never skip two levels)

Spacing System

4px base unit. Every spacing value should be a multiple of 4:

ScaleTailwindPixelsUsage
xsgap-1 / p-14pxTight spacing between inline elements
smgap-2 / p-28pxRelated items within a group
mdgap-3 / p-312pxDefault component internal padding
basegap-4 / p-416pxStandard component padding, list item gaps
lggap-6 / p-624pxSection padding, card content padding
xlgap-8 / p-832pxMajor section gaps, page horizontal padding
2xlgap-12 / p-1248pxBetween major page sections
3xlgap-16 / p-1664pxPage vertical padding, hero sections

Rules:

  • Component internal padding: p-4 to p-6
  • Gap between components in a grid/list: gap-4 to gap-6
  • Page horizontal margins: px-6 to px-16
  • Vertical space between page sections: py-12 to py-16
  • Maintain consistent spacing rhythm — don't mix gap-5 and gap-6 in the same view

Color Theory

Semantic Color System (shadcn)

Use the semantic color tokens, not raw colors:

  • Primary (bg-primary) — Brand color. Main CTAs, active navigation, selected states.
  • Secondary (bg-secondary) — Supporting actions. Secondary buttons, hover backgrounds.
  • Muted (bg-muted) — Subtle backgrounds. Sidebar, code blocks, disabled states.
  • Accent (bg-accent) — Highlight color. Hover states, active rows, chips.
  • Destructive (bg-destructive) — Danger/delete. Error states, destructive buttons, alerts.

Custom Palette Guidelines

When establishing a color direction for a project:

  • Choose one primary hue and build variants using HSL (adjust lightness ±10-20%)
  • Neutral grays for backgrounds: use 2-3 shades (white → very light gray → light gray)
  • Text grays: high contrast for primary text (text-foreground), medium for secondary (text-muted-foreground)
  • Semantic colors are non-negotiable: green=success, amber=warning, red=error, blue=info
  • Contrast ratios: 4.5:1 minimum for normal text, 3:1 for large text (>18px bold)

Color Usage Patterns

  • Backgrounds: Max 3 levels (page bg → card bg → nested element bg)
  • Borders: Use sparingly. border-border at 1px for card boundaries. Use whitespace/shadow instead of borders when possible.
  • Status indicators: Colored dot + text label (never color alone — accessibility)
  • Charts/data viz: Use 5-7 distinct hues at similar saturation. Avoid red/green pairs for colorblind users.

Visual Hierarchy

Establish importance through these tools, in order of impact:

  1. Size — Largest element draws the eye first. Page title > section title > body text.
  2. Color/Contrast — High contrast elements read as more important. Primary color for CTAs.
  3. Weight — Bolder text appears more important. Use weight to differentiate headings from body.
  4. Position — Top-left reads first (F-pattern for content, Z-pattern for landing pages). Place primary actions at natural scan endpoints.
  5. Whitespace — Elements surrounded by space feel more important. Don't crowd important elements.

Common hierarchies:

  • Dashboard: KPI cards (largest, top) → Charts (medium) → Tables/lists (detailed, bottom)
  • Settings: Navigation (sidebar, persistent) → Section heading → Form fields → Save button (bottom-right)
  • Landing page: Hero (full-width, bold) → Features (grid) → Social proof → CTA

Elevation & Depth

Shadow scale creates visual layering:

LevelTailwindUsage
Flatno shadowInline elements, backgrounds
Raisedshadow-smCards, list items
Elevatedshadow-mdDropdown menus, popovers
Floatingshadow-lgTooltips, floating action buttons
Overlayshadow-xlModals, dialog boxes

Rules:

  • Cards: shadow-sm default, shadow-md on hover for interactive cards
  • Modals: shadow-xl + backdrop-blur-sm on the overlay background
  • Focus rings: ring-2 ring-ring ring-offset-2 — visible, consistent, accessible
  • Don't combine heavy shadows with heavy borders — choose one depth technique

Motion Principles

Animation durations and easing for Framer Motion and CSS transitions:

InteractionDurationEasing
Micro-interaction (hover, focus)150-200msease-out
Element enter/appear200-300msease-out / [0.16, 1, 0.3, 1]
Element exit/disappear150-200msease-in
Page transition300-500msease-in-out
Layout shift200-400msspring (stiffness: 300, damping: 30)
Stagger delay (list items)50-100ms per item—

Rules:

  • Entrances are slightly slower than exits (builds anticipation vs quick dismissal)
  • Use spring physics for layout animations — feels more natural than linear easing
  • Stagger children for lists/grids: creates a "cascade" effect that guides the eye
  • Never animate more than 2 properties simultaneously on a single element
  • Reduce motion for prefers-reduced-motion — use motion-safe: Tailwind modifier

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.