Interior for shadcn/ui

Interior is a shadcn/ui theme built around a muted light blue primary color (#bec2d0) with muted light green accents (#c2d0be). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the muted light blue primary (#bec2d0) on a neutral background (#010204).

Color palette

TokenLightDark
Background
#fbfcfewhite
#010204black
Foreground
#040710black
#fcfcfdwhite
Card
#f7f8fdghostwhite
#020308black
Card foreground
#03050cblack
#ffffffwhite
Popover
#fbfcfewhite
#010204black
Popover foreground
#040710black
#fcfcfdwhite
Primary
#bec2d0silver
#bec2d0silver
Primary foreground
#272a35darkslategray
#272a35darkslategray
Secondary
#d0bec2silver
#d0bec2silver
Secondary foreground
#35272adarkslategray
#35272adarkslategray
Muted
#e7cbd1thistle
#34181eblack
Muted foreground
#6e5359dimgray
#ac9196rosybrown
Accent
#c2d0besilver
#c2d0besilver
Accent foreground
#2a3527darkslategray
#2a3527darkslategray
Destructive
#cb1d06firebrick
#f83e25orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#bec2d0silver
#bec2d0silver

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.56:1AAA
Text on card19.22:1AAA
Primary button8.03:1AAA
Secondary button8.00:1AAA
Muted text4.53:1AA
Accent7.96:1AAA
Destructive5.65:1AA
Dark mode
Text on background20.26:1AAA
Text on card20.56:1AAA
Primary button8.03:1AAA
Secondary button8.00:1AAA
Muted text5.57:1AA
Accent7.96:1AAA
Destructive3.67:1AA Large

CSS variables

Paste this into your globals.css to use Interior in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 273.829);
  --foreground: oklch(0.129 0.023 267.136);
  --muted: oklch(0.866 0.033 3.089);
  --muted-foreground: oklch(0.474 0.037 4.16);
  --popover: oklch(0.99 0.003 273.829);
  --popover-foreground: oklch(0.129 0.023 267.136);
  --card: oklch(0.98 0.006 273.791);
  --card-foreground: oklch(0.117 0.02 266.215);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.815 0.02 273.572);
  --primary-foreground: oklch(0.286 0.022 272.868);
  --secondary: oklch(0.817 0.021 2.764);
  --secondary-foreground: oklch(0.289 0.023 4.164);
  --accent: oklch(0.841 0.029 138.905);
  --accent-foreground: oklch(0.314 0.03 138.947);
  --destructive: oklch(0.539 0.207 30.771);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.815 0.02 273.572);
  --chart-1: oklch(0.815 0.02 273.572);
  --chart-2: oklch(0.817 0.021 2.764);
  --chart-3: oklch(0.841 0.029 138.905);
  --chart-4: oklch(0.843 0.018 2.646);
  --chart-5: oklch(0.812 0.024 273.511);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.081 0.013 266.546);
  --foreground: oklch(0.992 0.001 273.854);
  --muted: oklch(0.252 0.046 7.065);
  --muted-foreground: oklch(0.681 0.034 3.39);
  --popover: oklch(0.081 0.013 266.546);
  --popover-foreground: oklch(0.992 0.001 273.854);
  --card: oklch(0.103 0.016 266.546);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.815 0.02 273.572);
  --primary-foreground: oklch(0.286 0.022 272.868);
  --secondary: oklch(0.817 0.021 2.764);
  --secondary-foreground: oklch(0.289 0.023 4.164);
  --accent: oklch(0.841 0.029 138.905);
  --accent-foreground: oklch(0.314 0.03 138.947);
  --destructive: oklch(0.644 0.225 31.03);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.815 0.02 273.572);
  --chart-1: oklch(0.815 0.02 273.572);
  --chart-2: oklch(0.817 0.021 2.764);
  --chart-3: oklch(0.841 0.029 138.905);
  --chart-4: oklch(0.843 0.018 2.646);
  --chart-5: oklch(0.812 0.024 273.511);
}