Tactile obsidian AI code editor and block command terminal with warm amber #f59e0b focus rings, sky syntax highlights, and interactive patch diff queues.
npx uikits-md@latest add forge --platform all --out .Explore the color balance, dual WCAG 2.2 AA & APCA Lc contrast checks, typography scale, and geometry tokens built into uikit-forge.
Review multi-file AI patches and execute block commands in one obsidian IDE. Crisp hierarchy with intentional whitespace and zero decorative noise.
Install with the CLI, shadcn, an AI agent prompt, MCP, or download the ZIP directly.
One command adds the full design system, motion rules, and React templates to your project and coding agents.
npx uikits-md@latest add forge --platform all --out .
Browse the design specs, theme variables, and React templates included in uikit-forge.
You are building production developer-tool interfaces with the Forge — AI Code IDE UI Skill Pack (tokens/ + templates/ + empirical subpage & governance specifications). Pair with registry/backbone/ (uikit-backbone) when a project needs the broader 27-component and 6-page-recipe web skeleton.
FIRST-PASS PRECISION MANDATE: Never treat this pack as a generic dark developer theme. Apply the warm obsidian surface ladder (#111113 canvas -> #141417 editor gutter -> #18181c elevated pane -> #1f1f25 raised dialog), crisp rgba(255, 255, 255, 0.09) split-pane hairlines, Inter calm editorial display headings (weight 400–500, tight negative tracking) paired with ubiquitous JetBrains Mono (tabular-nums) code and terminal blocks, #f59e0b warm amber focal actions (always paired with #111113 obsidian ink for 8.78:1 AAA), #38bdf8 sky syntax highlights, semantic emerald #22c55e / rose #f43f5e diff washes, compositor-only motion, keyboard-first flows (⌘K, J/K, nested Esc), and full Light warm code paper (#f7f7f5) parity automatically on the very first pass.
Read DESIGN.md and tokens.css first, then load the companion specification files and starter templates matching the active surface:
| User Task | Required Spec Files | Machine Tokens & Rules | Drop-In Templates to Copy / Use |
|---|---|---|---|
| Developer Tool Landing Page | DESIGN.md, MOTION.md, ASSETS.md, CONTENT.md, tokens.css | tokens/tokens.json, tokens/tailwind.css | templates/ScrollReveal.tsx, templates/PatchDiffViewer.tsx, templates/BlockTerminalPanel.tsx, templates/StatusBadge.tsx |
| AI Code IDE Workbench & Shell | DESIGN.md, APP_PATTERNS.md (§1–§5), MOTION.md, ACCESSIBILITY.md, tokens.css | tokens/tokens.json, tokens/tailwind.css, lint.json | templates/IdeWorkbenchShell.tsx, templates/PatchDiffViewer.tsx, templates/BlockTerminalPanel.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx |
| Interactive Patch Diff & Code Review | DESIGN.md, APP_PATTERNS.md (§3–§4), MOTION.md, DATA_VIZ.md, tokens.css | tokens/tokens.json | templates/PatchDiffViewer.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx |
| Block Command Terminal & CI Runner | DESIGN.md, APP_PATTERNS.md (§2–§4, §10), MOTION.md, CONTENT.md, tokens.css | tokens/tokens.json | templates/BlockTerminalPanel.tsx, templates/StatusBadge.tsx, templates/CommandPalette.tsx |
| Command Palette & Keyboard Search | DESIGN.md, APP_PATTERNS.md (§2), MOTION.md, ACCESSIBILITY.md, tokens.css | tokens/tokens.json | templates/CommandPalette.tsx, templates/IdeWorkbenchShell.tsx |
| SDK / API Documentation Portal | DESIGN.md, APP_PATTERNS.md (§6), CONTENT.md, ACCESSIBILITY.md, tokens.css | tokens/tokens.json, tokens/tailwind.css | templates/BlockTerminalPanel.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| Pricing, Auth, Settings & Forms | DESIGN.md, APP_PATTERNS.md (§5, §7–§9), ACCESSIBILITY.md, tokens.css | tokens/tokens.json, tokens/figma-variables.json | templates/IdeWorkbenchShell.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| Agent Velocity & Build Telemetry | DESIGN.md, DATA_VIZ.md, APP_PATTERNS.md (§3, §10), tokens.css | tokens/tokens.json | templates/Sparkline.tsx, templates/StatusBadge.tsx |
| Any UI Task (Pre-Flight Gate) | CHECKLIST.md, EVALS.md, ACCESSIBILITY.md | lint.json, meta.json | Run npx uikits-md check forge --dir . and verify Light + Dark parity |
src/app/layout.tsx:Import Inter (weight: ["400", "500", "600"], variable --font-inter) and JetBrains_Mono (weight: ["400", "500", "600"], variable --font-jetbrains-mono) via next/font/google. Attach both font variables to <html> and apply .fg-root on <body>.
tokens.css and tokens/tailwind.css:Place tokens.css (or uikit-forge.tokens.css) and tokens/tailwind.css directly below @import "tailwindcss"; in src/app/globals.css. This activates the default warm obsidian dark palette (:root, [data-theme="dark"], .dark), warm code paper light palette ([data-theme="light"], .light), Tailwind v4 @theme bindings, and all 6 compositor keyframes.
Run npx uikits-md@latest add forge --platform all --out . (or copy templates/*.tsx into src/components/uikit-forge/). Install @phosphor-icons/react as the sole UI icon dependency.
Toggle data-theme="light" / .light and data-theme="dark" / .dark on <html> or an isolated workbench preview frame. Every template consumes semantic CSS variables exclusively so polarity switches instantaneously without layout shifts.
#111113 (var(--background)), ground activity rails in #0c0c0e (var(--app-bg)), set file trees and line-number gutters to #141417 (var(--fg-gutter)), and elevate active panes to #18181c (var(--surface)). Light mode switches smoothly to #f7f7f5 warm code paper, #f1f1ed gutter, and #ffffff panes.1px solid var(--border) (rgba(255, 255, 255, 0.09) dark; rgba(20, 20, 22, 0.11) light). Reserve shadows strictly for floating overlays (--fg-shadow-palette) and subtle pane rims (--fg-shadow-pane).var(--primary) — #f59e0b dark, #b45309 light) strictly for primary workbench actions (Apply Patch, Run Agent, Commit Queue), active tab indicator bars, and 2px :focus-visible keyboard rings. ALWAYS pair dark #f59e0b with #111113 (--primary-foreground, 8.78:1 AAA) — NEVER white text on #f59e0b.var(--highlight) — #38bdf8 dark, #0369a1 light) for syntax identifiers, active Git branches, and symbol links. Encode patch additions with --diff-add-wash + --fg-diff-add-ink (#22c55e / #4ade80) and removals with --diff-remove-wash + --fg-diff-remove-ink (#f43f5e / #fb7185), always paired with + / - signifiers so diffs remain colorblind-safe.#hex literals or dark-only utility colors (bg-slate-900, bg-indigo-600, text-white) inside reusable TSX templates. Reference var(--background), var(--surface), var(--fg-gutter), var(--foreground), var(--muted-foreground), var(--primary), var(--highlight), var(--border), and semantic wash tokens exclusively.0.5rem Base): Use 8px (var(--radius)) on IDE panes, terminal blocks, and command palettes; 6px (var(--radius-btn)) on buttons, tabs, inputs, and explorer rows; 4px (var(--radius-xs)) on <kbd> keycaps and hunk badges; and 9999px (var(--radius-pill)) exclusively on compact agent stage pills. Never use rounded-2xl or rounded-3xl bubbles.Inter weight 400–500 with tight negative tracking (-0.025em to -0.03em) — never heavy 800/900 weights. Render every code line, diff hunk, terminal command, file path, exit code, and telemetry figure in JetBrains Mono (font-mono tabular-nums).PatchDiffViewer.tsx): Support per-hunk Accept / Reject actions, Accept All / Reset Queue toolbar controls, unified vs. context view toggles, live +added / -removed line tallies, and fgDiffHunkHighlight arrival cues.BlockTerminalPanel.tsx): Group every command invocation into an inspectable block card containing working directory, Git branch, prompt command, exit code badge (0 emerald / non-zero rose), execution duration (tabular-nums), stdout/stderr lines, one-click copy, interactive re-run, and live command input appending with fgTerminalBlockAppend.⌘K Command Palette & Keyboard Ergonomics: Connect Cmd+K / Ctrl+K (and header search trigger) to <CommandPalette /> with .fg-palette-open entrance, ArrowUp/ArrowDown selection, Enter execution, and nested Escape (first clears non-empty filter query, second closes modal and restores trigger focus). Never hijack keys while typing inside <input> or <textarea>.transform and opacity via the 5 registered motion profiles (diff-hunk-highlight, terminal-block-append, tab-indicator-glide, agent-cursor-blink, palette-crisp-open). Pause offscreen ambient blinking carets and skeletons via [data-offscreen="true"], keep .fg-reveal visible without JS (@media (scripting: none)), and honor prefers-reduced-motion: reduce.@phosphor-icons/react: Deliver styled Loading (.fg-skeleton matching diff/block height), Empty (clear guidance + recovery CTA), and Error (role="alert" rose wash + retry action) states on every dynamic pane. Include <a href="#main-content" className="sr-only focus:not-sr-only ...">Skip to content</a> and use @phosphor-icons/react exclusively.<IdeWorkbenchShell /> with explorer sidebar, open file tabs (.fg-tab[data-active="true"]), central <PatchDiffViewer />, bottom docked <BlockTerminalPanel />, and global <CommandPalette />.Inter hero display copy over a live interactive two-pane IDE frame showing an active agent patch diff side-by-side with a passing test terminal block, wrapped in <ScrollReveal />..fg-pane metric cards showing patch acceptance rate, median apply latency, test pass velocity, and inline <Sparkline /> plots bound to --chart-1..--chart-5.#111113, #18181c, #f59e0b, bg-slate-900, or border-white/10 directly inside template components.#f59e0b Amber: White text on #f59e0b fails WCAG AA (2.14:1). Always use var(--primary-foreground) (#111113 in dark mode, 8.78:1 AAA; #ffffff on #b45309 in light mode, 5.02:1 AA).bg-gradient-to-r from-indigo-500, from-purple-500, from-fuchsia-500, blur-3xl glow orbs, or shadow-2xl on static cards (enforced by lint.json).rounded-2xl or rounded-3xl to code panes, terminal blocks, or IDE cards. Stay within 4px / 6px / 8px (12px max for outer hero frames).Forge, Northstar, Kestrel, Vesper, Arbor, Helios, Cinder) and RFC 2606 domains (example.com).<svg> polygons or outline clipart. Physical subjects MUST use verified local .webp studio photography or 3D renders (fetchPriority="high" on Hero LCP, locked aspect-ratio for CLS === 0, calibrated gradient scrims for WCAG AA/AAA text legibility, zero baked-in text or logos).inset 0 1px 0 rgba(255,255,255,0.14) on dark cards), labeled coordinate grids, font-variant-numeric: tabular-nums, and opaque rounded label pills (rx="4") so SVG labels NEVER collide with edges or neighboring text. Never leave the visual half of a Hero Card empty with faint rings or mock loading spinners.01 → 02 → 03 <circle> SVGs, wavy dashed connectors, and repeated step boxes underneath. Render real miniaturized software UI in HTML/DOM: a crisp object/endpoint header, a focal tabular-nums figure with split metadata, a clickable proportional execution waterfall or timeline bar, and a flush hairline telemetry/signal matrix below with zero nested card-in-card clutter.tabular-nums value, an inline semantic delta (no redundant pill chrome), and a compact composition bar or sparkline grounded in real row data.compact/comfortable density toggle), sortable headers (aria-sort), multi-row selection with a custom color-scheme-safe checkbox and contextual bulk-action bar, multi-layer cells (primary label + mono ID + sub-meta), inline micro-meters for numeric scores, right-aligned tabular-nums values, hover-revealed quick actions, and @container-responsive column collapse with zero duplicate mobile status badges on desktop.<svg><rect><text> boxes with tiny unreadable SVG text or diagonal dashed lines slicing through labels. Structure graphs as tiered HTML/DOM interactive node cards (>=12.5px titles, >=11px mono IDs, semantic status LED, inline latency/throughput/weight micro-bar, upstream/downstream highlighting) with any connector lines confined strictly to dedicated column gutters.1440px), split-pane (700px), and mobile (390px) to verify zero clipped text, zero duplicate badges, zero dark-mode native checkbox bleed on light surfaces, and 0px horizontal overflow.