Mixed for shadcn/ui

Mixed is a shadcn/ui theme built around a vivid teal primary color (#59fcec) with vivid yellow accents (#fcec59). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#59fcec) on a neutral background (#020807).

Color palette

TokenLightDark
Background
#ffffffwhite
#020807black
Foreground
#000000black
#f9fbfamintcream
Card
#fcfcfcsnow
#030c0bblack
Card foreground
#000000black
#fcfdfdwhite
Popover
#fcfcfcsnow
#030c0bblack
Popover foreground
#000000black
#fcfdfdwhite
Primary
#59fcecaquamarine
#59fcecaquamarine
Primary foreground
#012320black
#012320black
Secondary
#ec59fcviolet
#ec59fcviolet
Secondary foreground
#200123black
#200123black
Muted
#e3d1e5gainsboro
#2c1a2edarkslategray
Muted foreground
#5a585adimgray
#a6a5a7darkgray
Accent
#fcec59khaki
#fcec59khaki
Accent foreground
#232001black
#232001black
Destructive
#9a2d0esaddlebrown
#eb562dchocolate
Destructive foreground
#fce5demistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#59fcecaquamarine
#59fcecaquamarine

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button13.16:1AAA
Secondary button6.80:1AA
Muted text4.88:1AA
Accent13.54:1AAA
Destructive6.32:1AA
Dark mode
Text on background19.41:1AAA
Text on card19.40:1AAA
Primary button13.16:1AAA
Secondary button6.80:1AA
Muted text6.63:1AA
Accent13.54:1AAA
Destructive3.54:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.882 0.033 322.776);
  --muted-foreground: oklch(0.464 0.003 322.657);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --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.904 0.136 185.617);
  --primary-foreground: oklch(0.231 0.04 185.224);
  --secondary: oklch(0.718 0.256 323.582);
  --secondary-foreground: oklch(0.174 0.08 324.06);
  --accent: oklch(0.931 0.163 102.951);
  --accent-foreground: oklch(0.239 0.049 103.479);
  --destructive: oklch(0.461 0.15 35.163);
  --destructive-foreground: oklch(0.938 0.027 35.948);
  --ring: oklch(0.904 0.136 185.617);
  --chart-1: oklch(0.904 0.136 185.617);
  --chart-2: oklch(0.718 0.256 323.582);
  --chart-3: oklch(0.931 0.163 102.951);
  --chart-4: oklch(0.736 0.238 323.569);
  --chart-5: oklch(0.91 0.139 185.504);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.014 189.31);
  --foreground: oklch(0.986 0.002 190.042);
  --muted: oklch(0.249 0.045 323.27);
  --muted-foreground: oklch(0.723 0.003 322.644);
  --popover: oklch(0.144 0.016 188.82);
  --popover-foreground: oklch(0.993 0.001 190.06);
  --card: oklch(0.144 0.016 188.82);
  --card-foreground: oklch(0.993 0.001 190.06);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.904 0.136 185.617);
  --primary-foreground: oklch(0.231 0.04 185.224);
  --secondary: oklch(0.718 0.256 323.582);
  --secondary-foreground: oklch(0.174 0.08 324.06);
  --accent: oklch(0.931 0.163 102.951);
  --accent-foreground: oklch(0.239 0.049 103.479);
  --destructive: oklch(0.648 0.192 35.875);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.904 0.136 185.617);
  --chart-1: oklch(0.904 0.136 185.617);
  --chart-2: oklch(0.718 0.256 323.582);
  --chart-3: oklch(0.931 0.163 102.951);
  --chart-4: oklch(0.736 0.238 323.569);
  --chart-5: oklch(0.91 0.139 185.504);
}