Code
Light glass, not dark slate. --code-bg: rgba(255,255,255,0.55) on top of a backdrop blur. Syntax tokens are warm earth-tones — keys/commands in burnt sienna, strings in moss, keywords in plum.
Rendered
# Create a new employee record curl -X "POST" https://api.matter.so/v1/employees \ -H "Authorization: Bearer $MATTER_API_KEY" \ -d '{"name": "Alex Kim", "role": "engineer", "vested": true}'
Syntax tokens
| Token | Value | Role |
|---|---|---|
--code-fg | #14110D | default ink |
--code-key | #C04C20 | burnt sienna — keys, commands |
--code-string | #2F7A6E | moss — string literals |
--code-number | #6E5BBF | plum — numbers, keywords |
--code-bg | rgba(255, 255, 255, 0.55) | light glass background |
React
import { CodeCard } from "@repo/brand/components/code-card";
<CodeCard verb="POST" path="/v1/employees" time="1.2s">
curl -X POST https://api.mattermode.com/v1/employees
</CodeCard>Wrap fenced curl / JSON in
<CodeCard verb path> — the surface is light glass, not slate.Don't author a dark code surface. The system is light-glass by rule.
Sheet
Overlay primitive — full-bleed scrim that blurs the page behind, with a centered glass card. Tunable per-instance via `--sheet-scrim-tint` and `--sheet-card-tint`.
The glass rule
Glass is for navigation, sheets, and transient overlays — surfaces the user reads *through*. Cards and content stay opaque.