Base16 Dark Atelier Dune is a shadcn/ui theme built around a muted yellow primary color (#a6a28c) with neutral gray accents (#484841). The light mode uses a neutral background (#20201d). Dark mode keeps the muted yellow primary (#a6a28c) on a neutral background (#20201d).
| Token | Light | Dark |
|---|---|---|
| Background | #20201dblack | #20201dblack |
| Foreground | #a6a28crosybrown | #a6a28crosybrown |
| Card | #1b1b18black | #1b1b18black |
| Card foreground | #b1ae9adarkgray | #b1ae9adarkgray |
| Popover | #181816black | #181816black |
| Popover foreground | #bcb9a9silver | #bcb9a9silver |
| Primary | #a6a28crosybrown | #a6a28crosybrown |
| Primary foreground | #000000black | #000000black |
| Secondary | #42413edarkslategray | #42413edarkslategray |
| Secondary foreground | #dadad8gainsboro | #dadad8gainsboro |
| Muted | #2e2e24darkslategray | #2e2e24darkslategray |
| Muted foreground | #b3b39edarkgray | #b3b39edarkgray |
| Accent | #484841darkslategray | #484841darkslategray |
| Accent foreground | #e0e0dcgainsboro | #e0e0dcgainsboro |
| Destructive | #f01505red | #f01505red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #2b2b2bdarkslategray | #2b2b2bdarkslategray |
| Input | #333333darkslategray | #333333darkslategray |
| Ring | #a6a28crosybrown | #a6a28crosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.34:1 | AA |
| Text on card | 7.73:1 | AAA |
| Primary button | 8.19:1 | AAA |
| Secondary button | 7.29:1 | AAA |
| Muted text | 6.45:1 | AA |
| Accent | 6.92:1 | AA |
| Destructive | 4.36:1 | AA Large |
| Text on background | 6.34:1 | AA |
| Text on card | 7.73:1 | AAA |
| Primary button | 8.19:1 | AAA |
| Secondary button | 7.29:1 | AAA |
| Muted text | 6.45:1 | AA |
| Accent | 6.92:1 | AA |
| Destructive | 4.36:1 | AA Large |
Paste this into your globals.css to use Base16 Dark Atelier Dune in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.243 0.006 106.816);
--foreground: oklch(0.71 0.032 98.902);
--muted: oklch(0.297 0.017 107.395);
--muted-foreground: oklch(0.76 0.029 107.068);
--popover: oklch(0.209 0.004 106.778);
--popover-foreground: oklch(0.785 0.024 98.721);
--card: oklch(0.22 0.005 106.792);
--card-foreground: oklch(0.748 0.028 98.808);
--border: oklch(0.29 0 180);
--input: oklch(0.321 0 180);
--primary: oklch(0.71 0.032 98.902);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.375 0.005 98.521);
--secondary-foreground: oklch(0.887 0.003 98.36);
--accent: oklch(0.4 0.011 106.898);
--accent-foreground: oklch(0.904 0.004 106.489);
--destructive: oklch(0.604 0.242 29.765);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.71 0.032 98.902);
--chart-1: oklch(0.71 0.032 98.902);
--chart-2: oklch(0.375 0.005 98.521);
--chart-3: oklch(0.4 0.011 106.898);
--chart-4: oklch(0.404 0.006 98.525);
--chart-5: oklch(0.717 0.039 99.007);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.243 0.006 106.816);
--foreground: oklch(0.71 0.032 98.902);
--muted: oklch(0.297 0.017 107.395);
--muted-foreground: oklch(0.76 0.029 107.068);
--popover: oklch(0.209 0.004 106.778);
--popover-foreground: oklch(0.785 0.024 98.721);
--card: oklch(0.22 0.005 106.792);
--card-foreground: oklch(0.748 0.028 98.808);
--border: oklch(0.29 0 180);
--input: oklch(0.321 0 180);
--primary: oklch(0.71 0.032 98.902);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.375 0.005 98.521);
--secondary-foreground: oklch(0.887 0.003 98.36);
--accent: oklch(0.4 0.011 106.898);
--accent-foreground: oklch(0.904 0.004 106.489);
--destructive: oklch(0.604 0.242 29.765);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.71 0.032 98.902);
--chart-1: oklch(0.71 0.032 98.902);
--chart-2: oklch(0.375 0.005 98.521);
--chart-3: oklch(0.4 0.011 106.898);
--chart-4: oklch(0.404 0.006 98.525);
--chart-5: oklch(0.717 0.039 99.007);
}