Take-out for shadcn/ui

Take-out is a shadcn/ui theme built around a light blue primary color (#98b9ec) with muted blue accents (#aebcd0). The light mode uses a neutral background (#f6f9fd). Dark mode keeps the light blue primary (#98b9ec) on a neutral background (#030507).

Color palette

TokenLightDark
Background
#f6f9fdghostwhite
#030507black
Foreground
#050910black
#ffffffwhite
Card
#f6f9fdghostwhite
#030507black
Card foreground
#050910black
#ffffffwhite
Popover
#f6f9fdghostwhite
#030507black
Popover foreground
#050910black
#ffffffwhite
Primary
#98b9ecskyblue
#98b9ecskyblue
Primary foreground
#0d2345midnightblue
#0d2345midnightblue
Secondary
#cbd2dclightgrey
#232424black
Secondary foreground
#303846darkslategray
#bbbcbesilver
Muted
#d2d9e5gainsboro
#1a222ddarkslategray
Muted foreground
#57595bdimgray
#a4a5a8darkgray
Accent
#aebcd0lightsteelblue
#2b2f36darkslategray
Accent foreground
#1c2431darkslategray
#c3c8d0silver
Destructive
#c34a09chocolate
#f57732tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#98b9ecskyblue
#98b9ecskyblue

Contrast

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

Light mode
Text on background18.92:1AAA
Text on card18.92:1AAA
Primary button7.82:1AAA
Secondary button7.75:1AAA
Muted text4.97:1AA
Accent8.09:1AAA
Destructive4.87:1AA
Dark mode
Text on background20.43:1AAA
Text on card20.43:1AAA
Primary button7.82:1AAA
Secondary button8.21:1AAA
Muted text6.50:1AA
Accent7.97:1AAA
Destructive7.56:1AAA

CSS variables

Paste this into your globals.css to use Take-out in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.006 258.329);
  --foreground: oklch(0.138 0.017 253.293);
  --muted: oklch(0.884 0.017 258.354);
  --muted-foreground: oklch(0.463 0.004 258.333);
  --popover: oklch(0.982 0.006 258.329);
  --popover-foreground: oklch(0.138 0.017 253.293);
  --card: oklch(0.982 0.006 258.329);
  --card-foreground: oklch(0.138 0.017 253.293);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.78 0.082 258.332);
  --primary-foreground: oklch(0.26 0.07 258.485);
  --secondary: oklch(0.862 0.015 258.351);
  --secondary-foreground: oklch(0.34 0.027 258.358);
  --accent: oklch(0.791 0.033 258.372);
  --accent-foreground: oklch(0.259 0.026 258.335);
  --destructive: oklch(0.566 0.167 41.871);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.78 0.082 258.332);
  --chart-1: oklch(0.78 0.082 258.332);
  --chart-2: oklch(0.862 0.015 258.351);
  --chart-3: oklch(0.791 0.033 258.372);
  --chart-4: oklch(0.886 0.013 258.345);
  --chart-5: oklch(0.779 0.085 258.326);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.111 0.008 253.258);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.249 0.024 258.341);
  --muted-foreground: oklch(0.723 0.003 258.325);
  --popover: oklch(0.111 0.008 253.258);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.111 0.008 253.258);
  --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.78 0.082 258.332);
  --primary-foreground: oklch(0.26 0.07 258.485);
  --secondary: oklch(0.258 0.002 258.33);
  --secondary-foreground: oklch(0.796 0.003 258.321);
  --accent: oklch(0.305 0.014 258.372);
  --accent-foreground: oklch(0.832 0.012 258.346);
  --destructive: oklch(0.707 0.174 45.613);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.78 0.082 258.332);
  --chart-1: oklch(0.78 0.082 258.332);
  --chart-2: oklch(0.258 0.002 258.33);
  --chart-3: oklch(0.305 0.014 258.372);
  --chart-4: oklch(0.289 0.002 258.331);
  --chart-5: oklch(0.779 0.085 258.326);
}