Unconscious for shadcn/ui

Unconscious is a shadcn/ui theme built around a light green primary color (#f1fbea) with light pink accents (#fbeaf1). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#f1fbea) on a green-tinted background (#090e07).

Color palette

TokenLightDark
Background
#ffffffwhite
#090e07black
Foreground
#070d02black
#fafbf9snow
Card
#ffffffwhite
#090e07black
Card foreground
#070d02black
#fafbf9snow
Popover
#ffffffwhite
#090e07black
Popover foreground
#070d02black
#fafbf9snow
Primary
#f1fbeahoneydew
#f1fbeahoneydew
Primary foreground
#213f0ddarkgreen
#213f0ddarkgreen
Secondary
#eaf1fbaliceblue
#eaf1fbaliceblue
Secondary foreground
#1e4d94darkslateblue
#1e4d94darkslateblue
Muted
#eff2f6whitesmoke
#090c10black
Muted foreground
#3d4148darkslategray
#b7bcc2silver
Accent
#fbeaf1lavenderblush
#fbeaf1lavenderblush
Accent foreground
#941e4dbrown
#941e4dbrown
Destructive
#c91a03firebrick
#ec1f04red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f1fbeahoneydew
#f1fbeahoneydew

Contrast

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

Light mode
Text on background19.67:1AAA
Text on card19.67:1AAA
Primary button11.04:1AAA
Secondary button7.23:1AAA
Muted text9.10:1AAA
Accent7.09:1AAA
Destructive5.78:1AA
Dark mode
Text on background18.78:1AAA
Text on card18.78:1AAA
Primary button11.04:1AAA
Secondary button7.23:1AAA
Muted text10.24:1AAA
Accent7.09:1AAA
Destructive4.40:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.148 0.03 130.885);
  --muted: oklch(0.959 0.006 258.329);
  --muted-foreground: oklch(0.375 0.012 258.367);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.148 0.03 130.885);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.148 0.03 130.885);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.975 0.025 132.549);
  --primary-foreground: oklch(0.334 0.084 135.421);
  --secondary: oklch(0.955 0.015 258.348);
  --secondary-foreground: oklch(0.431 0.127 258.668);
  --accent: oklch(0.952 0.02 351.217);
  --accent-foreground: oklch(0.448 0.156 2.217);
  --destructive: oklch(0.533 0.207 30.753);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.975 0.025 132.549);
  --chart-1: oklch(0.975 0.025 132.549);
  --chart-2: oklch(0.955 0.015 258.348);
  --chart-3: oklch(0.952 0.02 351.217);
  --chart-4: oklch(0.982 0.006 258.328);
  --chart-5: oklch(0.976 0.026 132.558);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.155 0.017 132.178);
  --foreground: oklch(0.987 0.003 132.383);
  --muted: oklch(0.154 0.01 258.304);
  --muted-foreground: oklch(0.793 0.01 258.342);
  --popover: oklch(0.155 0.017 132.178);
  --popover-foreground: oklch(0.987 0.003 132.383);
  --card: oklch(0.155 0.017 132.178);
  --card-foreground: oklch(0.987 0.003 132.383);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.975 0.025 132.549);
  --primary-foreground: oklch(0.334 0.084 135.421);
  --secondary: oklch(0.955 0.015 258.348);
  --secondary-foreground: oklch(0.431 0.127 258.668);
  --accent: oklch(0.952 0.02 351.217);
  --accent-foreground: oklch(0.448 0.156 2.217);
  --destructive: oklch(0.601 0.235 30.624);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.975 0.025 132.549);
  --chart-1: oklch(0.975 0.025 132.549);
  --chart-2: oklch(0.955 0.015 258.348);
  --chart-3: oklch(0.952 0.02 351.217);
  --chart-4: oklch(0.982 0.006 258.328);
  --chart-5: oklch(0.976 0.026 132.558);
}