Skip to content
Basic Chaos

The publishing site · basicchaos.com

Design system

Handwriting up front. Clear type underneath. Color you can shuffle.

A reference drawn from the site as it is: its pages, components, styles and interactions.

Reviewed 6 November 2026 · Website reference and separate app library

Made by hand. Built to read.

Basic Chaos is a personal publishing site for projects, updates, signals and reading. Its character comes from the contrast between loose marks and clear structure.

Fields carry the color

The header, hero, reading drawer and project rows share one palette. Full-width bands hold the page together; a centered column gives the content its rhythm.

The hand stays visible

The wordmark, homepage title, shuffle, arrows, rules, outlines, scribbles and sun/moon switch use Josh’s lettering and drawings.

Reading stays quiet

Helvetica display headings and system body text do the rest. Clear hierarchy, generous space and plain language give the work room.

Three type roles

Handwriting identifies the site. Helvetica structures it. The system sans stack carries the reading. These are roles; the body stack may also resolve to Helvetica on some platforms.

Only the Themes homepage uses Basic Chaos Handwriting for all rendered text, including navigation, reading captions, theme cards, entries and footer. Body text is 18px; navigation is 18px and metadata, tags and footer are 16px. The project-list homepage and interior pages retain the shared typography defaults below, including handwritten branding; image artwork keeps its own lettering.

Basic Chaos Handwriting · bundled bold font

Basic Chaos

Projects

Words, hardware, software, sounds, music, research, experiments...

Implemented website styles. Fluid ranges show their CSS limits.
RoleFace & weightSize / leading
WordmarkBasic Chaos Handwriting, 70032px / 1; 28px at ≤850px. One line.
Homepage titleBasic Chaos Handwriting, 700clamp(72px, 15vw, 220px) / .60; clamp(64px, 25vw, 112px) at ≤560px. Two lines.
Page & section headsHelvetica Neue / Helvetica / Arial, 800clamp(38px, 6vw, 82px) / .86
Homepage project nameDisplay stack, 400clamp(36px, 5.7vw, 56px) / 1.1
Project & entry titlesDisplay stack, boldProject title capped at 180px; entry title at 116px. Both also fit to text length. Signals: 36–72px / 1.
BodySystem sans, 40016px / 1.55
ProseSystem sans, 400clamp(17px, 1.6vw, 20px) / 1.72; 760px reading measure
Entry metadata / tagsSystem sans, 80011px / 10px. Entry metadata is right aligned.

Display tracking is −.02em; handwriting uses normal tracking and disables synthesized bold. Headings and navigation keep natural casing. The small reading-kind label is an existing uppercase exception.

Color moves. Roles stay.

Two independent layers do different jobs. The four --field* tokens recolor the bands. Semantic page tokens relight the canvas, cards, text and rules for day and night.

Day

Moss field, pale canvas, ink text.

Basic ChaosField text · #f5f5f5
Surface · #f5f6f5
Text · #333333

Night

Deeper field, charcoal canvas, light text.

Basic ChaosField text · #f5f5f5
Surface · #1d2022
Text · #e9e9e6

The default field

TokenDefaultUse
--field#4c7a58 day
#2c4733 night
Header, hero, colored bands and reading drawer
--field-text#f5f5f5Ordinary text on colored fields
--field-loud#9ad6fbWordmark, homepage title, shuffle, scribbles and accent fills
--field-dark#111111Dark tint for project tags on the Themes homepage. Check contrast before using as text.

The homepage’s Themes layout carries the shuffled field color through the reading drawer, theme cards, recent entries and footer, using solid paper-white text and drawn rules. The list layout and interior pages keep the day/night surfaces shown above.

The publishing site’s paper is #f5f5f5. The app library’s warm --bc-paper is #efece5; these values are different and have different contrast on moss.

Sixteen palettes, each with a night field

The default is Moss / Sky. Shuffle deals the remaining choices without repeating until the deck is exhausted. These specimens show day fields; the night hex is listed below each.

Moss / Sky

Day #4c7a58
Night #2c4733

Cobalt / Lemon

Day #2f5bd3
Night #1b357a

Vermilion / Pink

Day #c93a2a
Night #752218

Teal / Peach

Day #1f7a7a
Night #124747

Rust / Ice

Day #b5501c
Night #692e10

Raspberry / Mint

Day #cc1f66
Night #76123b

Umber / Cyan

Day #7a5d39
Night #473621

Forest / Butter

Day #2d6a4f
Night #1a3d2e

Ocean / Coral

Day #1b6a9c
Night #103d5a

Pine / Pink

Day #24604a
Night #15382b

Denim / Lime

Day #2a5f9e
Night #18375c

Olive / Cream

Day #5e6b2a
Night #373e18

Crimson / Lemon

Day #b3262e
Night #68161b

Cobalt / Mint

Day #2f5bd3
Night #1b357a

Charcoal / Orange

Day #3a3f44
Night #222527

Clay / Aqua

Day #a65a3a
Night #603422

Semantic page colors

Resolved aliases from src/styles/global.css.
TokenDayNightUse
--bg#f5f6f5#141617Default page canvas
--bg-home#ececec#141617Home, project and updates canvas
--surface#f5f6f5#1d2022Entry cards
--surface-alt#f5f5f5#141617Paper sections; selected page classes use --bg-home
--text#333333#e9e9e6Primary text
--text-muted#5a656b#a3adb2Metadata, summaries and captions
--rule#333333#d9d9d5Drawn outlines and rules
--rule-soft#b9c0c0#4a5054Book and project-fact dividers
--rule-faint#c9cfcf#3a3f42Entry pager divider
--link-hover#2f7fbe#87cefaLink hover accent
--chip#dde1e1#2c3134Tags and inline code
--block#333333#23272aProject cards and dark blocks
--footer#1d1f21#0c0d0eFooter field

