Dredger is a shadcn/ui theme built around a vivid light teal primary color (#c0f6e8) with muted light teal accents (#e3e8e7). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the vivid light teal primary (#c0f6e8) on a neutral background (#030706).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfbmintcream | #030706black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f4faf9mintcream | #040b09black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f4faf9mintcream | #040b09black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #c0f6e8paleturquoise | #c0f6e8paleturquoise |
| Primary foreground | #041b15black | #041b15black |
| Secondary | #e3e8e7gainsboro | #232424black |
| Secondary foreground | #465350darkslategray | #bcbdbdsilver |
| Muted | #f1f4f3whitesmoke | #0b0e0dblack |
| Muted foreground | #575757dimgray | #a8a8a8darkgray |
| Accent | #e3e8e7gainsboro | #232424black |
| Accent foreground | #465350darkslategray | #bcbdbdsilver |
| Destructive | #722108maroon | #f05728chocolate |
| Destructive foreground | #fac3b3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c0f6e8paleturquoise | #c0f6e8paleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.28:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 15.04:1 | AAA |
| Secondary button | 6.48:1 | AA |
| Muted text | 6.50:1 | AA |
| Accent | 6.48:1 | AA |
| Destructive | 6.96:1 | AA |
| Text on background | 20.22:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 15.04:1 | AAA |
| Secondary button | 8.25:1 | AAA |
| Muted text | 8.14:1 | AAA |
| Accent | 8.25:1 | AAA |
| Destructive | 3.44:1 | AA Large |
Paste this into your globals.css to use Dredger in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 178.658);
--foreground: oklch(0 0 0);
--muted: oklch(0.964 0.003 178.698);
--muted-foreground: oklch(0.456 0 180);
--popover: oklch(0.981 0.006 178.593);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.006 178.593);
--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.933 0.058 176.837);
--primary-foreground: oklch(0.201 0.033 173.161);
--secondary: oklch(0.927 0.005 178.622);
--secondary-foreground: oklch(0.43 0.018 177.501);
--accent: oklch(0.927 0.005 178.622);
--accent-foreground: oklch(0.43 0.018 177.501);
--destructive: oklch(0.374 0.119 36.101);
--destructive-foreground: oklch(0.862 0.067 37.595);
--ring: oklch(0.933 0.058 176.837);
--chart-1: oklch(0.933 0.058 176.837);
--chart-2: oklch(0.927 0.005 178.622);
--chart-3: oklch(0.927 0.005 178.622);
--chart-4: oklch(0.949 0.004 178.674);
--chart-5: oklch(0.935 0.061 176.761);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.012 178.865);
--foreground: oklch(1 0 180);
--muted: oklch(0.161 0.004 177.976);
--muted-foreground: oklch(0.733 0 180);
--popover: oklch(0.141 0.013 178.687);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.141 0.013 178.687);
--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.933 0.058 176.837);
--primary-foreground: oklch(0.201 0.033 173.161);
--secondary: oklch(0.26 0.001 178.661);
--secondary-foreground: oklch(0.798 0.002 178.728);
--accent: oklch(0.26 0.001 178.661);
--accent-foreground: oklch(0.798 0.002 178.728);
--destructive: oklch(0.656 0.197 36.636);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.933 0.058 176.837);
--chart-1: oklch(0.933 0.058 176.837);
--chart-2: oklch(0.26 0.001 178.661);
--chart-3: oklch(0.26 0.001 178.661);
--chart-4: oklch(0.291 0.001 178.654);
--chart-5: oklch(0.935 0.061 176.761);
}