- {/* Narrow sidebar strip */}
-
-
- {/* Main content area */}
-
-
-
-
-
-
-
-
-
+
+ {/* Typography samples -------------------------------------------- */}
+
+ Typography
+
+
+ Build at the speed of thought
+
+
+ Body copy renders in Inter 400 against the generated background.
+ Pure contrast, no soft shadows.
+
+
+ Caption and metadata use silver on black for secondary content.
+
+
+ {"$ nexus theme apply --bundle ./preview.json"}
+
+
+
+
+ {/* Color swatches ------------------------------------------------ */}
+
+ Palette tokens
+
+ {swatches.length === 0
+ ? SWATCH_ORDER.map(({ label, token }) => (
+
+ ))
+ : swatches.map((s) => (
+
+
+
+
+ {s.label}
+
+
+ {s.hex}
+
+
+
+ ))}
+
+
+
+ {/* Component samples --------------------------------------------- */}
+
+ Components
+
+ {/* Neon Primary — volt on near-black */}
+
+ {/* Forest Green CTA */}
+
+ {/* Dark Solid */}
+
+ {/* Ghost with olive-tinted volt-border */}
+
+
+
+ {/* Card samples: standard + pressed/inset */}
+
+
+
+ Card
+
+
+ Charcoal border
+
+
+ Standard container: 8px radius, 1px charcoal border, no
+ diffused shadow.
+
+
+
+
+ Card · pressed
+
+
+ Inset depth
+
+
+ Active state sinks into the surface with an inset shadow.
+
+
+
+
+
+
+ );
+}
+
+function FallbackSwatch({ label, token }: { label: string; token: string }) {
+ return (
+
+
+
+
+ {label}
+
+
+ {token}
+
);