Mixed for shadcn/ui

Mixed is a shadcn/ui theme built around a vivid light green primary color (#ddfed2) with vivid light red accents (#fed2dd). The light mode uses a neutral background (#f8fdf6). Dark mode keeps the vivid light green primary (#ddfed2) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fdf6mintcream
#000000black
Foreground
#0a1306black
#f7f8f6whitesmoke
Card
#f5fdf2honeydew
#030303black
Card foreground
#080f05black
#fafbf9snow
Popover
#f8fdf6mintcream
#000000black
Popover foreground
#0a1306black
#f7f8f6whitesmoke
Primary
#ddfed2beige
#ddfed2beige
Primary foreground
#0f3701darkgreen
#0f3701darkgreen
Secondary
#d2ddfelavender
#d2ddfelavender
Secondary foreground
#03299bdarkblue
#03299bdarkblue
Muted
#d6d9e0gainsboro
#1f2129black
Muted foreground
#3e3f42darkslategray
#bdbec1silver
Accent
#fed2ddmistyrose
#fed2ddmistyrose
Accent foreground
#9b0329firebrick
#9b0329firebrick
Destructive
#83200cmaroon
#ed5d40tomato
Destructive foreground
#facfc7pink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ddfed2beige
#ddfed2beige

Contrast

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

Light mode
Text on background18.43:1AAA
Text on card18.65:1AAA
Primary button12.24:1AAA
Secondary button8.64:1AAA
Muted text7.44:1AAA
Accent6.34:1AA
Destructive6.82:1AA
Dark mode
Text on background19.71:1AAA
Text on card19.92:1AAA
Primary button12.24:1AAA
Secondary button8.64:1AAA
Muted text8.63:1AAA
Accent6.34:1AA
Destructive6.23:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.011 137.781);
  --foreground: oklch(0.173 0.03 137.483);
  --muted: oklch(0.885 0.011 271.295);
  --muted-foreground: oklch(0.367 0.005 271.277);
  --popover: oklch(0.989 0.011 137.781);
  --popover-foreground: oklch(0.173 0.03 137.483);
  --card: oklch(0.984 0.016 137.791);
  --card-foreground: oklch(0.158 0.026 136.817);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.962 0.067 137.893);
  --primary-foreground: oklch(0.296 0.092 139.157);
  --secondary: oklch(0.9 0.047 270.85);
  --secondary-foreground: oklch(0.356 0.186 263.87);
  --accent: oklch(0.905 0.051 1.422);
  --accent-foreground: oklch(0.438 0.174 18.747);
  --destructive: oklch(0.404 0.137 32.965);
  --destructive-foreground: oklch(0.89 0.049 31.255);
  --ring: oklch(0.962 0.067 137.893);
  --chart-1: oklch(0.962 0.067 137.893);
  --chart-2: oklch(0.9 0.047 270.85);
  --chart-3: oklch(0.905 0.051 1.422);
  --chart-4: oklch(0.933 0.031 271.073);
  --chart-5: oklch(0.963 0.07 137.897);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.978 0.003 137.768);
  --muted: oklch(0.249 0.015 270.767);
  --muted-foreground: oklch(0.803 0.004 271.361);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.978 0.003 137.768);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.986 0.002 137.767);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.962 0.067 137.893);
  --primary-foreground: oklch(0.296 0.092 139.157);
  --secondary: oklch(0.9 0.047 270.85);
  --secondary-foreground: oklch(0.356 0.186 263.87);
  --accent: oklch(0.905 0.051 1.422);
  --accent-foreground: oklch(0.438 0.174 18.747);
  --destructive: oklch(0.66 0.185 33.166);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.962 0.067 137.893);
  --chart-1: oklch(0.962 0.067 137.893);
  --chart-2: oklch(0.9 0.047 270.85);
  --chart-3: oklch(0.905 0.051 1.422);
  --chart-4: oklch(0.933 0.031 271.073);
  --chart-5: oklch(0.963 0.07 137.897);
}