{{define "styleguide-head"}} {{end}} {{define "styleguide"}}
Design System
Single source of truth. One stylesheet: clavitor.css. No inline styles in HTML.
Colors
Backgrounds
Text
Accent
Typography
p.lead — We run it. You own it. Pick your region — your data stays there.
p — Passwords and private notes are encrypted on your device with a key derived from your fingerprint or hardware token. We store a locked box. No key ever reaches our servers.
label (default)
label.accent
label.gold
label.red
clavitor — vaultname in body text
Cards
card (default)
Use for neutral content. Background is --surface.
card.alt
Green-tinted surface. Use for sealed layer content.
card.gold
Gold-tinted surface. Use exclusively for Zürich/HQ.
card.red
Red-tinted surface. Use for self-hosted / warning contexts.
card + card-hover
Hover this card — lifts on hover. Add to any clickable card.
Buttons
btn-row — flex wrap container for button groups
Badges
Hero split
hero-split — two-column hero with text left, visual right. Use on .container instead of .hero.
Left column
Text, heading, lead paragraph, btn-row.
Right column
SVG diagram or visual. Vertically centered via align-items.
Code blocks
Terminal
JSON — code-block pre resets margin and sets --muted
{
"mcpServers": {
"clavitor": {
"url": "http://localhost:1984/mcp",
"headers": { "Authorization": "Bearer token_here" }
}
}
}
Grid
grid-2
col 1
Always 1fr.
col 2
Always 1fr.
grid-3
col 1
Always 1fr.
col 2
Always 1fr.
col 3
Always 1fr.
Spacing scale
All spacing via utility classes: .mt-2 .mt-3 .mt-4 .mt-6 .mt-8 .mt-12 and matching .mb-*.
Container: max-width 1100px, padding 2rem each side. Used everywhere.
Section: padding 4rem top/bottom. Separated by hr.divider.
End of styleguide