Gold Ore Dormouse is a shadcn/ui theme built around a vivid yellow primary color (#e7b900) with near-white accents (#f5f5f4). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid yellow primary (#facc15) on an orange-tinted background (#12100f).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #12100fblack |
| Foreground | #0c0a09black | #fafaf9snow |
| Card | #ffffffwhite | #0e0b0ablack |
| Card foreground | #0c0a09black | #fafaf9snow |
| Popover | #ffffffwhite | #0e0c0bblack |
| Popover foreground | #0c0a09black | #fafaf9snow |
| Primary | #e7b900orange | #facc15gold |
| Primary foreground | #422006maroon | #422006maroon |
| Secondary | #f5f5f4whitesmoke | #292524darkslategray |
| Secondary foreground | #1c1917black | #fafaf9snow |
| Muted | #f5f5f4whitesmoke | #292524darkslategray |
| Muted foreground | #78716cdimgray | #a8a29edarkgray |
| Accent | #f5f5f4whitesmoke | #292524darkslategray |
| Accent foreground | #1c1917black | #fafaf9snow |
| Destructive | #ef4444tomato | #7f1d1dmaroon |
| Destructive foreground | #fafaf9snow | #fafaf9snow |
| Border | #e7e5e4gainsboro | #292524darkslategray |
| Input | #e7e5e4gainsboro | #292524darkslategray |
| Ring | #0c0a09black | #a16207saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.75:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 16.03:1 | AAA |
| Muted text | 4.39:1 | AA Large |
| Accent | 16.03:1 | AAA |
| Destructive | 3.60:1 | AA Large |
| Text on background | 18.19:1 | AAA |
| Text on card | 18.77:1 | AAA |
| Primary button | 9.50:1 | AAA |
| Secondary button | 14.52:1 | AAA |
| Muted text | 6.01:1 | AA |
| Accent | 14.52:1 | AAA |
| Destructive | 9.58:1 | AAA |
Paste this into your globals.css to use Gold Ore Dormouse in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.147 0.004 49.314);
--muted: oklch(0.97 0.001 106.424);
--muted-foreground: oklch(0.553 0.012 58.069);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.147 0.004 49.314);
--card: oklch(1 0 180);
--card-foreground: oklch(0.147 0.004 49.314);
--border: oklch(0.923 0.003 48.716);
--input: oklch(0.923 0.003 48.716);
--primary: oklch(0.804 0.164 90.31);
--primary-foreground: oklch(0.285 0.064 53.823);
--secondary: oklch(0.97 0.001 106.424);
--secondary-foreground: oklch(0.216 0.006 56.043);
--accent: oklch(0.97 0.001 106.424);
--accent-foreground: oklch(0.216 0.006 56.043);
--destructive: oklch(0.637 0.208 25.326);
--destructive-foreground: oklch(0.985 0.001 106.424);
--ring: oklch(0.147 0.004 49.314);
--chart-1: oklch(0.804 0.164 90.31);
--chart-2: oklch(0.97 0.001 106.424);
--chart-3: oklch(0.97 0.001 106.424);
--chart-4: oklch(0.992 0 106.406);
--chart-5: oklch(0.811 0.166 89.999);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.174 0.004 48.51);
--foreground: oklch(0.985 0.001 106.424);
--muted: oklch(0.269 0.006 34.297);
--muted-foreground: oklch(0.716 0.009 56.26);
--popover: oklch(0.155 0.004 48.434);
--popover-foreground: oklch(0.985 0.001 106.424);
--card: oklch(0.153 0.005 48.337);
--card-foreground: oklch(0.985 0.001 106.424);
--border: oklch(0.269 0.006 34.297);
--input: oklch(0.269 0.006 34.297);
--primary: oklch(0.86 0.173 91.838);
--primary-foreground: oklch(0.285 0.064 53.823);
--secondary: oklch(0.269 0.006 34.297);
--secondary-foreground: oklch(0.985 0.001 106.424);
--accent: oklch(0.269 0.006 34.297);
--accent-foreground: oklch(0.985 0.001 106.424);
--destructive: oklch(0.396 0.133 25.721);
--destructive-foreground: oklch(0.985 0.001 106.424);
--ring: oklch(0.554 0.121 66.531);
--chart-1: oklch(0.86 0.173 91.838);
--chart-2: oklch(0.269 0.006 34.297);
--chart-3: oklch(0.269 0.006 34.297);
--chart-4: oklch(0.299 0.007 34.298);
--chart-5: oklch(0.868 0.175 91.545);
}