Export is a shadcn/ui theme built around a vivid yellow primary color (#dac20b) with neutral gray accents (#c8c7c0). The light mode uses a neutral background (#fefefb). Dark mode keeps the vivid yellow primary (#dac20b) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #000000black |
| Foreground | #141206black | #ffffffwhite |
| Card | #fefefbwhite | #000000black |
| Card foreground | #141206black | #ffffffwhite |
| Popover | #fefefbwhite | #000000black |
| Popover foreground | #141206black | #ffffffwhite |
| Primary | #dac20bgoldenrod | #dac20bgoldenrod |
| Primary foreground | #181601black | #181601black |
| Secondary | #dfdeddgainsboro | #171711black |
| Secondary foreground | #464643darkslategray | #bab7a1darkgray |
| Muted | #dddcd5gainsboro | #2a2922darkslategray |
| Muted foreground | #5a5a58dimgray | #a7a6a5darkgray |
| Accent | #c8c7c0silver | #28261ablack |
| Accent foreground | #2e2e28darkslategray | #c9c5acsilver |
| Destructive | #d94d02orangered | #fc5a03orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dac20bgoldenrod | #dac20bgoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.55:1 | AAA |
| Text on card | 18.55:1 | AAA |
| Primary button | 10.13:1 | AAA |
| Secondary button | 7.05:1 | AAA |
| Muted text | 5.01:1 | AA |
| Accent | 8.09:1 | AAA |
| Destructive | 4.17:1 | AA Large |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 10.13:1 | AAA |
| Secondary button | 8.89:1 | AAA |
| Muted text | 5.99:1 | AA |
| Accent | 8.68:1 | AAA |
| Destructive | 6.62:1 | AA |
Paste this into your globals.css to use Export in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 100.394);
--foreground: oklch(0.181 0.024 102.182);
--muted: oklch(0.892 0.009 100.487);
--muted-foreground: oklch(0.467 0.003 100.413);
--popover: oklch(0.996 0.004 100.394);
--popover-foreground: oklch(0.181 0.024 102.182);
--card: oklch(0.996 0.004 100.394);
--card-foreground: oklch(0.181 0.024 102.182);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.809 0.167 100.163);
--primary-foreground: oklch(0.195 0.038 102.99);
--secondary: oklch(0.901 0.002 100.357);
--secondary-foreground: oklch(0.393 0.004 100.487);
--accent: oklch(0.83 0.01 100.514);
--accent-foreground: oklch(0.299 0.009 100.797);
--destructive: oklch(0.606 0.187 40.534);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.809 0.167 100.163);
--chart-1: oklch(0.809 0.167 100.163);
--chart-2: oklch(0.901 0.002 100.357);
--chart-3: oklch(0.83 0.01 100.514);
--chart-4: oklch(0.924 0.001 100.351);
--chart-5: oklch(0.818 0.169 100.001);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.28 0.012 100.951);
--muted-foreground: oklch(0.726 0.002 100.378);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.809 0.167 100.163);
--primary-foreground: oklch(0.195 0.038 102.99);
--secondary: oklch(0.202 0.01 101.062);
--secondary-foreground: oklch(0.775 0.03 100.893);
--accent: oklch(0.268 0.022 101.404);
--accent-foreground: oklch(0.82 0.035 100.945);
--destructive: oklch(0.677 0.211 40.189);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.809 0.167 100.163);
--chart-1: oklch(0.809 0.167 100.163);
--chart-2: oklch(0.202 0.01 101.062);
--chart-3: oklch(0.268 0.022 101.404);
--chart-4: oklch(0.239 0.014 101.135);
--chart-5: oklch(0.818 0.169 100.001);
}