Skip to content

Colours & type

The wiki's palette follows the NEOTOKYO;REBUILD branding: neutral black, white and a red dot. One cool accent is added for link underlines.

Red is kept to small marks. It never colours link text, because on a wiki red text means a page that doesn't exist yet.

Palette

Read from the dark-scheme block of docs/stylesheets/ntre.css at build time.
TokenValueUsed for
--ntre-bg#1b1c1fPage background
--ntre-surface-2#222327Code, table headers, infobox images, hover
--ntre-surface-3#2a2b30Current nav item, stat bar track
--ntre-border#2d2e33Hairlines
--ntre-border-strong#3c3d43Callout rules, tags
--ntre-text#d4d4d6Body text
--ntre-text-strong#f4f4f5Headings, emphasis, link text
--ntre-muted#8f9096Secondary text, labels, captions
--ntre-red#ff0000Brand dot: page titles, current nav item
--ntre-red-soft#c62a1dRed of the Open Collective badge
--ntre-underline#a2bec3Link underline and hover fill
--ntre-underline-hot#d5eef2Brief pulse at the end of the hover fill
--ntre-jinrai#92bd7fJinrai team colour
--ntre-nsf#86a6d4NSF team colour
--ntre-warn#d8ad6aWarning callouts
--ntre-danger#ff8a73Links to missing pages
--ntre-bar#9a9ba0Stat bar fill

Dark is the default. The sun/moon button in the header switches to the light palette. That palette is in the same stylesheet, under [data-md-color-scheme="default"].

Reds

The brand assets use three different reds:

Red Where
#ff0000 Wordmark dots; the site's dot marks (--ntre-red)
#d1482e Wireframe NT;RE mark dot and app icon
#c62a1d Open Collective badge dot (--ntre-red-soft)

Typefaces

Face Used for Weights
Inter Headings and body text 400 · 500 · 600 · 650 · 700
IBM Plex Mono Numbers in infoboxes and tables, code, citation markers 400 · 500

Both load from Google Fonts, through the theme's font setting in mkdocs.yml. The wordmark's lettering is part of the image, not a font.

Marks

  • Red dot after page titles, raised like the dot in the wordmark
  • Red dot beside the current page in the sidebar
  • Links in white, with a faint, muted cyan underline. On hover the underline fills from left to right, snaps, pulses once and settles.
  • Hairline borders, with no shadows or gradients
  • Rounded blocks: 8-pixel corners on tables, callouts, cards, code and the search box, and 6-pixel corners on navigation items

See Logos for the images themselves.