Live preview
Use this system
Three ways to drop Onyx into your workflow.
Save the file for your tool — your agent then generates UI in Onyx, automatically.
CLAUDE.mdRepo root — Claude Code reads it automatically.
.cursor/rules/onyx.mdcProject rule — applied to every generation.
.windsurfrulesRepo root — Cascade reads it automatically.
.github/copilot-instructions.mdRepo-wide custom instructions for Copilot.
The system
Brand & Voice
Onyx is luxury reduced to black and silver. No color, no noise — just deep matte surfaces, brushed-metal accents, and impeccable spacing. Understated, expensive, and utterly composed.
Layout & Grid
Wide margins, slow transitions, and a near-monochrome dark palette. Silver marks the single most important element; everything else is shades of black.
Components
Buttons
Minimal radius.sm buttons — brushed silver color.brand.primary with dark
onBrand text, or a fine silver hairline outline.
Cards
Deep matte cards on color.surface.raised separated by faint borders and a soft
shadow.md; silver appears only where it counts.
Accessibility
Monochrome luxury with real contrast: light and muted text pass WCAG AA on the black surfaces. State color is the only chroma and always paired with a label.
Tokens
Color (14)
Tokens
Export
One source of truth, five formats — copy or download any of them.
---$schema: https://designmd.in/schema/v1.jsonid: onyxname: Onyxtitle: Onyx — Black & Silver Luxuryversion: 1.0.0category: luxurytags: [luxury, dark, silver, minimal, premium]author: designmdlicense: CC-BY-4.0updatedAt: 2026-06-22colorMode: [dark]tokens: color: brand: primary: { value: "oklch(0.82 0.012 250)", type: color } secondary: { value: "oklch(0.6 0.02 250)", type: color } onBrand: { value: "oklch(0.16 0.006 250)", type: color } text: primary: { value: "oklch(0.96 0.004 250)", type: color } muted: { value: "oklch(0.72 0.01 250)", type: color } link: { value: "{color.brand.primary}", type: color } surface: base: { value: "oklch(0.14 0.004 250)", type: color } raised: { value: "oklch(0.185 0.006 250)", type: color } sunken: { value: "oklch(0.1 0.003 250)", type: color } border: default: { value: "oklch(0.3 0.008 250)", type: color } state: success: { value: "oklch(0.72 0.14 150)", type: color } danger: { value: "oklch(0.66 0.2 25)", type: color } warning: { value: "oklch(0.8 0.14 85)", type: color } info: { value: "oklch(0.72 0.12 230)", type: color } typography: family: sans: { value: "Neue Montreal, system-ui, sans-serif", type: fontFamily } mono: { value: "ui-monospace, monospace", type: fontFamily } scale: sm: { value: "0.875rem", type: dimension } base: { value: "1rem", type: dimension } lg: { value: "1.3rem", type: dimension } xl: { value: "1.8rem", type: dimension } "2xl": { value: "2.5rem", type: dimension } "3xl": { value: "3.5rem", type: dimension } weight: regular: { value: 400, type: fontWeight } bold: { value: 600, type: fontWeight } leading: tight: { value: 1.1, type: number } normal: { value: 1.55, type: number } spacing: base: { value: "0.25rem", type: dimension } radius: sm: { value: "0.25rem", type: dimension } md: { value: "0.5rem", type: dimension } full: { value: "9999px", type: dimension } shadow: sm: { value: "0 1px 2px oklch(0 0 0 / 0.5)", type: shadow } md: { value: "0 16px 44px oklch(0 0 0 / 0.6)", type: shadow } motion: duration: base: { value: "260ms", type: duration } easing: standard: { value: "cubic-bezier(0.22, 1, 0.36, 1)", type: cubicBezier } breakpoint: md: { value: "768px", type: dimension } iconography: style: { value: "1px stroke, fine silver, minimal", type: descriptor } zIndex: dropdown: { value: 1000, type: number } modal: { value: 1300, type: number }---# Onyx Design System## Brand & VoiceOnyx is luxury reduced to black and silver. No color, no noise — just deepmatte surfaces, brushed-metal accents, and impeccable spacing. Understated,expensive, and utterly composed.## Layout & GridWide margins, slow transitions, and a near-monochrome dark palette. Silver marksthe single most important element; everything else is shades of black.## Components### ButtonsMinimal `radius.sm` buttons — brushed silver `color.brand.primary` with dark`onBrand` text, or a fine silver hairline outline.### CardsDeep matte cards on `color.surface.raised` separated by faint borders and a soft`shadow.md`; silver appears only where it counts.## AccessibilityMonochrome luxury with real contrast: light and muted text pass WCAG AA on theblack surfaces. State color is the only chroma and always paired with a label.