feat: initial shared design system extracted from newerror

Foundation + chrome for the bchen.dev static sites: design tokens, Spectral /
Helvetica / IBM Plex Mono type, base + .prose typography, data-driven nav +
footer, and prefers-color-scheme + [data-theme] dark mode with a pre-paint
init. Colors are overridable CSS custom properties (defaults = newerror's
palette); each site sets only its own colors.css.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C96hwEU9cM7mJpqATiv7R5
This commit is contained in:
2026-06-30 21:20:21 -04:00
commit b61cb986f1
7 changed files with 584 additions and 0 deletions

9
footer.html Normal file
View File

@@ -0,0 +1,9 @@
{%- comment -%}
static-design-system — footer.html
Shared footer (chrome). Place inside a .shell.
Uses site.author, optional site.author_url (links the name), and optional
site.footer_years (e.g. "20252026").
{%- endcomment -%}
<footer class="foot">
<span>&copy; {% if site.author_url %}<a href="{{ site.author_url }}">{{ site.author }}</a>{% else %}{{ site.author }}{% endif %}{% if site.footer_years %} {{ site.footer_years }}{% endif %}.</span>
</footer>