Sushi for shadcn/ui

Sushi is a shadcn/ui theme built around a vivid light teal primary color (#e2fefa) with vivid light blue accents (#e2f3fe). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid light teal primary (#e2fefa) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefewhite
#000000black
Foreground
#030c0bblack
#ffffffwhite
Card
#fbfefewhite
#000000black
Card foreground
#030c0bblack
#ffffffwhite
Popover
#fbfefewhite
#000000black
Popover foreground
#030c0bblack
#ffffffwhite
Primary
#e2fefalightcyan
#e2fefalightcyan
Primary foreground
#03453ddarkslategray
#03453ddarkslategray
Secondary
#e2feechoneydew
#e2feechoneydew
Secondary foreground
#03451cdarkgreen
#03451cdarkgreen
Muted
#eef6f1whitesmoke
#09110cblack
Muted foreground
#545454dimgray
#abababdarkgray
Accent
#e2f3felightcyan
#e2f3felightcyan
Accent foreground
#032b45midnightblue
#032b45midnightblue
Destructive
#8f2400darkred
#ff5b24tomato
Destructive foreground
#ffd1c2peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e2fefalightcyan
#e2fefalightcyan

Contrast

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

Light mode
Text on background19.48:1AAA
Text on card19.48:1AAA
Primary button10.27:1AAA
Secondary button10.46:1AAA
Muted text6.89:1AA
Accent12.86:1AAA
Destructive6.27:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button10.27:1AAA
Secondary button10.46:1AAA
Muted text8.35:1AAA
Accent12.86:1AAA
Destructive6.75:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 188.84);
  --foreground: oklch(0.144 0.016 187.693);
  --muted: oklch(0.966 0.011 159.224);
  --muted-foreground: oklch(0.446 0 180);
  --popover: oklch(0.994 0.003 188.84);
  --popover-foreground: oklch(0.144 0.016 187.693);
  --card: oklch(0.994 0.003 188.84);
  --card-foreground: oklch(0.144 0.016 187.693);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.975 0.03 188.181);
  --primary-foreground: oklch(0.349 0.061 182.254);
  --secondary: oklch(0.971 0.037 158.587);
  --secondary-foreground: oklch(0.341 0.092 149.929);
  --accent: oklch(0.954 0.023 234.871);
  --accent-foreground: oklch(0.278 0.063 242.018);
  --destructive: oklch(0.43 0.148 35.83);
  --destructive-foreground: oklch(0.897 0.056 39.258);
  --ring: oklch(0.975 0.03 188.181);
  --chart-1: oklch(0.975 0.03 188.181);
  --chart-2: oklch(0.971 0.037 158.587);
  --chart-3: oklch(0.954 0.023 234.871);
  --chart-4: oklch(0.985 0.019 159.042);
  --chart-5: oklch(0.976 0.03 188.159);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.166 0.016 157.247);
  --muted-foreground: oklch(0.741 0 171.254);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.975 0.03 188.181);
  --primary-foreground: oklch(0.349 0.061 182.254);
  --secondary: oklch(0.971 0.037 158.587);
  --secondary-foreground: oklch(0.341 0.092 149.929);
  --accent: oklch(0.954 0.023 234.871);
  --accent-foreground: oklch(0.278 0.063 242.018);
  --destructive: oklch(0.683 0.21 37.213);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.975 0.03 188.181);
  --chart-1: oklch(0.975 0.03 188.181);
  --chart-2: oklch(0.971 0.037 158.587);
  --chart-3: oklch(0.954 0.023 234.871);
  --chart-4: oklch(0.985 0.019 159.042);
  --chart-5: oklch(0.976 0.03 188.159);
}