Forked for shadcn/ui

Forked is a shadcn/ui theme built around a vivid deep teal primary color (#077849) with vivid deep pink accents (#780736). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the vivid deep teal primary (#077849) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fcfamintcream
#000000black
Foreground
#06140eblack
#f5f9f8whitesmoke
Card
#f5faf8mintcream
#030303black
Card foreground
#05100bblack
#f9fbfamintcream
Popover
#f5faf8mintcream
#030303black
Popover foreground
#05100bblack
#f9fbfamintcream
Primary
#077849seagreen
#077849seagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#780736maroon
#780736maroon
Secondary foreground
#fbb7d3pink
#fbb7d3pink
Muted
#e1d6dagainsboro
#291e23black
Muted foreground
#66575ddimgray
#a8999fdarkgray
Accent
#780736maroon
#780736maroon
Accent foreground
#fbb7d3pink
#fbb7d3pink
Destructive
#a20907darkred
#e10d09red
Destructive foreground
#feddddmistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#077849seagreen
#077849seagreen

Contrast

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

Light mode
Text on background18.19:1AAA
Text on card18.34:1AAA
Primary button5.50:1AA
Secondary button6.78:1AA
Muted text4.80:1AA
Accent6.78:1AA
Destructive6.45:1AA
Dark mode
Text on background19.78:1AAA
Text on card19.89:1AAA
Primary button5.50:1AA
Secondary button6.78:1AA
Muted text5.90:1AA
Accent6.78:1AA
Destructive4.91:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 169.542);
  --foreground: oklch(0.175 0.024 165.833);
  --muted: oklch(0.886 0.013 350.084);
  --muted-foreground: oklch(0.473 0.022 350.929);
  --popover: oklch(0.981 0.007 169.476);
  --popover-foreground: oklch(0.159 0.021 167.386);
  --card: oklch(0.981 0.007 169.476);
  --card-foreground: oklch(0.159 0.021 167.386);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.506 0.118 157.325);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.373 0.144 4.946);
  --secondary-foreground: oklch(0.849 0.086 352.355);
  --accent: oklch(0.373 0.144 4.946);
  --accent-foreground: oklch(0.849 0.086 352.355);
  --destructive: oklch(0.45 0.18 29.001);
  --destructive-foreground: oklch(0.925 0.036 18.979);
  --ring: oklch(0.506 0.118 157.325);
  --chart-1: oklch(0.506 0.118 157.325);
  --chart-2: oklch(0.373 0.144 4.946);
  --chart-3: oklch(0.373 0.144 4.946);
  --chart-4: oklch(0.404 0.157 5.324);
  --chart-5: oklch(0.512 0.12 156.994);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.98 0.005 169.533);
  --muted: oklch(0.251 0.018 351.623);
  --muted-foreground: oklch(0.698 0.02 350.45);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.986 0.003 169.58);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.986 0.003 169.58);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.506 0.118 157.325);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.373 0.144 4.946);
  --secondary-foreground: oklch(0.849 0.086 352.355);
  --accent: oklch(0.373 0.144 4.946);
  --accent-foreground: oklch(0.849 0.086 352.355);
  --destructive: oklch(0.575 0.232 29.086);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.506 0.118 157.325);
  --chart-1: oklch(0.506 0.118 157.325);
  --chart-2: oklch(0.373 0.144 4.946);
  --chart-3: oklch(0.373 0.144 4.946);
  --chart-4: oklch(0.404 0.157 5.324);
  --chart-5: oklch(0.512 0.12 156.994);
}