name:uikit-scuderia
description:Implements Italian chiaroscuro black-and-white automotive editorials, heritage era archives, endurance paddock logs, and race telemetry portals using the Scuderia — Chiaroscuro Auto design system (0px gallery geometry, Cormorant Garamond serif display, extreme-sparseness racing crimson, W3C DTCG tokens, and 7 CSS-variable-first TSX templates).
license:MIT
compatibility:"React 18+/19+, Next.js 14+/16+, Tailwind CSS v4, TypeScript 5+"
metadata:
id:"scuderia"
version:"2.2.0"
category:"automotive-editorial"
status:"stable"
author:"uikits.tech"
backbone:"uikit-backbone"
iconLibrary:"@phosphor-icons/react"
preview:"/previews/scuderia-hero.webp"
uikit-scuderia — Master Execution Protocol (v2.2.0)
You are building production automotive editorials, heritage timelines, and paddock telemetry portals with the Scuderia — Chiaroscuro Auto UI Skill Pack (tokens/ + templates/ + lint.json + governance/eval specs). Combine with registry/backbone/ (uikit-backbone) whenever an application needs extended multi-route form workflows beyond the 7 Scuderia templates.
ANTI-VIBECODE MANDATE: Apply chiaroscuro polarity (#0a0a0a / #ffffff), extreme-sparseness racing crimson (#d61f1f), strict 0px architectural framing, verified studio photography, keyboard accessibility, and reduced-motion discipline automatically on the first pass.
1. Task-Based Read Routing
Always load DESIGN.md, tokens.css, and lint.json first, then consult the exact companion specs and starter templates for your target surface:
2. Bootstrap Procedure
- 1.Load Fonts in
src/app/layout.tsx:
Configure Cormorant_Garamond (--font-cormorant-garamond, weights 300, 400, 500, 600, 700), Inter (--font-inter), and JetBrains_Mono (--font-jetbrains-mono) via next/font/google, attach CSS variables to <html>, and set default <html data-theme="dark">.
Place tokens.css and tokens/tailwind.css directly below @import "tailwindcss"; in globals.css. Preserve both Chiaroscuro Dark (:root, [data-theme="dark"], .dark) and Gallery White ([data-theme="light"], .light) polarities.
- 3.Install Starter Primitives:
Copy all 7 templates from templates/ (ChiaroscuroEditorialShell.tsx, HeritageArchiveGrid.tsx, TrackTelemetryCard.tsx, CommandPalette.tsx, StatusBadge.tsx, ScrollReveal.tsx, Sparkline.tsx) into src/components/uikit-scuderia/.
Install @phosphor-icons/react (enforced by lint.json). Never blend conflicting icon families or raw emoji characters into UI controls.
3. The 12 Mandatory First-Pass Contracts
- 1.Strict 0px Architectural Corners: Enforce
0px (rounded-none) on every card, button, badge, input, timeline tab, modal, and SVG label box. Never apply rounded-md through rounded-3xl. - 2.Chiaroscuro Black-and-White Polarity: Build contrast from stark monochrome
#0a0a0a / #151515 / #ffffff (dark) and #ffffff / #f5f5f3 / #0a0a0a (Gallery White) using CSS custom properties—zero hardcoded #hex utilities in template JSX. - 3.Extreme-Sparseness Racing Crimson: Use
#d61f1f (dark, 5.3:1 AA with #ffffff) and #c41818 (light, 5.9:1 AA with #ffffff) sparingly—primary CTA fill, chapter rule sweep, and active sector/position telemetry only. - 4.Editorial Serif + Precision Mono Contrast: Pair light-to-medium
Cormorant Garamond headlines (weight: 300–500) with Inter editorial body copy and JetBrains Mono (tabular-nums) for lap times, chassis numbers, RPM curves, and uppercase CTA labels. - 5.Bespoke Studio Photography Standard: Embed
/images/hero-heritage.webp via <img> (fetchPriority="high", object-fit: cover, locked aspect-ratio: 16 / 9, CLS === 0, contrast-safe directional scrim). Never draw vintage coupes or silhouettes with clipart <svg> polygons. - 6.Precision Sector Telemetry SVG Craft: Render
TrackTelemetryCard and Sparkline with specular top hairlines, labeled speed/sector grids, opaque rx="0" readout pills, and zero label collisions. - 7.Chiaroscuro Motion Choreography: Implement
sd-chiaroscuro-fade, sd-crimson-rule-sweep, sd-archive-plate-rise, sd-telemetry-tick, and sd-drawer-silk-open. Above-the-fold hero plates remain immediately visible on first paint. - 8.Offscreen Pause & Reduced Motion: Pause pulsing telemetry markers when scrolled offscreen (
[data-offscreen="true"]), respect @media (prefers-reduced-motion: reduce), and keep .sd-reveal visible without JavaScript. - 9.Nested Keyboard & Escape Hierarchy: Support
Cmd/Ctrl+K editorial index (role="dialog" aria-modal="true"), capture-phase Escape on custom ScuderiaSelect dropdowns, visible crimson focus rings, and a skip-to-content link. - 10.Live Settings Propagation: Editorial Theme (
Chiaroscuro Dark vs Gallery White), Telemetry Units (Metric vs Imperial), Crimson Chapter Rules toggle, and Default Paddock Category filter must update every dependent screen immediately upon save. - 11.Complete State Parity: Include loading placeholders, empty filter states with one-click reset, inline form validation errors, and
role="status" live announcements. - 12.Brand-Safety & Verification Gate: Use only original editorial identities (
Scuderia Valenti, Valenti 250 Berlinetta, Circuito Valenti, example.com) and verify npx uikits-md check scuderia plus tsc --noEmit return zero errors.
4. Explicitly Banned Anti-Patterns
- BANNED: Flooding backgrounds or multi-card walls with solid red; racing crimson must remain sparse high-voltage punctuation.
- BANNED: Rounded corners (
rounded-md, rounded-lg, rounded-xl, rounded-2xl, rounded-3xl) or blurred drop shadows (shadow-xl, shadow-2xl). - BANNED: Clipart
<svg> vehicle outlines or external stock placeholder image URLs. - BANNED: Third-party automotive marques, borrowed racing team shields, or unformatted telemetry numbers without
tabular-nums.
Card, Diagram & Data Table Craft Standard
- DOM-First Product Visuals (Zero Slide-Style Circle Diagrams): Never depict workflows, pipelines, or architecture with numbered
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. - Unified Metric Rails Over Identical Floating Boxes: Prefer a single hairline-divided KPI rail flush to the workspace container over 4 disconnected floating rounded cards. Lead with one focal
tabular-nums value, an inline semantic delta (no redundant pill chrome), and a compact composition bar or sparkline grounded in real row data. - Dense, Interactive Data Tables: Operational lists (>6 items) must ship a toolbar (instant search, faceted filters, and a
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. - DOM-First Node Graphs & Topology Cards: Never render topology, ontology, DAG, module-bundle, or entity-relation graphs as
<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. - Visual Critique Gate: Inspect rendered cards and tables at desktop (
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.