name:uikit-touring
version:"2.2.0"
description:Implements dark satin-graphite German motorsport showcases, 2px sharp chassis configurators, SVG tachometer powertrain telemetry panels, tri-tone performance dividers, and track-day lap ledgers using the Touring — German Motorsport design system (W3C DTCG tokens, CSS v4 @theme bridge, design variables JSON, Dark & Light modes, 7 CSS-variable-first TSX templates with @phosphor-icons/react, and WCAG 2.2 AA governance specs).
license:MIT
compatibility:"React 18+/19+, Next.js 14+/16+, CSS v4 @theme, TypeScript 5+"
metadata:
id:"touring"
version:"2.2.0"
category:"automotive-motorsport"
status:"stable"
author:"uikits.tech"
backbone:"uikit-backbone"
iconLibrary:"@phosphor-icons/react"
wcag:"2.2 AA"
preview:"/previews/touring-hero.webp"
uikit-touring — Master Execution Protocol (v2.2.0)
You are building commercial motorsport showcases, bespoke chassis ateliers, powertrain tachometer telemetry modules, and track-day allocation consoles with the Touring — German Motorsport UI Skill Pack (tokens/ + templates/ + empirical screen & governance specs). Pair with registry/backbone/ (uikit-backbone) when applications require expanded account or logistics workflows while keeping Touring's razor-sharp 2px dark-graphite engineering discipline.
GERMAN MOTORSPORT EXECUTION MANDATE: Never dilute this pack with bubbly SaaS corners or clipart cars. Anchor every default Dark canvas on machined dark graphite (#0c0e12), elevate telemetry and atelier panels onto #161a22 with specular top hairlines and sharp 2px (0.125rem) machined corners, set monumental uppercase Barlow Condensed display headlines paired against composed light-to-regular Inter engineering copy and tabular JetBrains Mono lap/power figures, drive primary commissions with motorsport cobalt (#1c69d4 with #ffffff ink at 5.30:1 AA), reserve the tri-tone performance pinstripe (ice blue #38bdf8 · cobalt #1c69d4 · racing crimson #e11d48) strictly as a surgical heritage marker, embed verified local motorsport photography (/images/hero-motorsport.webp, fetchPriority="high", CLS === 0), activate all 5 motion profiles, and ship Daylight Engineering Bay Light mode (#f4f5f7 / #ffffff / #101216 / #1554ad at 7.35:1 AAA) automatically on the very first pass.
1. Task Routing Table
2. Step-0 Bootstrap Procedure
- 1.Install via CLI, Registry, or MCP:
- CLI:
npx uikits-md@latest add touring --platform all --out . - Registry:
npx shadcn@latest add https://uikits.tech/r/touring.json - MCP: invoke
get_ui_kit_skill and get_ui_kit_file for touring. - Peer dependencies:
npm install @phosphor-icons/react (plus react and react-dom). - 2.Load Fonts in
src/app/layout.tsx:
Import Barlow_Condensed (weight: ["600", "700"], variable --font-barlow-condensed), Inter (weight: ["300", "400", "500", "600"], variable --font-inter), and JetBrains_Mono (weight: ["400", "500", "600"], variable --font-jetbrains-mono) via next/font/google. Attach all three variables to <html> and apply .tr-root to <body>.
- 3.Import
tokens.css and tokens/tailwind.css:
Load tokens.css and tokens/tailwind.css directly below your root stylesheet import to enable Dark Graphite default (#0c0e12) and Daylight Bay (#f4f5f7), 2px sharp geometry, tri-tone pinstripe helpers, and all 5 motion primitives.
- 4.Install All 7 Starter Templates:
Copy MotorsportShowcaseShell.tsx, PowertrainTelemetryPanel.tsx, TrimBespokeConfigurator.tsx, CommandPalette.tsx, StatusBadge.tsx, ScrollReveal.tsx, and Sparkline.tsx into src/components/uikit-touring/.
3. The 12 Mandatory First-Pass Rules
- 1.Sharp
2px (0.125rem) Machined Geometry (maxCornerRadiusRem: 0.25): Enforce 2px (rounded-[2px]) across every CTA button, chassis card, select trigger, drawer, and specification cell. Never use rounded-xl, rounded-2xl, rounded-3xl, or soft pill CTAs. - 2.Dark Satin-Graphite Default + Daylight Bay Parity: Ground Dark mode on
#0c0e12 (var(--background)), elevate sculpted cards onto #161a22 (var(--surface)), and transition cleanly in [data-theme="light"] to #f4f5f7 bay floor, #ffffff cards, #101216 carbon ink, and #1554ad cobalt (7.35:1 AAA with white ink). - 3.100% Semantic CSS Variables (Zero Hardcoded
#hex in TSX): Bind every surface, border, ink, and telemetry meter strictly to CSS variables (var(--background), var(--surface), var(--foreground), var(--primary), var(--highlight), var(--border)). - 4.Motorsport Cobalt Primary + Surgical Tri-Tone Performance Marker: Spend motorsport cobalt (
--primary: #1c69d4 dark 5.30:1 AA with white; #1554ad light 7.35:1 AAA) on primary build actions. Reserve the 3-bar performance pinstripe (ice blue #38bdf8 · cobalt #1c69d4 · crimson #e11d48) strictly as 4px structural dividers and telemetry accents—never as full-bleed background fills. - 5.Verified Studio Motorsport Photography (Zero Cartoon Car SVGs): Hero chassis showcases MUST embed verified local
.webp studio renders (/images/hero-motorsport.webp with fetchPriority="high", object-fit: cover, locked 16:9 aspect ratio, CLS === 0, contrast-safe scrim). Never approximate vehicles using primitive <svg> polygons. - 6.Uppercase
Barlow Condensed + Engineered Inter + JetBrains Mono Telemetry: Style model designations and section headers in uppercase Barlow Condensed (700, 0.96 line-height), pair with crisp light-to-regular Inter prose, and format EVERY horsepower (640 HP), torque (780 Nm), curb weight (1,518 kg), downforce (340 kg), lap time (1:24.812), and price ($148,500) in .tr-mono (tabular-nums). - 7.Precision SVG Tachometer Telemetry (
PowertrainTelemetryPanel.tsx): Render a clean semicircular RPM gauge (0–9,000 RPM with crimson redline zone) featuring specular framing, opaque 2px readout boxes with zero text-on-arc collisions, and interactive drive-mode tabs (Road, Sport, Track) updating peak RPM, HP, Torque, and 0–100 live. - 8.Live Bespoke Atelier Configurator (
TrimBespokeConfigurator.tsx): Toggling Exterior Paint, Forged Center-Lock Wheels (-14 kg), Carbon Ceramic Brakes (-18 kg), and Track Aero & Telemetry Pack (+115 kg downforce) immediately recalculates curb weight, downforce, and commission total while allowing direct allocation submission into Track Days. - 9.Global
⌘K Motorsport Palette & Capture-Phase Escape: Bind Cmd/Ctrl+K to <CommandPalette /> (role="dialog" aria-modal="true") and ensure custom TouringSelect circuit dropdowns handle ArrowUp/ArrowDown/Home/End/Enter and capture-phase Escape. - 10.All 5 Registered Motion Profiles + Offscreen Pause + No-JS Safety: Implement
tachometer-sweep, tri-pinstripe-draw, trim-swatch-snap, spec-counter-roll, and panel-precision-rise in tokens.css with [data-offscreen="true"] pause, @media (scripting: none), and @media (prefers-reduced-motion: reduce). - 11.Verified
@phosphor-icons/react Exclusive Iconography: Use @phosphor-icons/react exclusively (Gauge, FlagCheckered, Wrench, SlidersHorizontal, ArrowRight, ArrowUpRight, MagnifyingGlass, Check, CheckCircle, Copy, X, Sun, Moon). Never insert external stock placeholder URLs. - 12.Skip Link, Zero-Overlap Drawer Header & Zero Overflow: Ship
<a href="#main-content" className="sr-only focus:not-sr-only ...">Skip to motorsport bay</a>, ensure @container (max-width: 1160px) 2-row drawer header and 520px tight mobile header have zero overlap, and enforce 0px horizontal overflow from 390px through 1440px.
4. Blueprint Recipes
- Sculptural Chassis Hero + Live Tachometer (
Home): Pair the locked 16:9 studio render /images/hero-motorsport.webp alongside an interactive SVG Powertrain Tachometer Panel (Road / Sport / Track drive modes) crowned by a 4px tri-tone performance pinstripe. - Bespoke Chassis Atelier (
Atelier): Split configurator recalculating real curb weight (kg), aero downforce (kg), top velocity (km/h or mph per Settings), and commission total ($). - Track-Day Lap & Allocation Manifest (
Track Days): Searchable circuit ledger filtered by custom TouringSelect (All Circuits, Eifel North, Hockenheim GP, Spa-Ardennes, Monza Fast) with a 2px slide-over telemetry sheet drawer.
5. Explicitly Banned Anti-Patterns
- BANNED — Pill Buttons & Puffy Cards: Never apply
rounded-xl, rounded-2xl, rounded-3xl, or full-pill CTAs to Touring motorsport panels or actions; maintain 2px sharp geometry. - BANNED — Cartoon Car SVGs: Never draw coupes, brakes, or track outlines with clipart SVG polygons; embed verified local
.webp studio renders. - BANNED — Decorative Rainbow Gradients: Keep chromatic signals locked to motorsport cobalt (
#1c69d4), racing crimson (#e11d48), and ice blue (#38bdf8). - BANNED — Third-Party Motorsport Brands & Placeholder URLs: Never mention third-party automakers or stock placeholder URLs. Use neutral original chassis designations (
Touring RS-640, RS-GT Track, Kestrel Forged, Nordring Spec) and RFC 2606 domains (example.com).
Hero Card & Visual Craft Mandate
- Zero Clipart SVGs for Real-World Subjects: Touring's hero embeds verified local studio render
/images/hero-motorsport.webp (fetchPriority="high", object-fit: cover, locked 16:9 aspect ratio, CLS === 0, contrast-safe dark scrim, zero logos). - Precision Tachometer SVG Craft: Companion tachometer telemetry panel enforces specular top lighting (
inset 0 1px 0 rgba(255,255,255,0.12)), clean radial ticks, crimson redline arc, opaque 2px readout boxes with ZERO text-on-arc overlap, and font-variant-numeric: 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.