Midnight-indigo generative media studio with cinematic dark hero frames, translucent glass pills, JetBrains Mono prompt decks, and storyboard rails.
npx uikits-md@latest add aperture --platform all --out .Explore the color balance, dual WCAG 2.2 AA & APCA Lc contrast checks, typography scale, and geometry tokens built into uikit-aperture.
Direct generative cinema timelines inside a midnight-indigo studio. 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 aperture --platform all --out .
Browse the design specs, theme variables, and React templates included in uikit-aperture.
You are building UI with the Aperture — Generative Cinema UI Skill Pack (tokens/ + templates/ + governance/eval specs). Pair with registry/backbone/ (uikit-backbone) for full layout and form coverage while preserving Aperture's unmistakable midnight-indigo screening-room aesthetic.
GENERATIVE CINEMA MANDATE: Never treat this pack as loose aesthetic inspiration. Build deep midnight-indigo #0a0c14 screening canvases paired with #131726 control decks, crisp #f5f7ff starlight ink, soft periwinkle-indigo #818cf8 primary fills (with #0a0c14 dark ink), cinema rose #f472b6 highlights, translucent frosted .ap-pill action capsules, Space Grotesk compressed film-title display type, JetBrains Mono seed/CFG/aspect parameter decks, and interactive storyboard timeline rails automatically on the very first pass. The user must never need to ask you afterward to connect keyboard scrubbing, fix light-mode contrast, pause offscreen animations, or swap broken media.
Always read DESIGN.md and tokens.css first, then load the exact companion specs and drop-in templates for the surface you are building:
| User Task | Required Spec Files | Drop-In Templates to Copy / Use |
|---|---|---|
| Cinema Landing & Festival Showreel | DESIGN.md, MOTION.md, ASSETS.md, CONTENT.md, tokens.css | templates/CinemaStudioShell.tsx, templates/ScrollReveal.tsx, templates/StatusBadge.tsx, templates/CommandPalette.tsx |
| Generative Video & Image Studio Workspace | DESIGN.md, APP_PATTERNS.md (§1–§2, §9), MOTION.md, ACCESSIBILITY.md, tokens.css | templates/CinemaStudioShell.tsx, templates/PromptParameterDeck.tsx, templates/StoryboardTimelineRail.tsx, templates/CommandPalette.tsx |
| Storyboard Contact Sheet & Clip Detail | DESIGN.md, APP_PATTERNS.md (§3–§4, §10), MOTION.md, ASSETS.md, tokens.css | templates/StoryboardTimelineRail.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| Render Queue & GPU Telemetry Dashboard | DESIGN.md, APP_PATTERNS.md (§3–§4, §10), DATA_VIZ.md, tokens.css | templates/StatusBadge.tsx (RenderMetricTile + StatusBadge), templates/Sparkline.tsx, templates/ScrollReveal.tsx |
| Auth, Model Plans & Studio Settings | DESIGN.md, APP_PATTERNS.md (§5, §7–§9), ACCESSIBILITY.md, CONTENT.md, tokens.css | templates/CinemaStudioShell.tsx, templates/StatusBadge.tsx, templates/PromptParameterDeck.tsx |
| API Docs, Prompt Guides & Release Notes | DESIGN.md, APP_PATTERNS.md (§6, §11), CONTENT.md, ASSETS.md, tokens.css | templates/CommandPalette.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| Any UI Task (Final Acceptance Gate) | CHECKLIST.md, EVALS.md, ACCESSIBILITY.md | All applicable templates verified via npx uikits-md check aperture --dir . |
src/app/layout.tsx:Register Inter (--font-inter, weights 400, 500, 600, 700), Space_Grotesk (--font-space-grotesk, weights 400, 500, 600, 700), and JetBrains_Mono (--font-jetbrains-mono, weights 400, 500, 600) and attach all three CSS variable classes onto <html>.
tokens.css & Optional tokens/tailwind.css:Place tokens.css (and optionally tokens/tailwind.css) in your root stylesheet directly beneath your framework base import. This registers :root / [data-theme="dark"] / .dark, [data-theme="light"] / .light, --ap-* cinema variables, semantic tokens, .ap-glass, .ap-pill, .ap-tile, .ap-reveal, and all five compositor-only @keyframes.
Copy templates/CinemaStudioShell.tsx, templates/StoryboardTimelineRail.tsx, templates/PromptParameterDeck.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx, and templates/Sparkline.tsx into src/components/uikit-aperture/ (automated via npx uikits-md add aperture --platform all --out .).
react, react-dom, @phosphor-icons/react.Every UI delivered under uikit-aperture MUST implement all 12 rules on the first pass:
#0a0c14 (var(--background)) and #131726 control decks (var(--surface) / var(--card)), while keeping every component 100% bound to semantic CSS variables (var(--background), var(--surface), var(--card), var(--foreground), var(--muted-foreground), var(--border), var(--primary), var(--ap-rose), var(--chart-1..5)) so [data-theme="light"] / .light switches cleanly to #fafafa editorial paper, #ffffff cards, #11131a ink, and #4f46e5 accent with zero hardcoded #hex values in TSX.1px hairlines (var(--border)), specular top rim catchlights (var(--ap-specular)), and zero heavy drop shadows over media grids.<h1> in Space Grotesk (var(--font-display)) at clamp(40px, 6vw, 76px), tight line-height: 1.02, negative tracking (-0.035em), paired with Inter body text (14px–16px) and JetBrains Mono (tabular-nums) for every timecode (00:04:18), seed (84720911), CFG scale (7.5), aspect ratio (21:9), frame rate (24 fps), and GPU credit figure..ap-pill (rounded-full, backdrop-filter: blur(12px), 1px tinted border) where each action family carries its own semantic tint—periwinkle-indigo for generation/create, cinema rose for motion/reel playback, emerald for verified export, amber for queue/review—while preserving >= 4.5:1 label legibility across both Dark and Light themes.<PromptParameterDeck /> in creation workspaces with editable prompt textarea, JetBrains Mono aspect ratio presets (21:9, 16:9, 4:3, 1:1, 9:16), CFG guidance slider, deterministic seed lock/shuffle toggle, camera motion selector, and live credit/ETA estimation.<StoryboardTimelineRail /> with frame-accurate timecode ruler, selectable shot clips separated by tight 2px–6px rails, Space play/pause toggle, ArrowLeft / ArrowRight keyframe scrubbing, cinema-rose playhead indicator, and live render progress sweep (.ap-render-sweep).⌘ K): Integrate <CommandPalette /> with synchronous instant search across studio models, aspect presets, shots, and quick actions, ArrowUp / ArrowDown navigation, Enter execution, and two-stage nested Escape (clears query before closing dialog).MOTION.md (frame-shutter-reveal, timeline-scrub-glide, glass-pill-glow, aspect-tile-lift, render-progress-sweep) strictly via compositor properties (transform, opacity), pause ambient .ap-pill-glow / .ap-render-sweep animations when [data-offscreen="true"], wrap below-the-fold sections in <ScrollReveal /> with mount viewport inspection and html.js-ready progressive visibility, and honor prefers-reduced-motion: reduce.21:9, 16:9, 4:5, 1:1) with disciplined 8px (var(--radius)) corners on cards and 4px–6px corners on timeline clips—never puffy rounded-3xl bubbles..ap-skeleton loading frames matching exact aspect geometry, an Empty Reel frame with one-click prompt preset/reset action, a Render Failure banner (var(--destructive)) with Retry Pass button, and non-blocking status toasts.@phosphor-icons/react Exclusivity: Import every UI icon exclusively from @phosphor-icons/react (Aperture, FilmStrip, FilmSlate, Sliders, Sparkle, Play, Pause, Camera, VideoCamera, Waveform, Shuffle, Lock). For hero stills, reel thumbnails, and showcase imagery, load verified local assets from public/media/ or public/generated/ (or generate palette-locked imagery from ASSETS.md), or use procedural SVG/Canvas optical patterns—never external stock placeholder URLs or bare placeholder copy blocks.<a href="#main-content" className="sr-only focus:not-sr-only ...">Skip to content</a> as the first focusable control on every route, pair every <Sparkline /> with aria-label and an sr-only data table, confirm settings changes persist to target studio screens, and verify 0px horizontal overflow at 390×844 mobile and 1440×900 desktop.<CinemaStudioShell activeRoute="reel" themeMode="dark">
<section className="relative overflow-hidden border-b border-[var(--border)]">
{/* Full-bleed cinema still + Space Grotesk display title + translucent glass pill tray */}
</section>
<ScrollReveal>
<PromptParameterDeck onGenerate={handleQueueShot} />
</ScrollReveal>
<ScrollReveal delayMs={60}>
<StoryboardTimelineRail clips={shots} activeClipId={selectedId} onSelectClip={setSelectedId} />
</ScrollReveal>
</CinemaStudioShell><div className="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4"> <RenderMetricTile label="Frames / Min" value="148.4" delta="+12.4%" tone="indigo" /> <RenderMetricTile label="Median Render" value="04.2s" delta="-0.8s" tone="emerald" /> <RenderMetricTile label="Active Workers" value="12 / 16" delta="75% load" tone="sky" /> <RenderMetricTile label="Queue Depth" value="03 shots" delta="Priority" tone="rose" featured /> </div>
#hex literals, text-white, or bg-black inside reusable components—always bind semantic CSS variables from tokens.css so Light (#fafafa) and Dark (#0a0c14) modes both meet WCAG 2.2 AA.from-indigo-500, from-purple-500, via-purple-500, to-pink-500), puffy rounded-3xl container bubbles, or flat bg-slate-900 cards.opacity: 0 scroll reveals, unpaused infinite offscreen animations, browser alert() dialogs, or ASCII icons replacing @phosphor-icons/react.<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.