Automatic Dark Shamrock is a shadcn/ui theme built around a teal primary color (#41d29b) with muted light teal accents (#c6d2cd). The light mode uses a neutral background (#fbfefd). Dark mode keeps the teal primary (#41d29b) on a neutral background (#030706).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #030706black |
| Foreground | #010403black | #f8fbfamintcream |
| Card | #fbfefdwhite | #030706black |
| Card foreground | #010403black | #f8fbfamintcream |
| Popover | #fbfefdwhite | #030706black |
| Popover foreground | #010403black | #f8fbfamintcream |
| Primary | #41d29bmediumaquamarine | #41d29bmediumaquamarine |
| Primary foreground | #0e3a29darkslategray | #0e3a29darkslategray |
| Secondary | #dfe1e1gainsboro | #27342fdarkslategray |
| Secondary foreground | #454a48darkslategray | #bfcfc9silver |
| Muted | #e8edeblavender | #121715black |
| Muted foreground | #575c5adimgray | #a3a8a6darkgray |
| Accent | #c6d2cdlightgrey | #375348darkslategray |
| Accent foreground | #2d3934darkslategray | #d7e4dfgainsboro |
| Destructive | #cc1b00firebrick | #ff2f0forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e6eae9lavender | #202724darkslategray |
| Input | #e6eae9lavender | #202724darkslategray |
| Ring | #41d29bmediumaquamarine | #41d29bmediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 6.89:1 | AA |
| Muted text | 5.76:1 | AA |
| Accent | 7.71:1 | AAA |
| Destructive | 5.63:1 | AA |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 7.51:1 | AAA |
| Accent | 6.46:1 | AA |
| Destructive | 3.70:1 | AA Large |
Paste this into your globals.css to use Automatic Dark Shamrock in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 171.503);
--foreground: oklch(0.099 0.014 171.889);
--muted: oklch(0.942 0.006 171.399);
--muted-foreground: oklch(0.469 0.007 171.125);
--popover: oklch(0.994 0.003 171.503);
--popover-foreground: oklch(0.099 0.014 171.889);
--card: oklch(0.994 0.003 171.503);
--card-foreground: oklch(0.099 0.014 171.889);
--border: oklch(0.934 0.005 171.44);
--input: oklch(0.934 0.005 171.44);
--primary: oklch(0.775 0.147 163.18);
--primary-foreground: oklch(0.312 0.057 163.755);
--secondary: oklch(0.909 0.002 171.522);
--secondary-foreground: oklch(0.403 0.006 171.14);
--accent: oklch(0.853 0.014 171.128);
--accent-foreground: oklch(0.331 0.017 170.043);
--destructive: oklch(0.539 0.21 31.093);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.775 0.147 163.18);
--chart-1: oklch(0.775 0.147 163.18);
--chart-2: oklch(0.909 0.002 171.522);
--chart-3: oklch(0.853 0.014 171.128);
--chart-4: oklch(0.932 0.002 171.541);
--chart-5: oklch(0.783 0.152 162.794);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.012 171.799);
--foreground: oklch(0.987 0.003 171.49);
--muted: oklch(0.198 0.009 170.209);
--muted-foreground: oklch(0.728 0.007 171.323);
--popover: oklch(0.122 0.012 171.799);
--popover-foreground: oklch(0.987 0.003 171.49);
--card: oklch(0.122 0.012 171.799);
--card-foreground: oklch(0.987 0.003 171.49);
--border: oklch(0.265 0.01 170.431);
--input: oklch(0.265 0.01 170.431);
--primary: oklch(0.775 0.147 163.18);
--primary-foreground: oklch(0.312 0.057 163.755);
--secondary: oklch(0.313 0.019 169.669);
--secondary-foreground: oklch(0.84 0.019 170.928);
--accent: oklch(0.415 0.038 168.62);
--accent-foreground: oklch(0.909 0.016 171.085);
--destructive: oklch(0.644 0.242 31.28);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.775 0.147 163.18);
--chart-1: oklch(0.775 0.147 163.18);
--chart-2: oklch(0.313 0.019 169.669);
--chart-3: oklch(0.415 0.038 168.62);
--chart-4: oklch(0.345 0.022 169.603);
--chart-5: oklch(0.783 0.152 162.794);
}