Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 60 additions & 20 deletions brand/fonts.css
Original file line number Diff line number Diff line change
@@ -1,100 +1,140 @@
/* Self-hosted; each file loads only when a character in its range is on the page. */
@font-face {
font-family: 'Ubuntu';
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('./fonts/ubuntu-400-latin.woff2') format('woff2');
src: url('./fonts/inter-400-latin.woff2') format('woff2');
unicode-range:
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Ubuntu';
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('./fonts/ubuntu-400-latin-ext.woff2') format('woff2');
src: url('./fonts/inter-400-latin-ext.woff2') format('woff2');
unicode-range:
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Ubuntu';
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('./fonts/ubuntu-500-latin.woff2') format('woff2');
src: url('./fonts/inter-500-latin.woff2') format('woff2');
unicode-range:
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Ubuntu';
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('./fonts/ubuntu-500-latin-ext.woff2') format('woff2');
src: url('./fonts/inter-500-latin-ext.woff2') format('woff2');
unicode-range:
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Ubuntu';
font-family: 'Inter';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('./fonts/inter-600-latin.woff2') format('woff2');
unicode-range:
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('./fonts/inter-600-latin-ext.woff2') format('woff2');
unicode-range:
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('./fonts/ubuntu-700-latin.woff2') format('woff2');
src: url('./fonts/inter-700-latin.woff2') format('woff2');
unicode-range:
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Ubuntu';
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('./fonts/ubuntu-700-latin-ext.woff2') format('woff2');
src: url('./fonts/inter-700-latin-ext.woff2') format('woff2');
unicode-range:
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Ubuntu Mono';
font-family: 'JetBrains Mono';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('./fonts/ubuntu-mono-400-latin.woff2') format('woff2');
src: url('./fonts/jetbrains-mono-400-latin.woff2') format('woff2');
unicode-range:
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Ubuntu Mono';
font-family: 'JetBrains Mono';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('./fonts/ubuntu-mono-400-latin-ext.woff2') format('woff2');
src: url('./fonts/jetbrains-mono-400-latin-ext.woff2') format('woff2');
unicode-range:
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'JetBrains Mono';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('./fonts/jetbrains-mono-500-latin.woff2') format('woff2');
unicode-range:
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'JetBrains Mono';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('./fonts/jetbrains-mono-500-latin-ext.woff2') format('woff2');
unicode-range:
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Ubuntu Mono';
font-family: 'JetBrains Mono';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('./fonts/ubuntu-mono-700-latin.woff2') format('woff2');
src: url('./fonts/jetbrains-mono-700-latin.woff2') format('woff2');
unicode-range:
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Ubuntu Mono';
font-family: 'JetBrains Mono';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('./fonts/ubuntu-mono-700-latin-ext.woff2') format('woff2');
src: url('./fonts/jetbrains-mono-700-latin-ext.woff2') format('woff2');
unicode-range:
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
Expand Down
Binary file added brand/fonts/inter-400-latin-ext.woff2
Binary file not shown.
Binary file added brand/fonts/inter-400-latin.woff2
Binary file not shown.
Binary file added brand/fonts/inter-500-latin-ext.woff2
Binary file not shown.
Binary file added brand/fonts/inter-500-latin.woff2
Binary file not shown.
Binary file added brand/fonts/inter-600-latin-ext.woff2
Binary file not shown.
Binary file added brand/fonts/inter-600-latin.woff2
Binary file not shown.
Binary file added brand/fonts/inter-700-latin-ext.woff2
Binary file not shown.
Binary file added brand/fonts/inter-700-latin.woff2
Binary file not shown.
Binary file added brand/fonts/jetbrains-mono-400-latin-ext.woff2
Binary file not shown.
Binary file added brand/fonts/jetbrains-mono-400-latin.woff2
Binary file not shown.
Binary file added brand/fonts/jetbrains-mono-500-latin-ext.woff2
Binary file not shown.
Binary file added brand/fonts/jetbrains-mono-500-latin.woff2
Binary file not shown.
Binary file added brand/fonts/jetbrains-mono-700-latin-ext.woff2
Binary file not shown.
Binary file added brand/fonts/jetbrains-mono-700-latin.woff2
Binary file not shown.
Binary file removed brand/fonts/ubuntu-400-latin-ext.woff2
Binary file not shown.
Binary file removed brand/fonts/ubuntu-400-latin.woff2
Binary file not shown.
Binary file removed brand/fonts/ubuntu-500-latin-ext.woff2
Binary file not shown.
Binary file removed brand/fonts/ubuntu-500-latin.woff2
Binary file not shown.
Binary file removed brand/fonts/ubuntu-700-latin-ext.woff2
Binary file not shown.
Binary file removed brand/fonts/ubuntu-700-latin.woff2
Binary file not shown.
Binary file removed brand/fonts/ubuntu-mono-400-latin-ext.woff2
Binary file not shown.
Binary file removed brand/fonts/ubuntu-mono-400-latin.woff2
Binary file not shown.
Binary file removed brand/fonts/ubuntu-mono-700-latin-ext.woff2
Binary file not shown.
Binary file removed brand/fonts/ubuntu-mono-700-latin.woff2
Binary file not shown.
1 change: 1 addition & 0 deletions brand/src/pairs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const textPairs = [
['ink', 'brand-soft'],
['brand-ink', 'brand-soft'],
['on-brand', 'brand'],
['logo-ink', 'logo-plate'],
['band-dark-ink', 'band-dark'],
['band-dark-muted', 'band-dark'],
['band-dark-brand', 'band-dark'],
Expand Down
12 changes: 8 additions & 4 deletions brand/tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
--band-dark-raised: oklch(26.5% 0.02 265);
--band-dark-brand: oklch(78% 0.14 345);
--band-mist: oklch(92.8% 0.01 265);
/* Customer logos are full colour drawn for light pages, so their plate stays light in both themes. */
--logo-plate: oklch(99% 0.003 265);
--logo-line: oklch(88% 0.008 265);
--logo-ink: oklch(36% 0.018 265);

--hero-from: oklch(24% 0.02 265);
--hero-to: oklch(50% 0.2 348);
Expand Down Expand Up @@ -76,8 +80,8 @@

--hero: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-to) 100%);

--radius-control: 4px;
--radius-card: 8px;
--radius-control: 6px;
--radius-card: 12px;
--radius-pill: 999px;

--space-1: 4px;
Expand All @@ -92,8 +96,8 @@
--cell-y: 6px;
--cell-x: 10px;

--font-sans: 'Ubuntu', system-ui, sans-serif;
--font-mono: 'Ubuntu Mono', ui-monospace, monospace;
--font-sans: 'Inter', system-ui, sans-serif;
--font-mono: 'JetBrains Mono', ui-monospace, monospace;

--ease: cubic-bezier(0.2, 0, 0, 1);
--dur: 150ms;
Expand Down
Loading