geek out on Monospace

Type and color

One family carries the whole kit: Martian Mono, by Roman Shamin at Evil Martians, a monospace with a width axis. Headings, text, labels and code all sit in the same grid of equal cells.

Three things tell the levels apart: weight (400, 600 and 800), width (every big heading at 112.5%, its widest) and size, from a 14px floor. Every style and color here is drawn with the kit's own classes and token utilities, so switching the theme in the top bar changes the whole page. Martian Mono is released under the SIL Open Font License 1.1.

Martian Mono, wide and narrow

Display
Kernel
.display, 800, width 112.5%
H2 heading
One cell each
.h2, 800, width 112.5%
H3 heading
Small type, wide lines
A plain h3, or .h3, 600
H4 heading
A note on width
h4 or .h4, 600
Title
One family, one cell
.title, 600
Lead
One monospace, one yellow.
.lead, 300
Body
Every character takes the same width, so columns line up without a table and code sits in the text at its own size.
400, 15px on phones, 16px from 768px
Label
Archive · Materials
.label, 600, sentence case
Small
The floor: 1 December 2026, 3 items, set at 14px
.small, 14px at least

Three weights

Aa Aa Aa

400 for reading, 600 for labels and names, 800 for headings.

Width

mono

mono

75% for a tight label, 112.5% for every big heading.

Box drawing

The font draws lines and blocks that join, for diagrams in plain text.

Black, white and one yellow

In dark, yellow is the voice: text, icons, the focus ring and whole slabs. In light it only ever sits on black, because on white it would read at 1.5:1. Each swatch is drawn with its token's utility, so it shows this theme's value. Both values are listed under it, with the contrast against the color it is read on.

The page

  • paper

    bg-paper

    Light #ffffff
    Dark #121212

    The page background.

  • ink

    text-ink, bg-ink

    Light #0b0b0b , 19.7:1
    Dark #f1f1f1 , 16.6:1
    on paper

    Body text, headings and the 2px rules.

  • muted

    text-muted

    Light #5c5c5c , 6.7:1
    Dark #a0a0a0 , 7.2:1
    on paper

    Secondary text: meta, captions, dates.

  • rule

    border-rule

    Light #dddddd , 1.4:1
    Dark #3a3a3a , 1.6:1
    on paper

    Thin dividers. Decorative, never the only edge of a control.

Yellow and the accent

  • yellow

    text-yellow, bg-yellow

    Light #f7d117 , 1.5:1
    Dark #f7d117 , 12.6:1
    on paper

    The one color. Text in dark; in light, only on black.

  • accent-text

    text-accent-text, bg-accent-text

    Light #0b0b0b , 19.7:1
    Dark #f7d117 , 12.6:1
    on paper

    Small accent text and links.

  • accent-ink

    text-accent-ink

    Light #f7d117 , 13.2:1
    Dark #0b0b0b , 13.2:1
    on accent-text

    Text on an accent fill.

  • accent-bright

    text-accent-bright

    Light #f7d117 , 13.2:1
    Dark #f7d117 , 11.4:1
    on bar

    Accent text and marks on a bar.

The slab

  • slab

    bg-slab

    Light #0b0b0b
    Dark #cfac00

    The hero, a bar page title and the open menu.

  • slab-ink

    text-slab-ink

    Light #ffffff , 19.7:1
    Dark #0b0b0b , 9.0:1
    on slab

    Text on the slab.

  • slab-mark

    bg-slab-mark

    Light #f7d117 , 13.2:1
    Dark #0b0b0b , 9.0:1
    on slab

    The block behind one word on the slab.

  • slab-mark-ink

    text-slab-mark-ink

    Light #0b0b0b , 13.2:1
    Dark #f7d117 , 13.2:1
    on slab-mark

    Text on that block.

Bars

  • bar

    bg-bar

    Light #0b0b0b
    Dark #1c1c1b

    Surfaces that stay dark in both themes: the drawer and the toast.

  • bar-ink

    text-bar-ink

    Light #ffffff , 19.7:1
    Dark #f1f1f1 , 15.1:1
    on bar

    Text on a bar.

The yellow, where it may go

A link, in text-accent-text: black in light, yellow in dark.

The primary button: yellow with black text in both themes, 13.2:1.

On the slab

Mono

The slab and its mark trade places with the theme, so yellow never meets white.