diff --git a/brand/fonts.css b/brand/fonts.css index 35fd33c..5e8a5a8 100644 --- a/brand/fonts.css +++ b/brand/fonts.css @@ -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; diff --git a/brand/fonts/inter-400-latin-ext.woff2 b/brand/fonts/inter-400-latin-ext.woff2 new file mode 100644 index 0000000..5243e4b Binary files /dev/null and b/brand/fonts/inter-400-latin-ext.woff2 differ diff --git a/brand/fonts/inter-400-latin.woff2 b/brand/fonts/inter-400-latin.woff2 new file mode 100644 index 0000000..f15b025 Binary files /dev/null and b/brand/fonts/inter-400-latin.woff2 differ diff --git a/brand/fonts/inter-500-latin-ext.woff2 b/brand/fonts/inter-500-latin-ext.woff2 new file mode 100644 index 0000000..2ab7ebf Binary files /dev/null and b/brand/fonts/inter-500-latin-ext.woff2 differ diff --git a/brand/fonts/inter-500-latin.woff2 b/brand/fonts/inter-500-latin.woff2 new file mode 100644 index 0000000..54f0a59 Binary files /dev/null and b/brand/fonts/inter-500-latin.woff2 differ diff --git a/brand/fonts/inter-600-latin-ext.woff2 b/brand/fonts/inter-600-latin-ext.woff2 new file mode 100644 index 0000000..bad65d4 Binary files /dev/null and b/brand/fonts/inter-600-latin-ext.woff2 differ diff --git a/brand/fonts/inter-600-latin.woff2 b/brand/fonts/inter-600-latin.woff2 new file mode 100644 index 0000000..d189794 Binary files /dev/null and b/brand/fonts/inter-600-latin.woff2 differ diff --git a/brand/fonts/inter-700-latin-ext.woff2 b/brand/fonts/inter-700-latin-ext.woff2 new file mode 100644 index 0000000..c9507e3 Binary files /dev/null and b/brand/fonts/inter-700-latin-ext.woff2 differ diff --git a/brand/fonts/inter-700-latin.woff2 b/brand/fonts/inter-700-latin.woff2 new file mode 100644 index 0000000..a68fb10 Binary files /dev/null and b/brand/fonts/inter-700-latin.woff2 differ diff --git a/brand/fonts/jetbrains-mono-400-latin-ext.woff2 b/brand/fonts/jetbrains-mono-400-latin-ext.woff2 new file mode 100644 index 0000000..9d97c9b Binary files /dev/null and b/brand/fonts/jetbrains-mono-400-latin-ext.woff2 differ diff --git a/brand/fonts/jetbrains-mono-400-latin.woff2 b/brand/fonts/jetbrains-mono-400-latin.woff2 new file mode 100644 index 0000000..5858873 Binary files /dev/null and b/brand/fonts/jetbrains-mono-400-latin.woff2 differ diff --git a/brand/fonts/jetbrains-mono-500-latin-ext.woff2 b/brand/fonts/jetbrains-mono-500-latin-ext.woff2 new file mode 100644 index 0000000..5cc89b1 Binary files /dev/null and b/brand/fonts/jetbrains-mono-500-latin-ext.woff2 differ diff --git a/brand/fonts/jetbrains-mono-500-latin.woff2 b/brand/fonts/jetbrains-mono-500-latin.woff2 new file mode 100644 index 0000000..be878e6 Binary files /dev/null and b/brand/fonts/jetbrains-mono-500-latin.woff2 differ diff --git a/brand/fonts/jetbrains-mono-700-latin-ext.woff2 b/brand/fonts/jetbrains-mono-700-latin-ext.woff2 new file mode 100644 index 0000000..6dd7e69 Binary files /dev/null and b/brand/fonts/jetbrains-mono-700-latin-ext.woff2 differ diff --git a/brand/fonts/jetbrains-mono-700-latin.woff2 b/brand/fonts/jetbrains-mono-700-latin.woff2 new file mode 100644 index 0000000..3a4e333 Binary files /dev/null and b/brand/fonts/jetbrains-mono-700-latin.woff2 differ diff --git a/brand/fonts/ubuntu-400-latin-ext.woff2 b/brand/fonts/ubuntu-400-latin-ext.woff2 deleted file mode 100644 index 16afeec..0000000 Binary files a/brand/fonts/ubuntu-400-latin-ext.woff2 and /dev/null differ diff --git a/brand/fonts/ubuntu-400-latin.woff2 b/brand/fonts/ubuntu-400-latin.woff2 deleted file mode 100644 index 8cb3d32..0000000 Binary files a/brand/fonts/ubuntu-400-latin.woff2 and /dev/null differ diff --git a/brand/fonts/ubuntu-500-latin-ext.woff2 b/brand/fonts/ubuntu-500-latin-ext.woff2 deleted file mode 100644 index d11b8f9..0000000 Binary files a/brand/fonts/ubuntu-500-latin-ext.woff2 and /dev/null differ diff --git a/brand/fonts/ubuntu-500-latin.woff2 b/brand/fonts/ubuntu-500-latin.woff2 deleted file mode 100644 index 7740fd9..0000000 Binary files a/brand/fonts/ubuntu-500-latin.woff2 and /dev/null differ diff --git a/brand/fonts/ubuntu-700-latin-ext.woff2 b/brand/fonts/ubuntu-700-latin-ext.woff2 deleted file mode 100644 index a0d4e55..0000000 Binary files a/brand/fonts/ubuntu-700-latin-ext.woff2 and /dev/null differ diff --git a/brand/fonts/ubuntu-700-latin.woff2 b/brand/fonts/ubuntu-700-latin.woff2 deleted file mode 100644 index 8eaed1f..0000000 Binary files a/brand/fonts/ubuntu-700-latin.woff2 and /dev/null differ diff --git a/brand/fonts/ubuntu-mono-400-latin-ext.woff2 b/brand/fonts/ubuntu-mono-400-latin-ext.woff2 deleted file mode 100644 index 36fe081..0000000 Binary files a/brand/fonts/ubuntu-mono-400-latin-ext.woff2 and /dev/null differ diff --git a/brand/fonts/ubuntu-mono-400-latin.woff2 b/brand/fonts/ubuntu-mono-400-latin.woff2 deleted file mode 100644 index ef1fc70..0000000 Binary files a/brand/fonts/ubuntu-mono-400-latin.woff2 and /dev/null differ diff --git a/brand/fonts/ubuntu-mono-700-latin-ext.woff2 b/brand/fonts/ubuntu-mono-700-latin-ext.woff2 deleted file mode 100644 index b75ddbc..0000000 Binary files a/brand/fonts/ubuntu-mono-700-latin-ext.woff2 and /dev/null differ diff --git a/brand/fonts/ubuntu-mono-700-latin.woff2 b/brand/fonts/ubuntu-mono-700-latin.woff2 deleted file mode 100644 index 411651d..0000000 Binary files a/brand/fonts/ubuntu-mono-700-latin.woff2 and /dev/null differ diff --git a/brand/src/pairs.mjs b/brand/src/pairs.mjs index ed3649a..e53d5d2 100644 --- a/brand/src/pairs.mjs +++ b/brand/src/pairs.mjs @@ -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'], diff --git a/brand/tokens.css b/brand/tokens.css index 7063e31..c29f063 100644 --- a/brand/tokens.css +++ b/brand/tokens.css @@ -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); @@ -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; @@ -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;