Immediate for shadcn/ui

Immediate is a shadcn/ui theme built around a teal primary color (#58dbdf) with red accents (#df5c58). The light mode uses a neutral background (#f7fcfd). Dark mode keeps the teal primary (#58dbdf) on a neutral background (#010404).

Color palette

TokenLightDark
Background
#f7fcfdghostwhite
#010404black
Foreground
#010404black
#f8fcfcmintcream
Card
#f7fcfdghostwhite
#010404black
Card foreground
#010404black
#f8fcfcmintcream
Popover
#f7fcfdghostwhite
#010404black
Popover foreground
#010404black
#f8fcfcmintcream
Primary
#58dbdfmediumturquoise
#58dbdfmediumturquoise
Primary foreground
#010404black
#010404black
Secondary
#df5c58indianred
#df5c58indianred
Secondary foreground
#000000black
#000000black
Muted
#dfd8d8gainsboro
#272120black
Muted foreground
#664e4ddimgray
#b29a99rosybrown
Accent
#df5c58indianred
#df5c58indianred
Accent foreground
#000000black
#000000black
Destructive
#8d3001saddlebrown
#fc5603orangered
Destructive foreground
#fed6c2peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#58dbdfmediumturquoise
#58dbdfmediumturquoise

Contrast

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

Light mode
Text on background19.94:1AAA
Text on card19.94:1AAA
Primary button12.32:1AAA
Secondary button5.82:1AA
Muted text5.41:1AA
Accent5.82:1AA
Destructive6.08:1AA
Dark mode
Text on background19.92:1AAA
Text on card19.92:1AAA
Primary button12.32:1AAA
Secondary button5.82:1AA
Muted text6.03:1AA
Accent5.82:1AA
Destructive3.23:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.006 199.529);
  --foreground: oklch(0.101 0.013 197.292);
  --muted: oklch(0.888 0.007 19.713);
  --muted-foreground: oklch(0.447 0.033 20.744);
  --popover: oklch(0.988 0.006 199.529);
  --popover-foreground: oklch(0.101 0.013 197.292);
  --card: oklch(0.988 0.006 199.529);
  --card-foreground: oklch(0.101 0.013 197.292);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.821 0.114 198.37);
  --primary-foreground: oklch(0.1 0.013 197.384);
  --secondary: oklch(0.642 0.165 24.807);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.642 0.165 24.807);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.442 0.136 40.716);
  --destructive-foreground: oklch(0.906 0.052 48.12);
  --ring: oklch(0.821 0.114 198.37);
  --chart-1: oklch(0.821 0.114 198.37);
  --chart-2: oklch(0.642 0.165 24.807);
  --chart-3: oklch(0.642 0.165 24.807);
  --chart-4: oklch(0.665 0.152 24.04);
  --chart-5: oklch(0.827 0.117 198.375);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.01 197.705);
  --foreground: oklch(0.987 0.004 199.553);
  --muted: oklch(0.253 0.01 20.159);
  --muted-foreground: oklch(0.708 0.029 20.206);
  --popover: oklch(0.099 0.01 197.705);
  --popover-foreground: oklch(0.987 0.004 199.553);
  --card: oklch(0.099 0.01 197.705);
  --card-foreground: oklch(0.987 0.004 199.553);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.821 0.114 198.37);
  --primary-foreground: oklch(0.1 0.013 197.384);
  --secondary: oklch(0.642 0.165 24.807);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.642 0.165 24.807);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.673 0.214 39.106);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.821 0.114 198.37);
  --chart-1: oklch(0.821 0.114 198.37);
  --chart-2: oklch(0.642 0.165 24.807);
  --chart-3: oklch(0.642 0.165 24.807);
  --chart-4: oklch(0.665 0.152 24.04);
  --chart-5: oklch(0.827 0.117 198.375);
}