Identification for shadcn/ui

Identification is a shadcn/ui theme built around a vivid green primary color (#86ff05) with vivid pink accents (#ff0586). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the vivid green primary (#86ff05) on a green-tinted background (#080c04).

Color palette

TokenLightDark
Background
#fcfdfcwhite
#080c04black
Foreground
#0a1202black
#fcfdfcwhite
Card
#fcfdfcwhite
#080c04black
Card foreground
#0a1202black
#fcfdfcwhite
Popover
#fcfdfcwhite
#080c04black
Popover foreground
#0a1202black
#fcfdfcwhite
Primary
#86ff05chartreuse
#86ff05chartreuse
Primary foreground
#1d3800darkgreen
#1d3800darkgreen
Secondary
#0586ffdodgerblue
#0586ffdodgerblue
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#dae1e7gainsboro
#181f25black
Muted foreground
#4b4f53darkslategray
#acb0b4darkgray
Accent
#ff0586deeppink
#ff0586deeppink
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#ca0707firebrick
#ec0909red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#86ff05chartreuse
#86ff05chartreuse

Contrast

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

Light mode
Text on background18.77:1AAA
Text on card18.77:1AAA
Primary button10.08:1AAA
Secondary button3.57:1AA Large
Muted text6.23:1AA
Accent3.73:1AA Large
Destructive5.93:1AA
Dark mode
Text on background19.38:1AAA
Text on card19.38:1AAA
Primary button10.08:1AAA
Secondary button3.57:1AA Large
Muted text7.63:1AAA
Accent3.73:1AA Large
Destructive4.54:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 127.82);
  --foreground: oklch(0.17 0.037 128.343);
  --muted: oklch(0.905 0.011 246.108);
  --muted-foreground: oklch(0.426 0.008 246.188);
  --popover: oklch(0.994 0.003 127.82);
  --popover-foreground: oklch(0.17 0.037 128.343);
  --card: oklch(0.994 0.003 127.82);
  --card-foreground: oklch(0.17 0.037 128.343);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.893 0.261 135.197);
  --primary-foreground: oklch(0.307 0.087 132.895);
  --secondary: oklch(0.629 0.203 254.741);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.648 0.261 0.627);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.528 0.214 28.93);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.893 0.261 135.197);
  --chart-1: oklch(0.893 0.261 135.197);
  --chart-2: oklch(0.629 0.203 254.741);
  --chart-3: oklch(0.648 0.261 0.627);
  --chart-4: oklch(0.646 0.194 253.302);
  --chart-5: oklch(0.902 0.265 135.396);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.145 0.021 126.957);
  --foreground: oklch(0.993 0.001 127.804);
  --muted: oklch(0.235 0.015 246.723);
  --muted-foreground: oklch(0.755 0.007 246.076);
  --popover: oklch(0.145 0.021 126.957);
  --popover-foreground: oklch(0.993 0.001 127.804);
  --card: oklch(0.145 0.021 126.957);
  --card-foreground: oklch(0.993 0.001 127.804);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.893 0.261 135.197);
  --primary-foreground: oklch(0.307 0.087 132.895);
  --secondary: oklch(0.629 0.203 254.741);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.648 0.261 0.627);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.595 0.241 28.984);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.893 0.261 135.197);
  --chart-1: oklch(0.893 0.261 135.197);
  --chart-2: oklch(0.629 0.203 254.741);
  --chart-3: oklch(0.648 0.261 0.627);
  --chart-4: oklch(0.646 0.194 253.302);
  --chart-5: oklch(0.902 0.265 135.396);
}