Strange is a shadcn/ui theme built around a muted green primary color (#a4bca5) with muted teal accents (#a4bcb1). The light mode uses a neutral background (#fbfefb). Dark mode keeps the muted green primary (#a4bca5) on a green-tinted background (#050b05).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #050b05black |
| Foreground | #010501black | #fcfdfcwhite |
| Card | #fbfefbwhite | #050b05black |
| Card foreground | #010501black | #fcfdfcwhite |
| Popover | #fbfefbwhite | #050b05black |
| Popover foreground | #010501black | #fcfdfcwhite |
| Primary | #a4bca5darkgray | #a4bca5darkgray |
| Primary foreground | #141a14black | #141a14black |
| Secondary | #afbca4darkgray | #afbca4darkgray |
| Secondary foreground | #171a14black | #171a14black |
| Muted | #e5ecdfgainsboro | #192013black |
| Muted foreground | #656d5fdimgray | #98a092darkseagreen |
| Accent | #a4bcb1darkgray | #a4bcb1darkgray |
| Accent foreground | #141a17black | #141a17black |
| Destructive | #dc2209firebrick | #f53319orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a4bca5darkgray | #a4bca5darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.18:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 8.67:1 | AAA |
| Secondary button | 8.81:1 | AAA |
| Muted text | 4.45:1 | AA Large |
| Accent | 8.73:1 | AAA |
| Destructive | 4.90:1 | AA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 8.67:1 | AAA |
| Secondary button | 8.81:1 | AAA |
| Muted text | 6.18:1 | AA |
| Accent | 8.73:1 | AAA |
| Destructive | 3.90:1 | AA Large |
Paste this into your globals.css to use Strange in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 146.996);
--foreground: oklch(0.099 0.026 144.926);
--muted: oklch(0.934 0.019 130.633);
--muted-foreground: oklch(0.524 0.024 130.875);
--popover: oklch(0.994 0.005 146.996);
--popover-foreground: oklch(0.099 0.026 144.926);
--card: oklch(0.994 0.005 146.996);
--card-foreground: oklch(0.099 0.026 144.926);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.77 0.041 146.53);
--primary-foreground: oklch(0.21 0.016 146.281);
--secondary: oklch(0.778 0.036 130.881);
--secondary-foreground: oklch(0.213 0.014 131.096);
--accent: oklch(0.774 0.03 166.697);
--accent-foreground: oklch(0.211 0.012 166.149);
--destructive: oklch(0.574 0.22 30.774);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.77 0.041 146.53);
--chart-1: oklch(0.77 0.041 146.53);
--chart-2: oklch(0.778 0.036 130.881);
--chart-3: oklch(0.774 0.03 166.697);
--chart-4: oklch(0.8 0.032 130.823);
--chart-5: oklch(0.773 0.049 146.429);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.018 146.056);
--foreground: oklch(0.993 0.003 147.01);
--muted: oklch(0.232 0.027 131.619);
--muted-foreground: oklch(0.696 0.022 130.743);
--popover: oklch(0.137 0.018 146.056);
--popover-foreground: oklch(0.993 0.003 147.01);
--card: oklch(0.137 0.018 146.056);
--card-foreground: oklch(0.993 0.003 147.01);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.77 0.041 146.53);
--primary-foreground: oklch(0.21 0.016 146.281);
--secondary: oklch(0.778 0.036 130.881);
--secondary-foreground: oklch(0.213 0.014 131.096);
--accent: oklch(0.774 0.03 166.697);
--accent-foreground: oklch(0.211 0.012 166.149);
--destructive: oklch(0.63 0.231 31.007);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.77 0.041 146.53);
--chart-1: oklch(0.77 0.041 146.53);
--chart-2: oklch(0.778 0.036 130.881);
--chart-3: oklch(0.774 0.03 166.697);
--chart-4: oklch(0.8 0.032 130.823);
--chart-5: oklch(0.773 0.049 146.429);
}