# Hammhaus
> A portable, token-driven CSS design system. One stylesheet, zero runtime
> dependencies, ~40 components. Editorial print-shop aesthetic: paper, ink, and
> spot-color conviction. MIT licensed. Motto: "Hamm follows form."
Hammhaus is plain CSS. There is no build step, no JavaScript requirement, and
no framework. You style HTML by adding `hh-`prefixed classes, and you theme by
overriding `--hh-*` CSS custom properties (globally at `:root` or scoped to any
element/section). All class and token names use the `hh-` namespace so it never
collides with existing styles.
## Install
Add to the document `
` (fonts are Archivo + JetBrains Mono):
```html
```
Or self-host: download `hammhaus.css` and link it locally. The fonts are
optional — the system falls back to `system-ui` if they are absent.
## Core model
- Layout: `.hh-container`, `.hh-container--wide`, `.hh-section` (+ surface
modifiers `--paper`, `--white`, `--ink`, `--blue`, `--red`, `--yellow`),
`.hh-stack`, `.hh-cluster`, `.hh-grid`, `.hh-split`, `.hh-full-bleed`.
- Type: `.hh-display`, `.hh-title`, `.hh-section-title`, `.hh-subhead`,
`.hh-lede`, `.hh-kicker`, `.hh-label`, `.hh-mono`, `.hh-prose`, `.hh-quote`,
`.hh-list`, `.hh-code`, `.hh-code-block`, `.hh-kbd`, `.hh-divider`.
- Actions: `.hh-button` (+ `--primary`, `--blue`, `--yellow`, `--ghost`,
`--small`, `--large`, `--block`), `.hh-icon-button`.
- Forms: `.hh-form`, `.hh-field` (+ `--error`, `--success`), `.hh-input`,
`.hh-select`, `.hh-textarea`, `.hh-help`, `.hh-check`, `.hh-radio`,
`.hh-switch`, `.hh-range`.
- Content: `.hh-card` (+ `--raised`, `--hard`, `--inverse`, `.hh-card__media`),
`.hh-badge`, `.hh-chip`, `.hh-dot`, `.hh-avatar` / `.hh-avatar-group`,
`.hh-alert` (+ `--success`, `--warning`, `--danger`, `--info`),
`.hh-stat-grid` / `.hh-stat`, `.hh-progress`, `.hh-table`, `.hh-timeline`,
`.hh-accordion`, `.hh-tabs` / `.hh-tab`, `.hh-segmented` / `.hh-segment`,
`.hh-breadcrumbs`, `.hh-pagination`, `.hh-spinner`, `.hh-skeleton`,
`.hh-dialog` (styles native `