Dash is a shadcn/ui theme built around a green primary color (#56cd84) with teal accents (#56cdbf). The light mode uses a neutral background (#f7fdf9). Dark mode keeps the green primary (#56cd84) on a neutral background (#030705).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf9mintcream | #030705black |
| Foreground | #031208black | #f4faf7whitesmoke |
| Card | #f7fdf9mintcream | #030705black |
| Card foreground | #031208black | #f4faf7whitesmoke |
| Popover | #f7fdf9mintcream | #030705black |
| Popover foreground | #031208black | #f4faf7whitesmoke |
| Primary | #56cd84mediumaquamarine | #56cd84mediumaquamarine |
| Primary foreground | #000000black | #000000black |
| Secondary | #64cd56mediumseagreen | #64cd56mediumseagreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #d8ecd5gainsboro | #162a13black |
| Muted foreground | #576d54dimgray | #94ab92darkseagreen |
| Accent | #56cdbfmediumturquoise | #56cdbfmediumturquoise |
| Accent foreground | #000000black | #000000black |
| Destructive | #8d240csaddlebrown | #e63a14orangered |
| Destructive foreground | #fbd8d0bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #56cd84mediumaquamarine | #56cd84mediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.63:1 | AAA |
| Text on card | 18.63:1 | AAA |
| Primary button | 10.41:1 | AAA |
| Secondary button | 10.36:1 | AAA |
| Muted text | 4.52:1 | AA |
| Accent | 10.83:1 | AAA |
| Destructive | 6.64:1 | AA |
| Text on background | 19.13:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 10.41:1 | AAA |
| Secondary button | 10.36:1 | AAA |
| Muted text | 6.18:1 | AA |
| Accent | 10.83:1 | AAA |
| Destructive | 4.21:1 | AA Large |
Paste this into your globals.css to use Dash in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.009 159.273);
--foreground: oklch(0.163 0.031 157.208);
--muted: oklch(0.921 0.037 141.974);
--muted-foreground: oklch(0.511 0.047 141.793);
--popover: oklch(0.989 0.009 159.273);
--popover-foreground: oklch(0.163 0.031 157.208);
--card: oklch(0.989 0.009 159.273);
--card-foreground: oklch(0.163 0.031 157.208);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.761 0.15 153.623);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.759 0.185 141.403);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.776 0.108 184.76);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.427 0.144 33.604);
--destructive-foreground: oklch(0.909 0.041 32.739);
--ring: oklch(0.761 0.15 153.623);
--chart-1: oklch(0.761 0.15 153.623);
--chart-2: oklch(0.759 0.185 141.403);
--chart-3: oklch(0.776 0.108 184.76);
--chart-4: oklch(0.774 0.174 141.423);
--chart-5: oklch(0.768 0.157 153.316);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.015 159.322);
--foreground: oklch(0.981 0.008 159.293);
--muted: oklch(0.261 0.048 141.505);
--muted-foreground: oklch(0.716 0.044 141.902);
--popover: oklch(0.122 0.015 159.322);
--popover-foreground: oklch(0.981 0.008 159.293);
--card: oklch(0.122 0.015 159.322);
--card-foreground: oklch(0.981 0.008 159.293);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.761 0.15 153.623);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.759 0.185 141.403);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.776 0.108 184.76);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.609 0.213 33.288);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.761 0.15 153.623);
--chart-1: oklch(0.761 0.15 153.623);
--chart-2: oklch(0.759 0.185 141.403);
--chart-3: oklch(0.776 0.108 184.76);
--chart-4: oklch(0.774 0.174 141.423);
--chart-5: oklch(0.768 0.157 153.316);
}