Matinee, a shadcn/ui preset
Slate blue with Public Sans: Handbill’s daytime set. It comes from Handbill, one of our website themes.
Fonts: Public Sans · radius 0rem · light and dark · lowest text contrast 5.91:1
npx shadcn@latest add https://www.themes.dev/r/presets/matinee.jsonMatinee on six free blocks from themes.dev UI. Scroll inside the preview.
The colours
The main variables, light and dark. The full set of 31 per mode, sidebar and charts included, is in the CSS below.
Light
- background#f6f3ec
- foreground#1b2733
- primary#1f3a52
- primary-foreground#ffffff
- secondary#ece7de
- muted-foreground#4c5866
- accent#e0e9f1
- border#dcd7cb
- destructive#a3261b
- ring#1f3a52
- chart-1#a2c5e6
- chart-2#7796b3
- chart-3#5d7891
- chart-4#465e74
- chart-5#33475a
Dark
- background#0f0d0b
- foreground#fbfaf9
- primary#98b7d4
- primary-foreground#14110f
- secondary#211c18
- muted-foreground#bcb8b5
- accent#262f37
- border#2e2b28
- destructive#ff9693
- ring#96b5d2
- chart-1#a5c9ea
- chart-2#83a2bf
- chart-3#68839d
- chart-4#4e667c
- chart-5#3b4f63
Contrast, checked
Every pair shadcn/ui draws text with, measured as WCAG 2 contrast (AA needs 4.5:1) and APCA Lc (we ask 60 for text). Focus rings need 3:1 on the page.
| Where | Pair | Light | Dark |
|---|---|---|---|
| Body text | foreground on background | 13.72:1 · Lc 95 | 18.59:1 · Lc 104 |
| Secondary text on the page | muted-foreground on background | 6.56:1 · Lc 78 | 9.86:1 · Lc 64 |
| Text in cards | card-foreground on card | 14.54:1 · Lc 99 | 17.17:1 · Lc 104 |
| Secondary text in cards | muted-foreground on card | 6.96:1 · Lc 82 | 9.10:1 · Lc 63 |
| Menus and popovers | popover-foreground on popover | 14.54:1 · Lc 99 | 17.17:1 · Lc 104 |
| Primary buttons | primary-foreground on primary | 11.75:1 · Lc 101 | 8.97:1 · Lc 62 |
| Links and outline accents | primary on background | 10.62:1 · Lc 90 | 9.26:1 · Lc 61 |
| Secondary buttons | secondary-foreground on secondary | 12.35:1 · Lc 88 | 16.20:1 · Lc 103 |
| Text on muted panels | muted-foreground on muted | 5.91:1 · Lc 71 | 8.59:1 · Lc 63 |
| Hovered menu items | accent-foreground on accent | 10.73:1 · Lc 86 | 13.03:1 · Lc 100 |
| Error messages | destructive on background | 6.64:1 · Lc 77 | 9.27:1 · Lc 61 |
| Sidebar | sidebar-foreground on sidebar | 13.24:1 · Lc 93 | 17.69:1 · Lc 104 |
| Sidebar active item | sidebar-primary-foreground on sidebar-primary | 11.75:1 · Lc 101 | 8.97:1 · Lc 62 |
| Sidebar hover | sidebar-accent-foreground on sidebar-accent | 12.35:1 · Lc 88 | 16.20:1 · Lc 103 |
| Focus ring | ring on background | 10.62:1 | 9.10:1 |
Use it
With the shadcn CLI, in a project set up with shadcn init:
npx shadcn@latest add https://www.themes.dev/r/presets/matinee.jsonOr paste the CSS into globals.css (Next.js) or your main stylesheet (Vite, Astro), replacing the :root and .dark values that are there.
Then load the font:
npm i @fontsource-variable/public-sansThe registry item: themes.dev/r/presets/matinee.json. Free to use in any project.
:root {
--radius: 0rem;
--background: oklch(0.965 0.01 87.47);
--foreground: oklch(0.267 0.028 248.92);
--card: oklch(0.985 0.005 95.1);
--card-foreground: oklch(0.267 0.028 248.92);
--popover: oklch(0.985 0.005 95.1);
--popover-foreground: oklch(0.267 0.028 248.92);
--primary: oklch(0.339 0.054 246.97);
--primary-foreground: oklch(1 0 0);
--secondary: oklch(0.93 0.014 87.47);
--secondary-foreground: oklch(0.267 0.028 248.92);
--muted: oklch(0.93 0.014 87.47);
--muted-foreground: oklch(0.455 0.027 252.4);
--accent: oklch(0.93 0.015 244.73);
--accent-foreground: oklch(0.309 0.05 247.75);
--destructive: oklch(0.472 0.163 29.57);
--border: oklch(0.88 0.017 88.01);
--input: oklch(0.612 0.024 252.6);
--ring: oklch(0.339 0.054 246.97);
--chart-1: oklch(0.81 0.06 246.97);
--chart-2: oklch(0.66 0.055 246.97);
--chart-3: oklch(0.56 0.05 246.97);
--chart-4: oklch(0.47 0.046 246.97);
--chart-5: oklch(0.39 0.041 246.97);
--sidebar: oklch(0.953 0.01 87.47);
--sidebar-foreground: oklch(0.267 0.028 248.92);
--sidebar-primary: oklch(0.339 0.054 246.97);
--sidebar-primary-foreground: oklch(1 0 0);
--sidebar-accent: oklch(0.93 0.014 87.47);
--sidebar-accent-foreground: oklch(0.267 0.028 248.92);
--sidebar-border: oklch(0.88 0.017 88.01);
--sidebar-ring: oklch(0.339 0.054 246.97);
}
.dark {
--background: oklch(0.16 0.006 56);
--foreground: oklch(0.985 0.002 56);
--card: oklch(0.205 0.006 56);
--card-foreground: oklch(0.985 0.002 56);
--popover: oklch(0.205 0.006 56);
--popover-foreground: oklch(0.985 0.002 56);
--primary: oklch(0.765 0.054 246.97);
--primary-foreground: oklch(0.18 0.006 56);
--secondary: oklch(0.23 0.01 56);
--secondary-foreground: oklch(0.985 0.002 56);
--muted: oklch(0.23 0.01 56);
--muted-foreground: oklch(0.785 0.006 56);
--accent: oklch(0.3 0.019 246.97);
--accent-foreground: oklch(0.985 0.002 56);
--destructive: oklch(0.782 0.127 22);
--border: oklch(0.29 0.006 56);
--input: oklch(0.34 0.006 56);
--ring: oklch(0.76 0.054 246.97);
--chart-1: oklch(0.82 0.06 246.97);
--chart-2: oklch(0.7 0.055 246.97);
--chart-3: oklch(0.6 0.05 246.97);
--chart-4: oklch(0.5 0.046 246.97);
--chart-5: oklch(0.42 0.041 246.97);
--sidebar: oklch(0.19 0.006 56);
--sidebar-foreground: oklch(0.985 0.002 56);
--sidebar-primary: oklch(0.765 0.054 246.97);
--sidebar-primary-foreground: oklch(0.18 0.006 56);
--sidebar-accent: oklch(0.23 0.01 56);
--sidebar-accent-foreground: oklch(0.985 0.002 56);
--sidebar-border: oklch(0.29 0.006 56);
--sidebar-ring: oklch(0.76 0.054 246.97);
}
@theme inline {
--font-sans: "Public Sans Variable", "Public Sans", ui-sans-serif, system-ui, sans-serif;
--font-heading: "Public Sans Variable", "Public Sans", ui-sans-serif, system-ui, sans-serif;
}
The whole site
Matinee started as Handbill, a website theme
Handbill is a complete site for Concert halls, theatres and venues: every page, the content model and a live demo, built from the same blocks, in Astro and Next.js + Sanity. It comes with UI Pro, from €199 once, with every other theme.
