The reference
Blueprint
Precise and compact: white or near black, hairlines over shadows, small square corners, Geist with mono labels, one sober blue.
Every preview on the site now wears Blueprint.
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 Blueprint 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
- #1f5fd6
- the colour every brand role is built from
- Accent
- #0a8f7a
- 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
- standard · 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.
--background
oklch(1 0 0) · oklch(0.209 0 0)
--foreground
oklch(0.209 0 0) · oklch(0.9731 0 0)
--card
oklch(1 0 0) · oklch(0.3052 0 0)
--muted
oklch(0.9731 0 0) · oklch(0.1957 0 0)
--muted-foreground
oklch(0.5486 0 0) · oklch(0.7252 0 0)
--border
oklch(0.209 0 0 / 0.1412) · oklch(0.9731 0 0 / 0.1216)
--primary
oklch(0.209 0 0) · oklch(0.9731 0 0)
--primary-foreground
oklch(1 0 0) · oklch(0.209 0 0)
--brand
oklch(0.5196 0.1943 261.46) · oklch(0.5196 0.1943 261.46)
--brand-soft
oklch(0.9685 0.0148 260.73) · oklch(0.2589 0.0568 261.9)
--brand-text
oklch(0.5196 0.1943 261.46) · oklch(0.8267 0.0644 262.42)
--success
oklch(0.624 0.1269 158.51) · oklch(0.624 0.1269 158.51)
--warning
oklch(0.789 0.1413 86.31) · oklch(0.789 0.1413 86.31)
--destructive
oklch(0.5487 0.1792 27.9) · oklch(0.7784 0.0841 23.73)
--info
oklch(0.5569 0.1719 259.46) · oklch(0.7009 0.1314 260.97)
Every variable
Light
| --background | oklch(1 0 0) | |
| --foreground | oklch(0.209 0 0) | |
| --card | oklch(1 0 0) | |
| --muted | oklch(0.9731 0 0) | |
| --muted-foreground | oklch(0.5486 0 0) | |
| --border | oklch(0.209 0 0 / 0.1412) | |
| --primary | oklch(0.209 0 0) | |
| --primary-foreground | oklch(1 0 0) | |
| --secondary | oklch(0.9612 0 0) | |
| --accent | oklch(0.9612 0 0) | |
| --brand | oklch(0.5196 0.1943 261.46) | |
| --brand-foreground | oklch(1 0 0) | |
| --brand-soft | oklch(0.9685 0.0148 260.73) | |
| --brand-text | oklch(0.5196 0.1943 261.46) | |
| --ring | oklch(0.8267 0.0644 262.42) | |
| --success | oklch(0.624 0.1269 158.51) | |
| --warning | oklch(0.789 0.1413 86.31) | |
| --destructive | oklch(0.5487 0.1792 27.9) | |
| --info | oklch(0.5569 0.1719 259.46) |
Dark
| --background | oklch(0.209 0 0) | |
| --foreground | oklch(0.9731 0 0) | |
| --card | oklch(0.3052 0 0) | |
| --muted | oklch(0.1957 0 0) | |
| --muted-foreground | oklch(0.7252 0 0) | |
| --border | oklch(0.9731 0 0 / 0.1216) | |
| --primary | oklch(0.9731 0 0) | |
| --primary-foreground | oklch(0.209 0 0) | |
| --secondary | oklch(0.3052 0 0) | |
| --accent | oklch(0.3052 0 0) | |
| --brand-soft | oklch(0.2589 0.0568 261.9) | |
| --brand-text | oklch(0.8267 0.0644 262.42) | |
| --ring | oklch(0.5196 0.1943 261.46) | |
| --destructive | oklch(0.7784 0.0841 23.73) | |
| --info | oklch(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 = 'blueprint' // 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/blueprint/css/tokens.css';
@import '@trame-ui/themes/themes/blueprint/css/theme-light.css';
@import '@trame-ui/themes/themes/blueprint/css/theme-dark.css';
@import '@trame-ui/themes/themes/blueprint/css/theme-moods.css';
@import '@trame-ui/themes/themes/blueprint/css/type.css';
@import '@trame-ui/themes/themes/blueprint/css/controls.css';
@import '@trame-ui/themes/themes/blueprint/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": "blueprint",
"label": "Blueprint",
"description": "Precise and compact: white or near black, hairlines over shadows, small square corners, Geist with mono labels, one sober blue.",
"primary": "ink",
"palette": {
"brand": "#1f5fd6",
"accent": "#0a8f7a"
},
"neutral": {
"temperature": "neutral",
"chroma": "none"
},
"schemes": {
"strong": "#0a0a0a",
"alt": "#1f5fd6"
},
"fonts": {
"heading": "Geist",
"body": "Geist",
"mono": "Geist Mono"
},
"headings": {
"scale": "standard",
"weight": 600,
"tracking": "-0.035em"
},
"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"
}
}node node_modules/@trame-ui/tokens/src/generate.mjs intent.json --out=themes