Tedious is a shadcn/ui theme built around a deep green primary color (#2b542c) with deep teal accents (#2b5440). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep green primary (#2b542c) on a neutral background (#020302).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020302black |
| Foreground | #010401black | #ffffffwhite |
| Card | #ffffffwhite | #020302black |
| Card foreground | #010401black | #ffffffwhite |
| Popover | #ffffffwhite | #020302black |
| Popover foreground | #010401black | #ffffffwhite |
| Primary | #2b542cdarkslategray | #2b542cdarkslategray |
| Primary foreground | #cde5cdlightgrey | #cde5cdlightgrey |
| Secondary | #3f542bdarkolivegreen | #3f542bdarkolivegreen |
| Secondary foreground | #d8e5cdgainsboro | #d8e5cdgainsboro |
| Muted | #e3eadcgainsboro | #1c2315black |
| Muted foreground | #424342darkslategray | #bdbdbcsilver |
| Accent | #2b5440darkslategray | #2b5440darkslategray |
| Accent foreground | #cde5d9gainsboro | #cde5d9gainsboro |
| Destructive | #b42b08firebrick | #f44a1forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2b542cdarkslategray | #2b542cdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 6.49:1 | AA |
| Secondary button | 6.35:1 | AA |
| Muted text | 8.05:1 | AAA |
| Accent | 6.44:1 | AA |
| Destructive | 6.37:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 6.49:1 | AA |
| Secondary button | 6.35:1 | AA |
| Muted text | 8.60:1 | AAA |
| Accent | 6.44:1 | AA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Tedious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.097 0.02 144.381);
--muted: oklch(0.927 0.019 129.349);
--muted-foreground: oklch(0.382 0.002 129.192);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.097 0.02 144.381);
--card: oklch(1 0 180);
--card-foreground: oklch(0.097 0.02 144.381);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.405 0.08 144.257);
--primary-foreground: oklch(0.897 0.042 145.669);
--secondary: oklch(0.418 0.068 131.162);
--secondary-foreground: oklch(0.906 0.035 129.546);
--accent: oklch(0.41 0.057 161.394);
--accent-foreground: oklch(0.901 0.03 165.082);
--destructive: oklch(0.506 0.178 33.644);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.405 0.08 144.257);
--chart-1: oklch(0.405 0.08 144.257);
--chart-2: oklch(0.418 0.068 131.162);
--chart-3: oklch(0.41 0.057 161.394);
--chart-4: oklch(0.452 0.075 131.203);
--chart-5: oklch(0.409 0.086 144.115);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.011 145.163);
--foreground: oklch(1 0 180);
--muted: oklch(0.244 0.027 130.372);
--muted-foreground: oklch(0.799 0.002 129.152);
--popover: oklch(0.095 0.011 145.163);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.095 0.011 145.163);
--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.405 0.08 144.257);
--primary-foreground: oklch(0.897 0.042 145.669);
--secondary: oklch(0.418 0.068 131.162);
--secondary-foreground: oklch(0.906 0.035 129.546);
--accent: oklch(0.41 0.057 161.394);
--accent-foreground: oklch(0.901 0.03 165.082);
--destructive: oklch(0.648 0.214 34.413);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.405 0.08 144.257);
--chart-1: oklch(0.405 0.08 144.257);
--chart-2: oklch(0.418 0.068 131.162);
--chart-3: oklch(0.41 0.057 161.394);
--chart-4: oklch(0.452 0.075 131.203);
--chart-5: oklch(0.409 0.086 144.115);
}