A column inside the field

1180px shell

--measure: 1180px. Side gutters use clamp(18px, 4vw, 56px). The hero uses the same gutters with its own full-width inner container.

Fluid space

Sections use 56–112px vertical padding. Card grids use 16px gaps. Spacing follows the content; the site does not enforce the old library’s strict 4px-only scale.

Mostly square

Bands, entry cards and actions keep hard edges. Small radii exist on project rows, reading covers and screenshot thumbnails. The theme switch is drawn as a circle.

Website breakpoints
WidthWhat changes
Above 850pxProject index has two columns. Entry cards span 4 of 12 columns; the featured card spans 8. Project copy and facts sit side by side.
850px and belowProjects and copy/facts stack. Entries use equal half-width cards. Reading becomes a horizontal snap shelf; book author and year move below the title. Image-row text uses the full width.
Above 560pxThe day/night switch sits immediately after the brand and shuffle, before navigation.
560px and belowNavigation gets its own second row with 14px labels. Entry cards and “See it all” fill the width. Reading items use 42% of the shelf. The footer stacks.

The pieces on the page

The publishing site uses Astro components and page-specific patterns. The older bc-* app classes live in a separate library.

A native reading drawer

Current & recent reading

The homepage uses native details and summary, with cover previews, a drawn plus that rotates into a close mark, and a responsive shelf.

Simplified specimens. The source components define the complete behavior and sizing.

PatternCurrent behaviorSource
Header & footerOne-line handwritten wordmark; Projects, Updates, About, RSS; shuffle and sun/moon switch. Footer includes Books, feeds and legal links.Header.astro, Footer.astro
Homepage heroTwo-line handwritten title, large shuffle drawing and a live signal line. Signal space is reserved to prevent the title jumping.src/pages/index.astro
Project rowsThe whole row is a link. Names and taglines sit on accent scribbles. Optional wide covers are grayscale, multiplied with the field, and veiled for legibility.src/pages/index.astro, .project-row
Project index cardsDark semantic blocks with status, title and an outward arrow. Separate from the image-backed homepage rows.src/pages/projects/index.astro
Entry cards & tagsDrawn frames, optional 16:9 cover, right-aligned metadata, headline link and project tags. The whole card is not a link.EntryCard.astro, ProjectTag.astro
Reading & booksCurrent reading is a disclosure shelf. Favorite books are grouped text rows with authors, years and drawn dividers.CurrentlyReading.astro, Bookshelf.astro
Page intros & proseAbout, Projects, Updates and Experiments open with a title-only field band. Long reading uses a 760px column; project facts sit alongside it on desktop..page-intro, .prose, .project-copy

Drawings are functional assets

PNG masks inherit currentColor or a semantic token. Thick, medium and thin rules use visible image heights of 4.5px, 4px and 2.5px. Frames combine four scanned lines. Decorative spans are hidden from assistive technology.

Work images stay plain in articles; homepage project backgrounds use grayscale/multiply and a gradient veil. Small phone screenshots have 8px corners and a one-pixel edge. The current social image is og-home-v2.png, generated by the build from the homepage.

Small controls. Shared state.

InteractionImplemented behavior
ShuffleHeader control on every page; an additional large control on the homepage. Both change colors and, on the homepage, the signal. Palette and signal decks avoid repeats until exhausted.
Palette memorysessionStorage: bc-palette holds day and night values for the tab. Page navigation restores the palette before paint. Clicking the wordmark clears it and returns to default moss.
Day / nightLabeled role="switch" button with aria-checked. data-theme lives on html; localStorage: bc-theme stores an explicit pick. Without a pick, the site follows the system theme.
MotionShort hover transitions; a 220ms shuffle takeover and 400ms signal entrance; 500ms drawer expansion and staggered 550ms reading entrances. Easing: cubic-bezier(.2, 0, 0, 1).
Reduced motionShuffle skips its takeover and signal animation. CSS reduces transitions and animations to .01ms and disables smooth scrolling.

This documentation page follows the system’s light/dark preference in CSS. It adds no browser storage. The interactive state above describes the publishing site.

Legible by role

Use the solid field text for reading on colored bands. Reserve the loud accent for large display text and graphics, or as a light fill carrying dark text.

These measurements describe token pairs, not a full accessibility certification. Check small links, hover states, image-backed text and newly composed surfaces in context. The documentation records existing casing, corner and imagery exceptions instead of presenting absolute rules the site does not follow.

Follow the implementation

The publishing site imports src/styles/global.css. It does not load the app library’s tokens.css, ui.css or app.css.

FileResponsibility
src/styles/global.cssLive tokens, fonts, all site patterns, drawn assets and responsive rules
src/data/palettes.tsThe 16 palette records, with day and night fields
src/scripts/shuffle.ts
src/scripts/theme.ts
Palette/signal decks, storage, theme switching and reduced motion
src/layouts/BaseLayout.astroSite shell, font preload and before-paint state restoration
src/components/
src/pages/
Reusable content components and route-specific patterns
public/hand/
public/fonts/
public/images/scribbles/
Scanned drawings, handwriting fonts and scribble masks

Download the website token snapshot (JSON) · Read the current principles

Documentation is maintained in the separate “Design System - Basic Chaos” folder and copied into this site’s public folder. Update the source first, then sync the copies. The JSON is a dated reference; the implementation remains authoritative.

The app & prototype library

The existing three-mode bc-* / bca-* library remains available for tools. Its pill controls, mode classes, alternate rooms and icon sprite have their own conventions. Its demos illustrate that library; they are not replicas of this publishing site.

Raw library files: ui.css · app.css · icons.svg · icon license.