Pantologist for shadcn/ui

Pantologist is a shadcn/ui theme built around a vivid teal primary color (#0befb6) with vivid cyan accents (#0bb6ef). The light mode uses a neutral background (#fbfefd). Dark mode keeps the vivid teal primary (#0befb6) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#fbfefdwhite
#020303black
Foreground
#010403black
#f9fbfamintcream
Card
#f7fdfbmintcream
#030706black
Card foreground
#000000black
#fcfdfdwhite
Popover
#fbfefdwhite
#020303black
Popover foreground
#010403black
#f9fbfamintcream
Primary
#0befb6mediumspringgreen
#0befb6mediumspringgreen
Primary foreground
#022c21black
#022c21black
Secondary
#0bef44limegreen
#0bef44limegreen
Secondary foreground
#022c0dblack
#022c0dblack
Muted
#deede2gainsboro
#122116black
Muted foreground
#546458dimgray
#9bab9fdarkgray
Accent
#0bb6efdeepskyblue
#0bb6efdeepskyblue
Accent foreground
#02212cblack
#02212cblack
Destructive
#8f2105darkred
#f85830tomato
Destructive foreground
#fdd3c9peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0befb6mediumspringgreen
#0befb6mediumspringgreen

Contrast

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

Light mode
Text on background20.26:1AAA
Text on card20.34:1AAA
Primary button10.10:1AAA
Secondary button9.79:1AAA
Muted text5.18:1AA
Accent7.10:1AAA
Destructive6.44:1AA
Dark mode
Text on background19.84:1AAA
Text on card19.87:1AAA
Primary button10.10:1AAA
Secondary button9.79:1AAA
Muted text6.95:1AA
Accent7.10:1AAA
Destructive6.41:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 179.784);
  --foreground: oklch(0.1 0.013 179.921);
  --muted: oklch(0.932 0.022 153.479);
  --muted-foreground: oklch(0.486 0.028 152.849);
  --popover: oklch(0.994 0.003 179.784);
  --popover-foreground: oklch(0.1 0.013 179.921);
  --card: oklch(0.988 0.006 179.7);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.845 0.171 167.644);
  --primary-foreground: oklch(0.261 0.049 171.639);
  --secondary: oklch(0.827 0.259 144.902);
  --secondary-foreground: oklch(0.256 0.072 147.712);
  --accent: oklch(0.727 0.143 229.994);
  --accent-foreground: oklch(0.232 0.041 224.179);
  --destructive: oklch(0.427 0.15 33.868);
  --destructive-foreground: oklch(0.901 0.049 34.346);
  --ring: oklch(0.845 0.171 167.644);
  --chart-1: oklch(0.845 0.171 167.644);
  --chart-2: oklch(0.827 0.259 144.902);
  --chart-3: oklch(0.727 0.143 229.994);
  --chart-4: oklch(0.842 0.259 145.328);
  --chart-5: oklch(0.855 0.174 167.302);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.007 179.898);
  --foreground: oklch(0.986 0.002 179.82);
  --muted: oklch(0.23 0.03 151.415);
  --muted-foreground: oklch(0.726 0.026 153.265);
  --popover: oklch(0.096 0.007 179.898);
  --popover-foreground: oklch(0.986 0.002 179.82);
  --card: oklch(0.121 0.009 179.898);
  --card-foreground: oklch(0.993 0.001 179.843);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.845 0.171 167.644);
  --primary-foreground: oklch(0.261 0.049 171.639);
  --secondary: oklch(0.827 0.259 144.902);
  --secondary-foreground: oklch(0.256 0.072 147.712);
  --accent: oklch(0.727 0.143 229.994);
  --accent-foreground: oklch(0.232 0.041 224.179);
  --destructive: oklch(0.67 0.202 34.938);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.845 0.171 167.644);
  --chart-1: oklch(0.845 0.171 167.644);
  --chart-2: oklch(0.827 0.259 144.902);
  --chart-3: oklch(0.727 0.143 229.994);
  --chart-4: oklch(0.842 0.259 145.328);
  --chart-5: oklch(0.855 0.174 167.302);
}