Skip to content

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

TokenValueRole
--code-fg#14110Ddefault ink
--code-key#C04C20burnt sienna — keys, commands
--code-string#2F7A6Emoss — string literals
--code-number#6E5BBFplum — numbers, keywords
--code-bgrgba(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.

On this page