Ore is a shadcn/ui theme built around a near-black primary color (#181617) with near-black accents (#181617). The light mode uses a neutral background (#fefbfd). Dark mode keeps the near-black primary (#181617) on a neutral background (#030203).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfdsnow | #030203black |
| Foreground | #080206black | #fbf9fasnow |
| Card | #fefbfdsnow | #030203black |
| Card foreground | #080206black | #fbf9fasnow |
| Popover | #fefbfdsnow | #030203black |
| Popover foreground | #080206black | #fbf9fasnow |
| Primary | #181617black | #181617black |
| Primary foreground | #b2aeb1darkgray | #b2aeb1darkgray |
| Secondary | #171618black | #171618black |
| Secondary foreground | #b1aeb2darkgray | #b1aeb2darkgray |
| Muted | #dcd3dfgainsboro | #2a202cdarkslategray |
| Muted foreground | #58465ddimgray | #b4a2b9darkgray |
| Accent | #181617black | #181617black |
| Accent foreground | #b2aeafdarkgray | #b2aeafdarkgray |
| Destructive | #bf3712firebrick | #d23d14firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #181617black | #181617black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.02:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 8.20:1 | AAA |
| Secondary button | 8.19:1 | AAA |
| Muted text | 5.88:1 | AA |
| Accent | 8.19:1 | AAA |
| Destructive | 5.54:1 | AA |
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 8.20:1 | AAA |
| Secondary button | 8.19:1 | AAA |
| Muted text | 6.55:1 | AA |
| Accent | 8.19:1 | AAA |
| Destructive | 4.75:1 | AA |
Paste this into your globals.css to use Ore in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 335.927);
--foreground: oklch(0.107 0.023 336.418);
--muted: oklch(0.877 0.02 319.451);
--muted-foreground: oklch(0.423 0.044 319.465);
--popover: oklch(0.991 0.003 335.927);
--popover-foreground: oklch(0.107 0.023 336.418);
--card: oklch(0.991 0.003 335.927);
--card-foreground: oklch(0.107 0.023 336.418);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.203 0.003 336.132);
--primary-foreground: oklch(0.754 0.007 336.045);
--secondary: oklch(0.203 0.003 319.449);
--secondary-foreground: oklch(0.754 0.008 319.447);
--accent: oklch(0.203 0.002 3.483);
--accent-foreground: oklch(0.754 0.006 3.384);
--destructive: oklch(0.538 0.178 34.972);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.203 0.003 336.132);
--chart-1: oklch(0.203 0.003 336.132);
--chart-2: oklch(0.203 0.003 319.449);
--chart-3: oklch(0.203 0.002 3.483);
--chart-4: oklch(0.236 0.004 319.449);
--chart-5: oklch(0.202 0.006 336.395);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.088 0.01 336.181);
--foreground: oklch(0.983 0.003 335.934);
--muted: oklch(0.261 0.026 319.465);
--muted-foreground: oklch(0.735 0.038 319.458);
--popover: oklch(0.088 0.01 336.181);
--popover-foreground: oklch(0.983 0.003 335.934);
--card: oklch(0.088 0.01 336.181);
--card-foreground: oklch(0.983 0.003 335.934);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.203 0.003 336.132);
--primary-foreground: oklch(0.754 0.007 336.045);
--secondary: oklch(0.203 0.003 319.449);
--secondary-foreground: oklch(0.754 0.008 319.447);
--accent: oklch(0.203 0.002 3.483);
--accent-foreground: oklch(0.754 0.006 3.384);
--destructive: oklch(0.576 0.192 34.895);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.203 0.003 336.132);
--chart-1: oklch(0.203 0.003 336.132);
--chart-2: oklch(0.203 0.003 319.449);
--chart-3: oklch(0.203 0.002 3.483);
--chart-4: oklch(0.236 0.004 319.449);
--chart-5: oklch(0.202 0.006 336.395);
}