Detailed is a shadcn/ui theme built around a deep teal primary color (#093e36) with deep yellow accents (#3e3609). The light mode uses a neutral background (#fbfefd). Dark mode keeps the deep teal primary (#093e36) on a neutral background (#030706).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #030706black |
| Foreground | #000000black | #f6f9f9whitesmoke |
| Card | #fbfefdwhite | #030706black |
| Card foreground | #000000black | #f6f9f9whitesmoke |
| Popover | #fbfefdwhite | #030706black |
| Popover foreground | #000000black | #f6f9f9whitesmoke |
| Primary | #093e36darkslategray | #093e36darkslategray |
| Primary foreground | #32e2c4turquoise | #32e2c4turquoise |
| Secondary | #36093emidnightblue | #36093emidnightblue |
| Secondary foreground | #de8beeviolet | #de8beeviolet |
| Muted | #dfdce0gainsboro | #231f23black |
| Muted foreground | #4e4450darkslategray | #b9afbbsilver |
| Accent | #3e3609darkolivegreen | #3e3609darkolivegreen |
| Accent foreground | #e2c432goldenrod | #e2c432goldenrod |
| Destructive | #8b120edarkred | #eb3d37crimson |
| Destructive foreground | #fad2d1pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #093e36darkslategray | #093e36darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.67:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.26:1 | AAA |
| Secondary button | 7.14:1 | AAA |
| Muted text | 6.80:1 | AA |
| Accent | 7.03:1 | AAA |
| Destructive | 6.92:1 | AA |
| Text on background | 19.11:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 7.26:1 | AAA |
| Secondary button | 7.14:1 | AAA |
| Muted text | 7.68:1 | AAA |
| Accent | 7.03:1 | AAA |
| Destructive | 3.98:1 | AA Large |
Paste this into your globals.css to use Detailed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 185.373);
--foreground: oklch(0 0 0);
--muted: oklch(0.897 0.008 320.544);
--muted-foreground: oklch(0.401 0.023 320.619);
--popover: oklch(0.994 0.003 185.373);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.003 185.373);
--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.33 0.056 178.568);
--primary-foreground: oklch(0.82 0.142 178.092);
--secondary: oklch(0.25 0.102 320.291);
--secondary-foreground: oklch(0.757 0.162 320.761);
--accent: oklch(0.331 0.061 97.364);
--accent-foreground: oklch(0.823 0.157 97.081);
--destructive: oklch(0.409 0.155 28.676);
--destructive-foreground: oklch(0.898 0.046 20.368);
--ring: oklch(0.33 0.056 178.568);
--chart-1: oklch(0.33 0.056 178.568);
--chart-2: oklch(0.25 0.102 320.291);
--chart-3: oklch(0.331 0.061 97.364);
--chart-4: oklch(0.281 0.118 320.188);
--chart-5: oklch(0.333 0.057 178.332);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.01 185.202);
--foreground: oklch(0.98 0.004 185.348);
--muted: oklch(0.245 0.01 320.596);
--muted-foreground: oklch(0.766 0.02 320.572);
--popover: oklch(0.122 0.01 185.202);
--popover-foreground: oklch(0.98 0.004 185.348);
--card: oklch(0.122 0.01 185.202);
--card-foreground: oklch(0.98 0.004 185.348);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.33 0.056 178.568);
--primary-foreground: oklch(0.82 0.142 178.092);
--secondary: oklch(0.25 0.102 320.291);
--secondary-foreground: oklch(0.757 0.162 320.761);
--accent: oklch(0.331 0.061 97.364);
--accent-foreground: oklch(0.823 0.157 97.081);
--destructive: oklch(0.623 0.211 27.337);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.33 0.056 178.568);
--chart-1: oklch(0.33 0.056 178.568);
--chart-2: oklch(0.25 0.102 320.291);
--chart-3: oklch(0.331 0.061 97.364);
--chart-4: oklch(0.281 0.118 320.188);
--chart-5: oklch(0.333 0.057 178.332);
}