The reference

Mono

Black and white and tight: Geist, small headings, small controls, hairlines, small corners, no colour beyond the states. Imposes no brand colour on anyone.

On real blocks

The same markup as every other theme; only the stylesheet changes. The Customize button in the toolbar tries the decisions below on it.

Its decisions

What Mono was generated from. Everything else — every ramp, every role, light and dark, every mood — is unfolded from these, and every text pair is checked for contrast.

Brand
#171717
the colour every brand role is built from
Accent
#525252
the second colour, for highlights
Primary action
ink
ink buttons, or buttons in the brand colour
Neutral
neutral · none
the greys: their temperature, and how much of it they carry
Page
white
the page itself: white, or a palette colour
Opens in
light
the mode a site opens in
Bands
strong · alt
the named bands a page can call (mood-* classes)
Fonts
Geist · Geist
headings · body
Headings
compact · 600
the scale and weight of the titles
Radius
subtle
how round the corners are
Depth
flat
the shadows of cards and overlays (offset: a sharp poster shadow)
Lines
hairline
the borders: fine or full strength, and their colour
Button style
solid
solid, outline, soft or hard
Fields
outlined
outlined, filled or underlined
Density
compact
the spacing of the whole interface
Section spacing
regular
the vertical rhythm between sections
Page width
regular
the page’s width and reading measure
Motion
snappy
the character of transitions and reveals

Colours

The roles every component and block reads, light and dark.

Every variable

Light

--backgroundoklch(1 0 0)
--foregroundoklch(0.209 0 0)
--cardoklch(1 0 0)
--mutedoklch(0.9731 0 0)
--muted-foregroundoklch(0.5486 0 0)
--borderoklch(0.209 0 0 / 0.1412)
--primaryoklch(0.209 0 0)
--primary-foregroundoklch(1 0 0)
--secondaryoklch(0.9612 0 0)
--accentoklch(0.9612 0 0)
--brandoklch(0.2046 0 0)
--brand-foregroundoklch(1 0 0)
--brand-softoklch(0.9672 0 0)
--brand-textoklch(0.2046 0 0)
--ringoklch(0.5138 0 0)
--successoklch(0.624 0.1269 158.51)
--warningoklch(0.789 0.1413 86.31)
--destructiveoklch(0.5487 0.1792 27.9)
--infooklch(0.5569 0.1719 259.46)

Dark

--backgroundoklch(0.209 0 0)
--foregroundoklch(0.9731 0 0)
--cardoklch(0.3052 0 0)
--mutedoklch(0.1957 0 0)
--muted-foregroundoklch(0.7252 0 0)
--borderoklch(0.9731 0 0 / 0.1216)
--primaryoklch(0.9731 0 0)
--primary-foregroundoklch(0.209 0 0)
--secondaryoklch(0.3052 0 0)
--accentoklch(0.3052 0 0)
--brand-softoklch(0.1221 0 0)
--brand-textoklch(0.9672 0 0)
--ringoklch(0.2046 0 0)
--destructiveoklch(0.7784 0.0841 23.73)
--infooklch(0.7009 0.1314 260.97)

brand

accent

neutral

Type

Geist for everything.

Headings · Geist

The quick brown fox jumps over the lazy dog

Text · Geist

Every theme is a stylesheet. The markup never changes: the same blocks, the same components, and the decisions you make decide how they read — the corners, the depth, the colours and these words.

const theme = 'mono' // and its code

Shape and depth

Its corners, from the smallest control to a panel, and its shadows, from a card at rest to an overlay.

Control corner

resting shadow

Field corner

lifted, on hover

Card corner

a popover

Panel corner

a dialog

Use it

Its stylesheet

After Tailwind, in your global CSS.

@import '@trame-ui/themes/themes/mono/css/tokens.css';
@import '@trame-ui/themes/themes/mono/css/theme-light.css';
@import '@trame-ui/themes/themes/mono/css/theme-dark.css';
@import '@trame-ui/themes/themes/mono/css/theme-moods.css';
@import '@trame-ui/themes/themes/mono/css/type.css';
@import '@trame-ui/themes/themes/mono/css/controls.css';
@import '@trame-ui/themes/themes/mono/css/motion.css';

Or make it yours

Change a decision in its intent and generate the theme: every ramp, role and contrast check follows.

{
  "name": "mono",
  "label": "Mono",
  "description": "Black and white and tight: Geist, small headings, small controls, hairlines, small corners, no colour beyond the states. Imposes no brand colour on anyone.",
  "primary": "ink",
  "palette": {
    "brand": "#171717",
    "accent": "#525252"
  },
  "neutral": {
    "temperature": "neutral",
    "chroma": "none"
  },
  "schemes": {
    "strong": "#0a0a0a",
    "alt": "#262626"
  },
  "fonts": {
    "heading": "Geist",
    "body": "Geist",
    "mono": "Geist Mono"
  },
  "headings": {
    "scale": "compact",
    "weight": 600,
    "tracking": "-0.03em"
  },
  "radius": "subtle",
  "depth": {
    "recipe": "flat"
  },
  "lines": {
    "style": "hairline"
  },
  "button": "solid",
  "hover": "darken",
  "field": "outlined",
  "density": "compact",
  "sectionSpacing": "regular",
  "container": "regular",
  "motion": "snappy",
  "nav": {
    "recipe": "bar",
    "current": "brand"
  },
  "controls": {
    "scale": "compact",
    "scaling": 0.95
  }
}
node node_modules/@trame-ui/tokens/src/generate.mjs intent.json --out=themes