Tattoo is a shadcn/ui theme built around a deep green primary color (#315e33) with deep red accents (#5e3331). The light mode uses a neutral background (#f8fbf8). Dark mode keeps the deep green primary (#315e33) on a neutral background (#020802).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbf8mintcream | #020802black |
| Foreground | #010902black | #fcfdfcwhite |
| Card | #f8fbf8mintcream | #020802black |
| Card foreground | #010902black | #fcfdfcwhite |
| Popover | #f8fbf8mintcream | #020802black |
| Popover foreground | #010902black | #fcfdfcwhite |
| Primary | #315e33darkslategray | #315e33darkslategray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #33315edarkslategray | #33315edarkslategray |
| Secondary foreground | #d8d7eagainsboro | #d8d7eagainsboro |
| Muted | #cfcee3lightgrey | #1d1c31darkslategray |
| Muted foreground | #393947darkslategray | #b9b8c6silver |
| Accent | #5e3331darkolivegreen | #5e3331darkolivegreen |
| Accent foreground | #ead8d7gainsboro | #ead8d7gainsboro |
| Destructive | #641707maroon | #ef4e2etomato |
| Destructive foreground | #f8b3a5lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #315e33darkslategray | #315e33darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 7.59:1 | AAA |
| Secondary button | 8.48:1 | AAA |
| Muted text | 7.35:1 | AAA |
| Accent | 7.65:1 | AAA |
| Destructive | 7.20:1 | AAA |
| Text on background | 19.82:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 7.59:1 | AAA |
| Secondary button | 8.48:1 | AAA |
| Muted text | 8.53:1 | AAA |
| Accent | 7.65:1 | AAA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Tattoo in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.005 146.99);
--foreground: oklch(0.124 0.031 145.037);
--muted: oklch(0.859 0.029 288.059);
--muted-foreground: oklch(0.35 0.024 287.367);
--popover: oklch(0.986 0.005 146.99);
--popover-foreground: oklch(0.124 0.031 145.037);
--card: oklch(0.986 0.005 146.99);
--card-foreground: oklch(0.124 0.031 145.037);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.437 0.084 145.017);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.34 0.076 283.831);
--secondary-foreground: oklch(0.885 0.026 288.157);
--accent: oklch(0.375 0.061 23.601);
--accent-foreground: oklch(0.896 0.02 21.181);
--destructive: oklch(0.334 0.112 33.088);
--destructive-foreground: oklch(0.828 0.084 31.589);
--ring: oklch(0.437 0.084 145.017);
--chart-1: oklch(0.437 0.084 145.017);
--chart-2: oklch(0.34 0.076 283.831);
--chart-3: oklch(0.375 0.061 23.601);
--chart-4: oklch(0.363 0.083 283.723);
--chart-5: oklch(0.441 0.091 144.846);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.025 145.474);
--foreground: oklch(0.993 0.002 147.022);
--muted: oklch(0.237 0.041 285.13);
--muted-foreground: oklch(0.788 0.02 288.239);
--popover: oklch(0.122 0.025 145.474);
--popover-foreground: oklch(0.993 0.002 147.022);
--card: oklch(0.122 0.025 145.474);
--card-foreground: oklch(0.993 0.002 147.022);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.437 0.084 145.017);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.34 0.076 283.831);
--secondary-foreground: oklch(0.885 0.026 288.157);
--accent: oklch(0.375 0.061 23.601);
--accent-foreground: oklch(0.896 0.02 21.181);
--destructive: oklch(0.645 0.203 33.187);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.437 0.084 145.017);
--chart-1: oklch(0.437 0.084 145.017);
--chart-2: oklch(0.34 0.076 283.831);
--chart-3: oklch(0.375 0.061 23.601);
--chart-4: oklch(0.363 0.083 283.723);
--chart-5: oklch(0.441 0.091 144.846);
}