Untried is a shadcn/ui theme built around a green primary color (#b7c440) with purple accents (#c440b7). The light mode uses a neutral background (#fefefb). Dark mode keeps the green primary (#b7c440) on a green-tinted background (#0a0a05).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #0a0a05black |
| Foreground | #040401black | #fdfdfbsnow |
| Card | #fcfdf7snow | #0d0e07black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefefbwhite | #0a0a05black |
| Popover foreground | #040401black | #fdfdfbsnow |
| Primary | #b7c440yellowgreen | #b7c440yellowgreen |
| Primary foreground | #282b0dblack | #282b0dblack |
| Secondary | #40b7c4mediumturquoise | #40b7c4mediumturquoise |
| Secondary foreground | #0d282bblack | #0d282bblack |
| Muted | #e0eff1lavender | #0e1e1fblack |
| Muted foreground | #434b4cdarkslategray | #b3bbbcsilver |
| Accent | #c440b7mediumorchid | #c440b7mediumorchid |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #db110ared | #f52b24crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b7c440yellowgreen | #b7c440yellowgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.27:1 | AAA |
| Text on card | 20.47:1 | AAA |
| Primary button | 7.63:1 | AAA |
| Secondary button | 6.48:1 | AA |
| Muted text | 7.55:1 | AAA |
| Accent | 4.40:1 | AA Large |
| Destructive | 5.11:1 | AA |
| Text on background | 19.45:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 7.63:1 | AAA |
| Secondary button | 6.48:1 | AA |
| Muted text | 8.79:1 | AAA |
| Accent | 4.40:1 | AA Large |
| Destructive | 4.00:1 | AA Large |
Paste this into your globals.css to use Untried in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 111.08);
--foreground: oklch(0.106 0.017 112.579);
--muted: oklch(0.941 0.016 204.865);
--muted-foreground: oklch(0.406 0.01 204.82);
--popover: oklch(0.995 0.003 111.08);
--popover-foreground: oklch(0.106 0.017 112.579);
--card: oklch(0.991 0.007 111.146);
--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.787 0.153 114.898);
--primary-foreground: oklch(0.278 0.047 114.271);
--secondary: oklch(0.719 0.105 205.676);
--secondary-foreground: oklch(0.257 0.033 205.138);
--accent: oklch(0.601 0.213 332.161);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.565 0.225 29.249);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.787 0.153 114.898);
--chart-1: oklch(0.787 0.153 114.898);
--chart-2: oklch(0.719 0.105 205.676);
--chart-3: oklch(0.601 0.213 332.161);
--chart-4: oklch(0.735 0.102 205.402);
--chart-5: oklch(0.797 0.159 115.039);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.013 111.935);
--foreground: oklch(0.995 0.003 111.063);
--muted: oklch(0.221 0.021 204.757);
--muted-foreground: oklch(0.786 0.009 204.908);
--popover: oklch(0.143 0.013 111.935);
--popover-foreground: oklch(0.995 0.003 111.063);
--card: oklch(0.159 0.015 112.51);
--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.787 0.153 114.898);
--primary-foreground: oklch(0.278 0.047 114.271);
--secondary: oklch(0.719 0.105 205.676);
--secondary-foreground: oklch(0.257 0.033 205.138);
--accent: oklch(0.601 0.213 332.161);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.624 0.234 28.55);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.787 0.153 114.898);
--chart-1: oklch(0.787 0.153 114.898);
--chart-2: oklch(0.719 0.105 205.676);
--chart-3: oklch(0.601 0.213 332.161);
--chart-4: oklch(0.735 0.102 205.402);
--chart-5: oklch(0.797 0.159 115.039);
}