Examiner for shadcn/ui

Examiner is a shadcn/ui theme built around a vivid cyan primary color (#72d2f8) with vivid orange accents (#f89872). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid cyan primary (#72d2f8) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#fbfdfewhite
#010304black
Foreground
#010304black
#f8fbfbghostwhite
Card
#fbfdfewhite
#010304black
Card foreground
#010304black
#f8fbfbghostwhite
Popover
#fbfdfewhite
#010304black
Popover foreground
#010304black
#f8fbfbghostwhite
Primary
#72d2f8lightskyblue
#72d2f8lightskyblue
Primary foreground
#032735midnightblue
#032735midnightblue
Secondary
#f89872lightsalmon
#f89872lightsalmon
Secondary foreground
#351103black
#351103black
Muted
#efececlinen
#131110black
Muted foreground
#5a5553dimgray
#aca7a5darkgray
Accent
#f89872lightsalmon
#f89872lightsalmon
Accent foreground
#351103black
#351103black
Destructive
#73260csaddlebrown
#e74f1dchocolate
Destructive foreground
#f8c9bapeachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#72d2f8lightskyblue
#72d2f8lightskyblue

Contrast

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

Light mode
Text on background20.26:1AAA
Text on card20.26:1AAA
Primary button9.12:1AAA
Secondary button7.88:1AAA
Muted text6.26:1AA
Accent7.88:1AAA
Destructive6.97:1AA
Dark mode
Text on background19.84:1AAA
Text on card19.84:1AAA
Primary button9.12:1AAA
Secondary button7.88:1AAA
Muted text7.89:1AAA
Accent7.88:1AAA
Destructive3.78:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 223.153);
  --foreground: oklch(0.094 0.009 217.885);
  --muted: oklch(0.946 0.003 43.103);
  --muted-foreground: oklch(0.454 0.007 42.991);
  --popover: oklch(0.993 0.002 223.153);
  --popover-foreground: oklch(0.094 0.009 217.885);
  --card: oklch(0.993 0.002 223.153);
  --card-foreground: oklch(0.094 0.009 217.885);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.819 0.105 226.04);
  --primary-foreground: oklch(0.256 0.048 229.351);
  --secondary: oklch(0.771 0.126 42.158);
  --secondary-foreground: oklch(0.234 0.063 42.348);
  --accent: oklch(0.771 0.126 42.158);
  --accent-foreground: oklch(0.234 0.063 42.348);
  --destructive: oklch(0.383 0.115 37.473);
  --destructive-foreground: oklch(0.873 0.057 39.253);
  --ring: oklch(0.819 0.105 226.04);
  --chart-1: oklch(0.819 0.105 226.04);
  --chart-2: oklch(0.771 0.126 42.158);
  --chart-3: oklch(0.771 0.126 42.158);
  --chart-4: oklch(0.792 0.112 42.304);
  --chart-5: oklch(0.821 0.108 226.19);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.094 0.009 217.966);
  --foreground: oklch(0.985 0.003 223.156);
  --muted: oklch(0.181 0.004 42.933);
  --muted-foreground: oklch(0.731 0.006 43.051);
  --popover: oklch(0.094 0.009 217.966);
  --popover-foreground: oklch(0.985 0.003 223.156);
  --card: oklch(0.094 0.009 217.966);
  --card-foreground: oklch(0.985 0.003 223.156);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.819 0.105 226.04);
  --primary-foreground: oklch(0.256 0.048 229.351);
  --secondary: oklch(0.771 0.126 42.158);
  --secondary-foreground: oklch(0.234 0.063 42.348);
  --accent: oklch(0.771 0.126 42.158);
  --accent-foreground: oklch(0.234 0.063 42.348);
  --destructive: oklch(0.632 0.197 37.049);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.819 0.105 226.04);
  --chart-1: oklch(0.819 0.105 226.04);
  --chart-2: oklch(0.771 0.126 42.158);
  --chart-3: oklch(0.771 0.126 42.158);
  --chart-4: oklch(0.792 0.112 42.304);
  --chart-5: oklch(0.821 0.108 226.19);
}