Unknown is a shadcn/ui theme built around a vivid light green primary color (#edfadb) with muted light green accents (#c6ccbd). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#edfadb) on a green-tinted background (#080b04).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080b04black |
| Foreground | #030501black | #fafaf9snow |
| Card | #fcfcfcsnow | #0b0f06black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #fcfcfcsnow | #0b0f06black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #edfadbbeige | #edfadbbeige |
| Primary foreground | #223607darkgreen | #223607darkgreen |
| Secondary | #d4d6d1lightgrey | #171a14black |
| Secondary foreground | #3b3e37darkslategray | #b2baa6darkgray |
| Muted | #dce1d6gainsboro | #25291edarkslategray |
| Muted foreground | #4d5148darkslategray | #b3b7aedarkgray |
| Accent | #c6ccbdsilver | #2a3121darkslategray |
| Accent foreground | #2c3126darkslategray | #c4ceb6silver |
| Destructive | #8c2208darkred | #f35b35tomato |
| Destructive foreground | #fcd4cabisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #edfadbbeige | #edfadbbeige |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.46:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 12.08:1 | AAA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 6.09:1 | AA |
| Accent | 8.10:1 | AAA |
| Destructive | 6.56:1 | AA |
| Text on background | 18.94:1 | AAA |
| Text on card | 18.99:1 | AAA |
| Primary button | 12.08:1 | AAA |
| Secondary button | 8.76:1 | AAA |
| Muted text | 7.28:1 | AAA |
| Accent | 8.24:1 | AAA |
| Destructive | 6.35:1 | AA |
Paste this into your globals.css to use Unknown in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.104 0.021 124.015);
--muted: oklch(0.902 0.015 125.279);
--muted-foreground: oklch(0.429 0.016 125.555);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.968 0.043 125.669);
--primary-foreground: oklch(0.305 0.073 129.822);
--secondary: oklch(0.874 0.007 125.163);
--secondary-foreground: oklch(0.359 0.012 125.532);
--accent: oklch(0.836 0.022 125.412);
--accent-foreground: oklch(0.305 0.021 126.014);
--destructive: oklch(0.424 0.145 34.07);
--destructive-foreground: oklch(0.901 0.047 34.34);
--ring: oklch(0.968 0.043 125.669);
--chart-1: oklch(0.968 0.043 125.669);
--chart-2: oklch(0.874 0.007 125.163);
--chart-3: oklch(0.836 0.022 125.412);
--chart-4: oklch(0.896 0.006 125.139);
--chart-5: oklch(0.969 0.045 125.693);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.018 124.5);
--foreground: oklch(0.986 0.001 125.065);
--muted: oklch(0.273 0.02 126.103);
--muted-foreground: oklch(0.774 0.013 125.288);
--popover: oklch(0.16 0.021 125.807);
--popover-foreground: oklch(0.993 0.001 125.055);
--card: oklch(0.16 0.021 125.807);
--card-foreground: oklch(0.993 0.001 125.055);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.968 0.043 125.669);
--primary-foreground: oklch(0.305 0.073 129.822);
--secondary: oklch(0.213 0.012 125.846);
--secondary-foreground: oklch(0.777 0.03 125.588);
--accent: oklch(0.301 0.03 126.488);
--accent-foreground: oklch(0.837 0.035 125.635);
--destructive: oklch(0.666 0.195 35.041);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.968 0.043 125.669);
--chart-1: oklch(0.968 0.043 125.669);
--chart-2: oklch(0.213 0.012 125.846);
--chart-3: oklch(0.301 0.03 126.488);
--chart-4: oklch(0.248 0.015 125.927);
--chart-5: oklch(0.969 0.045 125.693);
}