
Base
An open, low-cost network for building apps onchain
The style
A stark, confident network language. Plain white pages and near-black text, regular-weight headlines set very tight, and one pure, saturated blue that works as a flat square of colour rather than a gradient. Actions are light pills with a faint edge, cards have 12px corners, and a dot-matrix face adds a digital note to numbers.
Colours
- Brand#1c00ff
- Buttons#1a1a1a
- Highlight#0032ff
- Background#fefdfb
- Text#171717
Click a colour to copy it.
Fonts
Inter Tight
For headings
Inter
For everything else
Free fonts that look like Base’s own, so you can use them anywhere.
Buttons
48px white pills with a 1px #EFEFEF edge and dark label; a 40px blue pill (#0052FF) with white label for emphasis.
Use this style in your project
Pick the way that suits you. The first one needs no design or coding knowledge.
With an AI tool
Your AI tool builds the page for you, in Base’s style.
2. Open it in
For developers
Ready-made CSS variables, a Tailwind theme and design tokens, with light and dark modes.
See the codeMake it your own
Change the colours, fonts and shapes, and see the result straight away before you use it.
CustomiseFiles
The code, ready to copy
Every file says where the style came from.
tokens.css — Colours, fonts and sizes as CSS variables, with light and dark modes.
/* Cobalt Square — design tokens generated by Markdown */
/* Derived from an analysis of base.org; how different from the source: a little different (30/100). */
/* Inspired by, not a copy of, the source. Adapt before commercial use; no logos, imagery, copy or proprietary fonts are included. */
:root {
color-scheme: light;
--color-background: #fefdfb;
--color-surface: #f8f8f8;
--color-surface-muted: #f2f2f0;
--color-text: #171717;
--color-text-muted: #6f6e6e;
--color-border: #efefef;
--color-primary: #1a1a1a;
--color-on-primary: #ffffff;
--color-brand: #1c00ff;
--color-on-brand: #ffffff;
--color-accent: #0032ff;
--color-success: #2f7e54;
--color-warning: #9c691c;
--color-danger: #a3443e;
--font-display: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
--font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
--text-display: 5.75rem;
--text-display-line-height: 1.03;
--text-display-weight: 400;
--text-display-tracking: -0.035em;
--text-h1: 4.0625rem;
--text-h1-line-height: 1.06;
--text-h1-weight: 400;
--text-h1-tracking: -0.028em;
--text-h2: 2.875rem;
--text-h2-line-height: 1.09;
--text-h2-weight: 400;
--text-h2-tracking: -0.021em;
--text-h3: 2rem;
--text-h3-line-height: 1.15;
--text-h3-weight: 400;
--text-h3-tracking: -0.014em;
--text-lead: 1.4375rem;
--text-lead-line-height: 1.5;
--text-lead-weight: 400;
--text-lead-tracking: -0.005em;
--text-body: 1rem;
--text-body-line-height: 1.6;
--text-body-weight: 400;
--text-body-tracking: 0em;
--text-small: 0.6875rem;
--text-small-line-height: 1.5;
--text-small-weight: 400;
--text-small-tracking: 0.005em;
--text-caption: 0.6875rem;
--text-caption-line-height: 1.4;
--text-caption-weight: 400;
--text-caption-tracking: 0.01em;
--text-label: 0.8125rem;
--text-label-line-height: 1.3;
--text-label-weight: 600;
--text-label-tracking: 0.01em;
--text-code: 0.875rem;
--text-code-line-height: 1.55;
--text-code-weight: 400;
--text-code-tracking: 0em;
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-5: 32px;
--space-6: 40px;
--space-7: 64px;
--space-8: 80px;
--space-9: 120px;
--space-10: 160px;
--radius-none: 0px;
--radius-sm: 5px;
--radius-md: 10px;
--radius-lg: 15px;
--radius-xl: 25px;
--radius-full: 9999px;
--border-width: 1px;
--shadow-sm: none;
--shadow-md: none;
--shadow-lg: none;
--duration-fast: 100ms;
--duration-base: 160ms;
--duration-slow: 270ms;
--ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
--ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
--ease-exit: cubic-bezier(0.7, 0, 0.84, 0);
--container: 1224px;
--gutter: 24px;
--button-radius: 9999px;
--button-padding: 12px 20px;
--input-radius: 10px;
--input-height: 48px;
--card-radius: 12px;
--card-padding: 24px;
--badge-radius: 9999px;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
color-scheme: dark;
--color-background: #161410;
--color-surface: #22201c;
--color-surface-muted: #272521;
--color-text: #f0eeea;
--color-text-muted: #9d9b97;
--color-border: #42403c;
--color-primary: #9e9e9e;
--color-on-primary: #141210;
--color-brand: #1c00ff;
--color-on-brand: #ffffff;
--color-accent: #3d63ff;
--color-success: #72ca9b;
--color-warning: #e0a752;
--color-danger: #cd7f7a;
}
}
[data-theme="dark"] {
color-scheme: dark;
--color-background: #161410;
--color-surface: #22201c;
--color-surface-muted: #272521;
--color-text: #f0eeea;
--color-text-muted: #9d9b97;
--color-border: #42403c;
--color-primary: #9e9e9e;
--color-on-primary: #141210;
--color-brand: #1c00ff;
--color-on-brand: #ffffff;
--color-accent: #3d63ff;
--color-success: #72ca9b;
--color-warning: #e0a752;
--color-danger: #cd7f7a;
}
@media (prefers-reduced-motion: reduce) {
:root { --duration-fast: 0ms; --duration-base: 0ms; --duration-slow: 0ms; }
}
See every detail
Buttons
Inputs
Badges
Project
Quarterly field notes
A card groups one idea: a title, one line of support and a clear next step.
Weekly digest is ready
Three new comments and one approval.
npm i @brandless/ui01
Colour
Semantic roles for light mode. Contrast is checked against WCAG AA as you edit.
Background
Surface
Surface muted
- AA 17.6:1
Text
- AA 5.0:1
Text muted
Border
- AA 17.1:1
Primary
- AA 17.4:1
On primary
Brand
- AA 8.4:1
On brand
- AA 7.1:1
Accent
- AA 4.9:1
Success
- AA 4.6:1
Warning
- AA 6.0:1
Danger
02
Typography
Base 16px on a 1.418 modular scale. Only open-licence fonts are recommended.
display
Inter Tight
body
Inter
mono
Geist Mono
display · 92px / 1.03 · 400 · -0.035em
The quiet grammar of form
h1 · 65px / 1.06 · 400 · -0.028em
The quiet grammar of form
h2 · 46px / 1.09 · 400 · -0.021em
The quiet grammar of form
h3 · 32px / 1.15 · 400 · -0.014em
The quiet grammar of form
lead · 23px / 1.5 · 400 · -0.005em
Readable text sets the pace of an interface.
body · 16px / 1.6 · 400 · 0em
Readable text sets the pace of an interface.
small · 11px / 1.5 · 400 · 0.005em
Readable text sets the pace of an interface.
caption · 11px / 1.4 · 400 · 0.01em
Readable text sets the pace of an interface.
label · 13px / 1.3 · 600 · 0.01em
Readable text sets the pace of an interface.
code · 14px / 1.55 · 400 · 0em
const tokens = await load();
03
Spacing
A 8px base unit. Use the scale for padding, gaps and section rhythm.
- 4px
- 8px
- 12px
- 16px
- 32px
- 40px
- 64px
- 80px
- 120px
- 160px
04
Shape & surface
Flat, paper-like planes separated by fine rules instead of elevation.
Radii
none
0px
sm
5px
md
10px
lg
15px
xl
25px
full
pill
Shadows & borders
none
none
none
Borders: 1px hairline · Surfaces: paper
06
Layout
1224px container · 12 columns · 24px gutters
Patterns
- Wide single-column hero with generous vertical rhythm between sections.
- Twelve-column grid; content blocks usually span 4, 6 or 8 columns.
- Contained sections with consistent side gutters.
- Reading text limited to roughly 65–72 characters per line.
Responsive principles
- Below md, grids collapse to a single column and side gutters drop to 16px.
- Type steps above h2 scale down one step on small screens.
- Navigation collapses to a disclosure menu below lg.
- Touch targets stay at least 44×44px on every breakpoint.
07
Motion
Durations and easing curves. Previews respect your reduced-motion setting.
- fast100ms
- base160ms
- slow270ms
ease-standard
ease-enter
ease-exit
Principles
- Motion is brisk and functional — it confirms, it doesn't perform.
- Animate opacity and transform only; avoid animating layout.
- Respect prefers-reduced-motion by replacing movement with instant state changes or fades.
Base, its logo and trademarks belong to their owner and are shown only to say where this style comes from. This is our own study of their public website — not made or endorsed by Base. Use your own words and images.