Interesting is a shadcn/ui theme built around a near-black primary color (#030302) with near-black accents (#030203). The light mode uses a neutral background (#fafdf7). Dark mode keeps the near-black primary (#030302) on a neutral background (#030401).
| Token | Light | Dark |
|---|---|---|
| Background | #fafdf7mintcream | #030401black |
| Foreground | #030401black | #fcfdfcwhite |
| Card | #f8fcf2floralwhite | #050703black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fafdf7mintcream | #030401black |
| Popover foreground | #030401black | #fcfdfcwhite |
| Primary | #030302black | #030302black |
| Primary foreground | #9db087darkseagreen | #9db087darkseagreen |
| Secondary | #030203black | #030203black |
| Secondary foreground | #9a87b0darkgray | #9a87b0darkgray |
| Muted | #eae7eelavender | #141118black |
| Muted foreground | #454148darkslategray | #bab7besilver |
| Accent | #030203black | #030203black |
| Accent foreground | #9a87b0darkgray | #9a87b0darkgray |
| Destructive | #c94013firebrick | #d24314chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #030302black | #030302black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.04:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 8.83:1 | AAA |
| Secondary button | 6.38:1 | AA |
| Muted text | 8.18:1 | AAA |
| Accent | 6.38:1 | AA |
| Destructive | 4.97:1 | AA |
| Text on background | 20.18:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 8.83:1 | AAA |
| Secondary button | 6.38:1 | AA |
| Muted text | 9.43:1 | AAA |
| Accent | 6.38:1 | AA |
| Destructive | 4.60:1 | AA |
Paste this into your globals.css to use Interesting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.009 127.225);
--foreground: oklch(0.102 0.018 125.941);
--muted: oklch(0.933 0.009 306.99);
--muted-foreground: oklch(0.383 0.012 306.72);
--popover: oklch(0.99 0.009 127.225);
--popover-foreground: oklch(0.102 0.018 125.941);
--card: oklch(0.986 0.014 127.283);
--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.095 0.006 126.702);
--primary-foreground: oklch(0.732 0.062 128.204);
--secondary: oklch(0.088 0.006 307.579);
--secondary-foreground: oklch(0.655 0.065 305.896);
--accent: oklch(0.088 0.006 307.579);
--accent-foreground: oklch(0.655 0.065 305.896);
--destructive: oklch(0.564 0.18 36.646);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.095 0.006 126.702);
--chart-1: oklch(0.095 0.006 126.702);
--chart-2: oklch(0.088 0.006 307.579);
--chart-3: oklch(0.088 0.006 307.579);
--chart-4: oklch(0.14 0.01 306.891);
--chart-5: oklch(0.096 0.007 126.647);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.013 126.253);
--foreground: oklch(0.993 0.002 127.131);
--muted: oklch(0.185 0.014 306.192);
--muted-foreground: oklch(0.783 0.01 306.952);
--popover: oklch(0.099 0.013 126.253);
--popover-foreground: oklch(0.993 0.002 127.131);
--card: oklch(0.125 0.016 126.253);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.095 0.006 126.702);
--primary-foreground: oklch(0.732 0.062 128.204);
--secondary: oklch(0.088 0.006 307.579);
--secondary-foreground: oklch(0.655 0.065 305.896);
--accent: oklch(0.088 0.006 307.579);
--accent-foreground: oklch(0.655 0.065 305.896);
--destructive: oklch(0.583 0.187 36.599);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.095 0.006 126.702);
--chart-1: oklch(0.095 0.006 126.702);
--chart-2: oklch(0.088 0.006 307.579);
--chart-3: oklch(0.088 0.006 307.579);
--chart-4: oklch(0.14 0.01 306.891);
--chart-5: oklch(0.096 0.007 126.647);
}