UIForge

v0.6.0
io.github.lemuayala/ui-forge Checked 2 days ago Published 4 days ago

Compile DESIGN.md specs, OKLch/Tailwind v4/W3C tokens, and WCAG AA fixes across 24 brands.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_design_systems List UIForge Brand Systems, Presets & Archetypes

List all 24 canonical Brand Design Systems (Linear, Stripe, Anthropic, Apple HIG, Vercel, etc.), 9 Style Presets, 8 UI Archetypes, and 6 Tech Stacks.

ParameterTypeDescription
searchstringOptional case-insensitive filter on brand or preset name/category

compile_design_md Compile 9-Section DESIGN.md Specification

Compile a complete deterministic 9-section DESIGN.md specification, concise Quick Prompt, resolved OKLch tokens, and WCAG 2.1 AA contrast report.

ParameterTypeDescription
accentColorstringOptional custom accent HEX override (#rrggbb)
autoFixContrastbooleanAutomatically adjust primary lightness in OKLch to meet 4.5:1 WCAG AA
borderRadiusstringOptional border-radius override (e.g. 12px)
brandstringBrand system ID (e.g. linear, stripe, anthropic, apple, vercel, supabase)
brandNamestringProduct or brand name for the generated spec
darkModestringTheme support: true | false | both
densitystringSpacing grid density: compact | normal | spacious
hueShiftnumberPerceptual OKLch hue rotation in degrees
presetstringFallback style preset ID (e.g. glassmorphism, neobrutalism, minimalist)
primaryColorstringOptional custom primary HEX override (#rrggbb)
stackstringTarget framework stack (default: next)
uistringUI archetype ID (landing, dashboard, ecommerce, auth, profile, pricing, blog, components)

export_design_tokens Export CSS :root, Tailwind v4 @theme, or W3C JSON Tokens

Export exact design tokens as CSS custom properties (:root), Tailwind CSS v4 (@theme inline), or W3C Design Tokens JSON ($value / $type + oklch).

ParameterTypeDescription
format *stringOutput format: css | tailwind-v4 | w3c-json
autoFixContrastbooleanAuto-fix primary contrast to >= 4.5:1 AA
brandstringBrand system ID (e.g. linear, stripe, anthropic, apple)
brandNamestringProduct / brand name
darkModestringTheme mode: true | false | both
hueShiftnumberOKLch hue shift (0-360)
presetstringStyle preset ID if brand is omitted

audit_and_fix_contrast Audit & Auto-Fix WCAG Contrast in OKLch

Compute WCAG 2.1 contrast ratio between two HEX colors and return the perceptually closest OKLch-adjusted foreground HEX that meets minRatio (default 4.5:1 AA).

ParameterTypeDescription
backgroundHex *stringBackground HEX color (e.g. #ffffff)
foregroundHex *stringForeground HEX color (e.g. #93c5fd)
minRationumberTarget contrast ratio (default 4.5 for AA, 7.0 for AAA)