Untried for shadcn/ui

Untried is a shadcn/ui theme built around a deep green primary color (#092f0b) with deep teal accents (#092f1e). The light mode uses a neutral background (#fbfdfc). Dark mode keeps the deep green primary (#092f0b) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfdfcwhite
#000000black
Foreground
#010902black
#ffffffwhite
Card
#f8fcf8mintcream
#030303black
Card foreground
#010401black
#ffffffwhite
Popover
#f8fcf8mintcream
#030303black
Popover foreground
#010401black
#ffffffwhite
Primary
#092f0bblack
#092f0bblack
Primary foreground
#2ed637limegreen
#2ed637limegreen
Secondary
#1a2f09black
#1a2f09black
Secondary foreground
#7ad62eyellowgreen
#7ad62eyellowgreen
Muted
#e5ecdfgainsboro
#192013black
Muted foreground
#40403fdarkslategray
#bfc0bfsilver
Accent
#092f1eblack
#092f1eblack
Accent foreground
#2ed68amediumseagreen
#2ed68amediumseagreen
Destructive
#7e300csaddlebrown
#e95916chocolate
Destructive foreground
#f9d4c2peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#092f0bblack
#092f0bblack

Contrast

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

Light mode
Text on background19.80:1AAA
Text on card19.87:1AAA
Primary button7.59:1AAA
Secondary button7.90:1AAA
Muted text8.60:1AAA
Accent7.73:1AAA
Destructive6.58:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button7.59:1AAA
Secondary button7.90:1AAA
Muted text9.14:1AAA
Accent7.73:1AAA
Destructive3.55:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 147.008);
  --foreground: oklch(0.124 0.031 145.037);
  --muted: oklch(0.934 0.019 130.633);
  --muted-foreground: oklch(0.372 0.002 130.497);
  --popover: oklch(0.987 0.006 146.977);
  --popover-foreground: oklch(0.099 0.025 145.037);
  --card: oklch(0.987 0.006 146.977);
  --card-foreground: oklch(0.099 0.025 145.037);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.269 0.074 143.901);
  --primary-foreground: oklch(0.765 0.236 143.33);
  --secondary: oklch(0.277 0.066 133.69);
  --secondary-foreground: oklch(0.788 0.212 134.78);
  --accent: oklch(0.273 0.053 159.959);
  --accent-foreground: oklch(0.776 0.171 157.769);
  --destructive: oklch(0.416 0.117 41.549);
  --destructive-foreground: oklch(0.896 0.049 46.324);
  --ring: oklch(0.269 0.074 143.901);
  --chart-1: oklch(0.269 0.074 143.901);
  --chart-2: oklch(0.277 0.066 133.69);
  --chart-3: oklch(0.273 0.053 159.959);
  --chart-4: oklch(0.322 0.079 133.968);
  --chart-5: oklch(0.271 0.076 143.824);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.232 0.027 131.619);
  --muted-foreground: oklch(0.807 0.002 130.46);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.269 0.074 143.901);
  --primary-foreground: oklch(0.765 0.236 143.33);
  --secondary: oklch(0.277 0.066 133.69);
  --secondary-foreground: oklch(0.788 0.212 134.78);
  --accent: oklch(0.273 0.053 159.959);
  --accent-foreground: oklch(0.776 0.171 157.769);
  --destructive: oklch(0.646 0.192 40.55);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.269 0.074 143.901);
  --chart-1: oklch(0.269 0.074 143.901);
  --chart-2: oklch(0.277 0.066 133.69);
  --chart-3: oklch(0.273 0.053 159.959);
  --chart-4: oklch(0.322 0.079 133.968);
  --chart-5: oklch(0.271 0.076 143.824);
}