aboutsummaryrefslogtreecommitdiff
path: root/utils/assert/assert.ts
diff options
context:
space:
mode:
authorBobby <[email protected]>2026-04-22 06:22:02 +0530
committerBobby <[email protected]>2026-04-22 06:31:59 +0530
commit762bdbbee5d21a8785b3b9d5ab766faf6a8bfcb9 (patch)
tree9c98eaf627773dbaa15cb8a4a2784177e78db018 /utils/assert/assert.ts
parentbd2154a34579902b1163fa0e0a1f51f341413060 (diff)
downloadhollowdark-762bdbbee5d21a8785b3b9d5ab766faf6a8bfcb9.tar.xz
hollowdark-762bdbbee5d21a8785b3b9d5ab766faf6a8bfcb9.zip
Add design tokens and global styles
The single source of truth for colors, fonts, spacing, type scale, line height, and transition timing — applied as CSS custom properties on :root per rules/01-code-style.md. Component styles reference these via var(), never hex literals. body.crisis-mode swaps --color-bg, --color-text, and --color-accent to the tighter palette from docs/22-crisis-mode.md. The transition runs at --transition-ceremonial so the shift is felt rather than flashed. Global reset: no-select everywhere (the reading surface is not a document), .selectable escape hatch for input fields, smooth scroll, minimal scrollbars hidden on coarse pointers, prefers-reduced-motion respected. The oncontextmenu handler in app/app.html suppresses right-click. Font-face declarations point at static/fonts/ with font-display: swap and relative URLs so they resolve correctly under the GitHub Pages base path. Font files land separately.
Diffstat (limited to 'utils/assert/assert.ts')
0 files changed, 0 insertions, 0 deletions