Skip to contentShawn Oakley

Back to Notes

Colophon

This site is part of the portfolio: it is meant to be read as code as well as pages.

Stack

LayerChoice
FrameworkNext.js 16, App Router, TypeScript in strict mode
StylingTailwind CSS v4. Tokens stay custom properties, and the utilities read them. CSS modules remain for print and for the document frame.
ContentMDX files in the repository
EngineThe citecheck Python package behind a thin FastAPI service, pinned to a version shown in the footer
HostingVercel, both services in one project

Type

Document text is set in Literata, a book face, because filings and opinions are meant to be read at length. Interface text is set in Public Sans, the open typeface of the U.S. government's design system. Both are self-hosted; the site makes no request to a font service.

Color

The palette comes from a litigation desk: bond paper, ink, the blue of a litigation back, redline red, and highlighter yellow. Every status has its own icon shape and a text label, so no meaning depends on color.

Light and dark follow your device by default. The control in the header lets you choose either one, and "Auto" returns to the device setting. Your choice is stored in this browser only.

Budgets

These are enforced in continuous integration. A change that breaks one does not merge.

BudgetLimit
AccessibilityZero axe violations on every route, in light and dark mode
Lighthouse performance95 or higher
Lighthouse accessibility100
Largest contentful paint2.0 seconds or less
Cumulative layout shift0.05 or less
Total blocking time150 ms or less

Tests

Unit tests run in Vitest. End-to-end and accessibility tests run in Playwright against a production build. The API has its own tests in pytest.