Crisp for shadcn/ui

Crisp is a shadcn/ui theme built around a vivid deep cyan primary color (#020e13) with vivid deep orange accents (#130602). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep cyan primary (#020e13) on a cyan-tinted background (#040d10).

Color palette

TokenLightDark
Background
#ffffffwhite
#040d10black
Foreground
#030a0cblack
#f8fbfcghostwhite
Card
#fcfcfcsnow
#061014black
Card foreground
#020708black
#fcfdfdwhite
Popover
#ffffffwhite
#040d10black
Popover foreground
#030a0cblack
#f8fbfcghostwhite
Primary
#020e13black
#020e13black
Primary foreground
#139ccdlightseagreen
#139ccdlightseagreen
Secondary
#130602black
#130602black
Secondary foreground
#ef8057coral
#ef8057coral
Muted
#f6f0eewhitesmoke
#110b09black
Muted foreground
#71615bdimgray
#a4948erosybrown
Accent
#130602black
#130602black
Accent foreground
#ef8057coral
#ef8057coral
Destructive
#c8400efirebrick
#ef531aorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#020e13black
#020e13black

Contrast

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

Light mode
Text on background19.95:1AAA
Text on card19.82:1AAA
Primary button6.19:1AA
Secondary button7.48:1AAA
Muted text5.24:1AA
Accent7.48:1AAA
Destructive5.00:1AA
Dark mode
Text on background18.87:1AAA
Text on card18.87:1AAA
Primary button6.19:1AA
Secondary button7.48:1AAA
Muted text6.70:1AA
Accent7.48:1AAA
Destructive3.54:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.136 0.015 216.9);
  --muted: oklch(0.96 0.007 41.247);
  --muted-foreground: oklch(0.506 0.023 41.023);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.136 0.015 216.9);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.119 0.013 215.789);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.153 0.023 219.513);
  --primary-foreground: oklch(0.649 0.127 230.664);
  --secondary: oklch(0.142 0.028 50.967);
  --secondary-foreground: oklch(0.716 0.148 40.352);
  --accent: oklch(0.142 0.028 50.967);
  --accent-foreground: oklch(0.716 0.148 40.352);
  --destructive: oklch(0.563 0.181 37.112);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.153 0.023 219.513);
  --chart-1: oklch(0.153 0.023 219.513);
  --chart-2: oklch(0.142 0.028 50.967);
  --chart-3: oklch(0.142 0.028 50.967);
  --chart-4: oklch(0.182 0.042 44.345);
  --chart-5: oklch(0.154 0.024 219.458);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.151 0.016 220.066);
  --foreground: oklch(0.986 0.003 221.331);
  --muted: oklch(0.156 0.012 41.42);
  --muted-foreground: oklch(0.678 0.022 41.092);
  --popover: oklch(0.151 0.016 220.066);
  --popover-foreground: oklch(0.986 0.003 221.331);
  --card: oklch(0.165 0.018 221.845);
  --card-foreground: oklch(0.993 0.002 221.318);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.153 0.023 219.513);
  --primary-foreground: oklch(0.649 0.127 230.664);
  --secondary: oklch(0.142 0.028 50.967);
  --secondary-foreground: oklch(0.716 0.148 40.352);
  --accent: oklch(0.142 0.028 50.967);
  --accent-foreground: oklch(0.716 0.148 40.352);
  --destructive: oklch(0.649 0.202 37.718);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.153 0.023 219.513);
  --chart-1: oklch(0.153 0.023 219.513);
  --chart-2: oklch(0.142 0.028 50.967);
  --chart-3: oklch(0.142 0.028 50.967);
  --chart-4: oklch(0.182 0.042 44.345);
  --chart-5: oklch(0.154 0.024 219.458);
}