Unknown is a shadcn/ui theme built around a near-white primary color (#fefcfb) with near-white accents (#fcfbfe). The light mode uses a neutral background (#fefcfb). Dark mode keeps the near-white primary (#fefcfb) on a neutral background (#070403).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #070403black |
| Foreground | #040201black | #fcf9f8snow |
| Card | #fefcfbsnow | #070403black |
| Card foreground | #040201black | #fcf9f8snow |
| Popover | #fefcfbsnow | #070403black |
| Popover foreground | #040201black | #fcf9f8snow |
| Primary | #fefcfbsnow | #fefcfbsnow |
| Primary foreground | #4c2715maroon | #4c2715maroon |
| Secondary | #fbfefcwhite | #fbfefcwhite |
| Secondary foreground | #154c27darkslategray | #154c27darkslategray |
| Muted | #e0e6e2gainsboro | #191f1bblack |
| Muted foreground | #5b625ddimgray | #9da49fdarkgray |
| Accent | #fcfbfewhite | #fcfbfewhite |
| Accent foreground | #512b9crebeccapurple | #512b9crebeccapurple |
| Destructive | #ab3e07saddlebrown | #f66c28tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fefcfbsnow | #fefcfbsnow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 12.76:1 | AAA |
| Secondary button | 9.86:1 | AAA |
| Muted text | 4.95:1 | AA |
| Accent | 9.36:1 | AAA |
| Destructive | 6.12:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 12.76:1 | AAA |
| Secondary button | 9.86:1 | AAA |
| Muted text | 6.56:1 | AA |
| Accent | 9.36:1 | AAA |
| Destructive | 7.11:1 | AAA |
Paste this into your globals.css to use Unknown in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 48.722);
--foreground: oklch(0.091 0.013 59.151);
--muted: oklch(0.92 0.009 157.057);
--muted-foreground: oklch(0.488 0.012 156.745);
--popover: oklch(0.992 0.002 48.722);
--popover-foreground: oklch(0.091 0.013 59.151);
--card: oklch(0.992 0.002 48.722);
--card-foreground: oklch(0.091 0.013 59.151);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.992 0.002 48.721);
--primary-foreground: oklch(0.319 0.063 46.17);
--secondary: oklch(0.994 0.004 157.184);
--secondary-foreground: oklch(0.371 0.085 150.83);
--accent: oklch(0.99 0.004 301.428);
--accent-foreground: oklch(0.407 0.172 292.279);
--destructive: oklch(0.511 0.154 40.826);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.992 0.002 48.721);
--chart-1: oklch(0.992 0.002 48.721);
--chart-2: oklch(0.994 0.004 157.184);
--chart-3: oklch(0.99 0.004 301.428);
--chart-4: oklch(1.012 0.008 337.423);
--chart-5: oklch(0.992 0.003 48.719);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.115 0.009 54.478);
--foreground: oklch(0.985 0.003 48.714);
--muted: oklch(0.233 0.013 156.067);
--muted-foreground: oklch(0.712 0.011 156.943);
--popover: oklch(0.115 0.009 54.478);
--popover-foreground: oklch(0.985 0.003 48.714);
--card: oklch(0.115 0.009 54.478);
--card-foreground: oklch(0.985 0.003 48.714);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.992 0.002 48.721);
--primary-foreground: oklch(0.319 0.063 46.17);
--secondary: oklch(0.994 0.004 157.184);
--secondary-foreground: oklch(0.371 0.085 150.83);
--accent: oklch(0.99 0.004 301.428);
--accent-foreground: oklch(0.407 0.172 292.279);
--destructive: oklch(0.692 0.186 43.323);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.992 0.002 48.721);
--chart-1: oklch(0.992 0.002 48.721);
--chart-2: oklch(0.994 0.004 157.184);
--chart-3: oklch(0.99 0.004 301.428);
--chart-4: oklch(1.012 0.008 337.423);
--chart-5: oklch(0.992 0.003 48.719);
}