Bowl for shadcn/ui

Bowl is a shadcn/ui theme built around a red primary color (#b45f72) with blue accents (#5f72b4). The light mode uses a neutral background (#fdfbfc). Dark mode keeps the red primary (#b45f72) on a neutral background (#040102).

Color palette

TokenLightDark
Background
#fdfbfcsnow
#040102black
Foreground
#090203black
#fcf8f9snow
Card
#fcf8f9snow
#080304black
Card foreground
#040102black
#fdfcfcsnow
Popover
#fcf8f9snow
#080304black
Popover foreground
#040102black
#fdfcfcsnow
Primary
#b45f72indianred
#b45f72indianred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#72b45fdarkseagreen
#72b45fdarkseagreen
Secondary foreground
#000000black
#000000black
Muted
#edf5eahoneydew
#0c150ablack
Muted foreground
#535752dimgray
#a9ada8darkgray
Accent
#5f72b4steelblue
#5f72b4steelblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#81320esaddlebrown
#d05116chocolate
Destructive foreground
#f9d7c8bisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b45f72indianred
#b45f72indianred

Contrast

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

Light mode
Text on background20.02:1AAA
Text on card19.71:1AAA
Primary button4.34:1AA Large
Secondary button8.40:1AAA
Muted text6.61:1AA
Accent4.61:1AA
Destructive6.48:1AA
Dark mode
Text on background19.71:1AAA
Text on card20.05:1AAA
Primary button4.34:1AA Large
Secondary button8.40:1AAA
Muted text8.19:1AAA
Accent4.61:1AA
Destructive4.32:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 2.128);
  --foreground: oklch(0.102 0.024 2.246);
  --muted: oklch(0.961 0.017 138.897);
  --muted-foreground: oklch(0.45 0.01 138.899);
  --popover: oklch(0.982 0.004 2.19);
  --popover-foreground: oklch(0.081 0.019 2.246);
  --card: oklch(0.982 0.004 2.19);
  --card-foreground: oklch(0.081 0.019 2.246);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.591 0.11 7.226);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.705 0.135 139.143);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.566 0.105 271.021);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.425 0.119 41.753);
  --destructive-foreground: oklch(0.904 0.044 46.376);
  --ring: oklch(0.591 0.11 7.226);
  --chart-1: oklch(0.591 0.11 7.226);
  --chart-2: oklch(0.705 0.135 139.143);
  --chart-3: oklch(0.566 0.105 271.021);
  --chart-4: oklch(0.724 0.127 139.09);
  --chart-5: oklch(0.589 0.119 7.729);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.084 0.013 2.182);
  --foreground: oklch(0.982 0.004 2.183);
  --muted: oklch(0.182 0.025 139.009);
  --muted-foreground: oklch(0.744 0.008 138.895);
  --popover: oklch(0.106 0.016 2.182);
  --popover-foreground: oklch(0.991 0.002 2.124);
  --card: oklch(0.106 0.016 2.182);
  --card-foreground: oklch(0.991 0.002 2.124);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.591 0.11 7.226);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.705 0.135 139.143);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.566 0.105 271.021);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.596 0.173 41.006);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.591 0.11 7.226);
  --chart-1: oklch(0.591 0.11 7.226);
  --chart-2: oklch(0.705 0.135 139.143);
  --chart-3: oklch(0.566 0.105 271.021);
  --chart-4: oklch(0.724 0.127 139.09);
  --chart-5: oklch(0.589 0.119 7.729);
}