Untried for shadcn/ui

Untried is a shadcn/ui theme built around a light yellow primary color (#ecedab) with light green accents (#cbedab). The light mode uses a neutral background (#fdfdf7). Dark mode keeps the light yellow primary (#ecedab) on a yellow-tinted background (#0a0a05).

Color palette

TokenLightDark
Background
#fdfdf7snow
#0a0a05black
Foreground
#080802black
#ffffffwhite
Card
#fcfcf3floralwhite
#0d0d07black
Card foreground
#040401black
#ffffffwhite
Popover
#fcfcf3floralwhite
#0d0d07black
Popover foreground
#040401black
#ffffffwhite
Primary
#ecedabpalegoldenrod
#ecedabpalegoldenrod
Primary foreground
#535412darkolivegreen
#535412darkolivegreen
Secondary
#edcdabwheat
#edcdabwheat
Secondary foreground
#543412saddlebrown
#543412saddlebrown
Muted
#e9e1d8gainsboro
#271f16black
Muted foreground
#6d645adimgray
#a59c92rosybrown
Accent
#cbedabpalegoldenrod
#cbedabpalegoldenrod
Accent foreground
#325412darkolivegreen
#325412darkolivegreen
Destructive
#ad0e0bfirebrick
#f12b27crimson
Destructive foreground
#feececlinen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ecedabpalegoldenrod
#ecedabpalegoldenrod

Contrast

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

Light mode
Text on background19.66:1AAA
Text on card19.89:1AAA
Primary button6.53:1AA
Secondary button7.42:1AAA
Muted text4.47:1AA Large
Accent6.73:1AA
Destructive6.50:1AA
Dark mode
Text on background19.82:1AAA
Text on card19.43:1AAA
Primary button6.53:1AA
Secondary button7.42:1AAA
Muted text6.00:1AA
Accent6.73:1AA
Destructive4.10: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.992 0.008 107.319);
  --foreground: oklch(0.13 0.016 109.102);
  --muted: oklch(0.913 0.015 69.484);
  --muted-foreground: oklch(0.508 0.02 69.216);
  --popover: oklch(0.988 0.012 107.394);
  --popover-foreground: oklch(0.103 0.013 109.102);
  --card: oklch(0.988 0.012 107.394);
  --card-foreground: oklch(0.103 0.013 109.102);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.93 0.085 108.745);
  --primary-foreground: oklch(0.432 0.085 110.452);
  --secondary: oklch(0.867 0.058 68.814);
  --secondary-foreground: oklch(0.357 0.066 64.28);
  --accent: oklch(0.906 0.094 130.311);
  --accent-foreground: oklch(0.405 0.101 133.181);
  --destructive: oklch(0.473 0.187 28.828);
  --destructive-foreground: oklch(0.957 0.019 18.674);
  --ring: oklch(0.93 0.085 108.745);
  --chart-1: oklch(0.93 0.085 108.745);
  --chart-2: oklch(0.867 0.058 68.814);
  --chart-3: oklch(0.906 0.094 130.311);
  --chart-4: oklch(0.887 0.049 68.994);
  --chart-5: oklch(0.934 0.088 108.801);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.143 0.012 108.494);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.246 0.02 68.517);
  --muted-foreground: oklch(0.698 0.019 69.371);
  --popover: oklch(0.159 0.014 108.628);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.159 0.014 108.628);
  --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.93 0.085 108.745);
  --primary-foreground: oklch(0.432 0.085 110.452);
  --secondary: oklch(0.867 0.058 68.814);
  --secondary-foreground: oklch(0.357 0.066 64.28);
  --accent: oklch(0.906 0.094 130.311);
  --accent-foreground: oklch(0.405 0.101 133.181);
  --destructive: oklch(0.618 0.231 27.939);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.93 0.085 108.745);
  --chart-1: oklch(0.93 0.085 108.745);
  --chart-2: oklch(0.867 0.058 68.814);
  --chart-3: oklch(0.906 0.094 130.311);
  --chart-4: oklch(0.887 0.049 68.994);
  --chart-5: oklch(0.934 0.088 108.801);
}