Skip to content

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.json
Edit in the generator

Matinee 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.

WherePairLightDark
Body textforeground on background13.72:1 · Lc 9518.59:1 · Lc 104
Secondary text on the pagemuted-foreground on background6.56:1 · Lc 789.86:1 · Lc 64
Text in cardscard-foreground on card14.54:1 · Lc 9917.17:1 · Lc 104
Secondary text in cardsmuted-foreground on card6.96:1 · Lc 829.10:1 · Lc 63
Menus and popoverspopover-foreground on popover14.54:1 · Lc 9917.17:1 · Lc 104
Primary buttonsprimary-foreground on primary11.75:1 · Lc 1018.97:1 · Lc 62
Links and outline accentsprimary on background10.62:1 · Lc 909.26:1 · Lc 61
Secondary buttonssecondary-foreground on secondary12.35:1 · Lc 8816.20:1 · Lc 103
Text on muted panelsmuted-foreground on muted5.91:1 · Lc 718.59:1 · Lc 63
Hovered menu itemsaccent-foreground on accent10.73:1 · Lc 8613.03:1 · Lc 100
Error messagesdestructive on background6.64:1 · Lc 779.27:1 · Lc 61
Sidebarsidebar-foreground on sidebar13.24:1 · Lc 9317.69:1 · Lc 104
Sidebar active itemsidebar-primary-foreground on sidebar-primary11.75:1 · Lc 1018.97:1 · Lc 62
Sidebar hoversidebar-accent-foreground on sidebar-accent12.35:1 · Lc 8816.20:1 · Lc 103
Focus ringring on background10.62:19.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.json

Or 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-sans

The registry item: themes.dev/r/presets/matinee.json. Free to use in any project.

globals.css
: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.

More shadcn/ui presets

All 37 presets