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_framework.css

View on GitHub
/* Sound theme written the way component-library and utility-CSS projects write them
   (extractor exit 0, checker exit 0). Exercises the formats the extractor must read:
   bare "H S% L%" channels, oklch(), rgb() with alpha, color-mix(), var() chains with
   fallbacks, @layer and nested rules, a .dark class that only overrides what changes,
   and a :root split across two blocks. */
@layer base {
  :root {
    color-scheme: light dark;
    --gray-950: 222 47% 11%;
    --background: 0 0% 100%;
    --foreground: var(--gray-950);
    --card: 220 20% 97%;
    --muted: 220 14% 96%;            /* a background colour: must not become muted text */
    --muted-foreground: 220 9% 38%;
    --primary: 221 83% 45%;
    --primary-foreground: 0 0% 100%;
    --accent: 172 66% 26%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 72% 42%;
    --destructive-foreground: 0 0% 100%;
    --ring: var(--brand-ring, 221 83% 45%);
    --success: 142 72% 27%;
    --border: rgb(15 23 42 / 0.12);

    .dark & {
      --background: 222 47% 7%;
      --foreground: 210 40% 96%;
      --card: 222 40% 11%;
      --muted-foreground: 215 20% 70%;
      --primary: 213 94% 72%;
      --primary-foreground: 222 47% 7%;
      --accent: 172 60% 55%;
      --accent-foreground: 222 47% 7%;
      --destructive: 0 90% 72%;
      --destructive-foreground: 222 47% 7%;
      --ring: 213 94% 72%;
      --success: 142 60% 55%;
    }
  }
}

:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5625rem;
  --leading-normal: 1.5;
  --spacing: 0.25rem;
  --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-6: 1.5rem; --space-8: 2rem;
  --radius-sm: 0.25rem; --radius-md: 0.5rem; --radius-lg: 0.75rem;
  --duration-fast: 120ms; --duration-base: 200ms; --duration-slow: 0.28s;
  --touch-target: 2.75rem;
  --focus-width: 2px;
}

@media (prefers-reduced-motion: reduce) {
  :root { --duration-fast: 0ms; --duration-base: 0ms; --duration-slow: 0ms; }
}
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