Style guide

Every piece of this site, on one page.

Colors, type and components, each with the class that makes it. Copy from here when you build a new page. Switch the theme to see both sets of colors.

Color

Ten names, each with a light and a dark value. They are set at the top of src/input.css.

  • paperPage background
  • surfaceCards and fields
  • sunkenBands and tables
  • inkText and solid buttons
  • mutedSecondary text
  • line-strongBorders
  • accentLinks, marks, focus
  • accent-softQuiet highlights
  • markThe marker stroke
  • badErrors

Type

Fraunces for headings, Instrument Sans for reading, JetBrains Mono for labels.

text-hero

Start on site

text-title

Start on site

text-heading

Show the working thing

text-lead

A prototype someone can hold beats a slide someone can admire.

body

We do not design for places we have not stood in. Every project begins with a visit, and the budget always has travel in it. A link in running text.

accents

An italic word and a marked one.

Buttons

Four looks and three sizes. Add btn and one look.

Tags and notes

Small labels, and boxes for something worth saying twice.

ResearchProductNew

A plain note, for an aside.

Good news, or something finished.

Something went wrong, or needs fixing.

Form fields

Every field has a label, room for a hint, and a place for its error. Leave a required field empty and move on to see one.

A hint sits under the field.

Choices

0 of 400 characters.

Table

Scrolls sideways inside itself on a narrow screen, so the page never does.

An example table
PhaseWeeksWhoYou get
Go and look1Two of us, on siteNotes and photographs
Frame1Research and designA two-page brief
Make6 to 12The whole teamWorking versions, weekly

Tabs

Arrow keys move between them. Used for the four services.

The first panel. Only one shows at a time.
The second panel. Only one shows at a time.
The third panel. Only one shows at a time.

Questions

Built on the browser's own details element, so it works without the script.

Does this open and close?

It does, with a click, a tap, Enter or Space.

Do they close each other?

Yes: questions that share a name close when another opens.

Filter chips

Buttons that show and hide what is in a list, and say how many are left.

Showing all 3 items.

  • 01
  • 02
  • 03

Copy and toast

A small message at the bottom of the window that goes away on its own.

Pagination

For a journal with more posts than fit on a page.