Dash is a shadcn/ui theme built around a neutral gray primary color (#a49f9d) with neutral gray accents (#9f9da4). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#a49f9d) on an orange-tinted background (#0f0805).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0f0805black |
| Foreground | #0d0603black | #ffffffwhite |
| Card | #ffffffwhite | #0f0805black |
| Card foreground | #0d0603black | #ffffffwhite |
| Popover | #ffffffwhite | #0f0805black |
| Popover foreground | #0d0603black | #ffffffwhite |
| Primary | #a49f9ddarkgray | #a49f9ddarkgray |
| Primary foreground | #080807black | #080807black |
| Secondary | #9da49fdarkgray | #9da49fdarkgray |
| Secondary foreground | #070808black | #070808black |
| Muted | #e4f1e8honeydew | #0e1b12black |
| Muted foreground | #3b4f41darkslategray | #b0c4b7silver |
| Accent | #9f9da4darkgray | #9f9da4darkgray |
| Accent foreground | #080708black | #080708black |
| Destructive | #6f0a01maroon | #fd1c08red |
| Destructive foreground | #feaca4lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a49f9ddarkgray | #a49f9ddarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.10:1 | AAA |
| Text on card | 20.10:1 | AAA |
| Primary button | 7.68:1 | AAA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 7.58:1 | AAA |
| Accent | 7.50:1 | AAA |
| Destructive | 6.76:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 7.68:1 | AAA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 9.65:1 | AAA |
| Accent | 7.50:1 | AAA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Dash in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.131 0.018 58.051);
--muted: oklch(0.946 0.018 156.873);
--muted-foreground: oklch(0.406 0.034 155.396);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.131 0.018 58.051);
--card: oklch(1 0 180);
--card-foreground: oklch(0.131 0.018 58.051);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.707 0.007 48.632);
--primary-foreground: oklch(0.132 0.001 49.254);
--secondary: oklch(0.712 0.011 156.943);
--secondary-foreground: oklch(0.133 0.002 157.239);
--accent: oklch(0.7 0.011 301.235);
--accent-foreground: oklch(0.131 0.002 301.522);
--destructive: oklch(0.346 0.134 30.834);
--destructive-foreground: oklch(0.821 0.098 25.152);
--ring: oklch(0.707 0.007 48.632);
--chart-1: oklch(0.707 0.007 48.632);
--chart-2: oklch(0.712 0.011 156.943);
--chart-3: oklch(0.7 0.011 301.235);
--chart-4: oklch(0.737 0.01 156.981);
--chart-5: oklch(0.707 0.012 48.546);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.145 0.016 53.364);
--foreground: oklch(1 0 180);
--muted: oklch(0.206 0.025 154.422);
--muted-foreground: oklch(0.802 0.03 156.494);
--popover: oklch(0.145 0.016 53.364);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.145 0.016 53.364);
--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.707 0.007 48.632);
--primary-foreground: oklch(0.132 0.001 49.254);
--secondary: oklch(0.712 0.011 156.943);
--secondary-foreground: oklch(0.133 0.002 157.239);
--accent: oklch(0.7 0.011 301.235);
--accent-foreground: oklch(0.131 0.002 301.522);
--destructive: oklch(0.63 0.249 30.005);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.707 0.007 48.632);
--chart-1: oklch(0.707 0.007 48.632);
--chart-2: oklch(0.712 0.011 156.943);
--chart-3: oklch(0.7 0.011 301.235);
--chart-4: oklch(0.737 0.01 156.981);
--chart-5: oklch(0.707 0.012 48.546);
}