Skip to content

borghei/Claude-Skills / product-team/design-direction

design-direction

Verified

Turns a product brief into a design-system spec: style direction, contrast-checked palette, type pairing, tokens, UX rules and chart choices. Use when starting a new product's UI, picking a palette or fonts, or auditing a token file.

assets/sample_theme.css

View on GitHub
/* Theme generated from the design-direction spec for: Invoicing and expense tracking SaaS for freelance designers and small studios */
/* Verdict: CONSISTENT. Contrast target AA. */
:root {
  color-scheme: light dark;
  --primary: #2F5BEA;
  --on-primary: #FFFFFF;
  --accent: #C2410C;
  --on-accent: #FFFFFF;
  --bg: #FFFFFF;
  --surface: #F4F6FA;
  --fg: #111827;
  --muted-fg: #4B5563;
  --border: #D7DCE5;
  --focus: #2F5BEA;
  --danger: #B91C1C;
  --on-danger: #FFFFFF;
  --success: #15803D;
  --font-display: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-size-base: 16px;
  --line-height-body: 1.5;
  --font-size-0: 13px;
  --font-size-1: 16px;
  --font-size-2: 20px;
  --font-size-3: 25px;
  --font-size-4: 31px;
  --font-size-5: 39px;
  --font-size-6: 49px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-full: 9999px;
  --elevation-0: none;
  --elevation-1: 0 0 0 1px var(--border);
  --duration-fast: 120ms;
  --duration-base: 180ms;
  --duration-slow: 240ms;
  --easing-standard: cubic-bezier(0.2, 0, 0, 1);
  --touch-target: 44px;
  --focus-width: 2px;
  --focus-offset: 2px;
  --icon-sm: 16px;
  --icon-md: 20px;
  --icon-lg: 24px;
  --icon-stroke: 1.5;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #5479EE;
    --on-primary: #0E1422;
    --accent: #FB923C;
    --on-accent: #0E1422;
    --bg: #0E1422;
    --surface: #172033;
    --fg: #E8ECF4;
    --muted-fg: #A3ADBF;
    --border: #2B3650;
    --focus: #5479EE;
    --danger: #F87171;
    --on-danger: #0E1422;
    --success: #4ADE80;
  }
}

:root[data-theme="dark"] {
  --primary: #5479EE;
  --on-primary: #0E1422;
  --accent: #FB923C;
  --on-accent: #0E1422;
  --bg: #0E1422;
  --surface: #172033;
  --fg: #E8ECF4;
  --muted-fg: #A3ADBF;
  --border: #2B3650;
  --focus: #5479EE;
  --danger: #F87171;
  --on-danger: #0E1422;
  --success: #4ADE80;
}

@media (prefers-reduced-motion: reduce) {
  :root { --duration-fast: 0ms; --duration-base: 0ms; --duration-slow: 0ms; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: var(--focus-offset); }
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall