Overlooked is a shadcn/ui theme built around a vivid light violet primary color (#e0d1ff) with vivid light green accents (#f0ffd1). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the vivid light violet primary (#e0d1ff) on a violet-tinted background (#06040b).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfdwhite | #06040bblack |
| Foreground | #06030cblack | #fcfcfdwhite |
| Card | #fcfcfdwhite | #06040bblack |
| Card foreground | #06030cblack | #fcfcfdwhite |
| Popover | #fcfcfdwhite | #06040bblack |
| Popover foreground | #06030cblack | #fcfcfdwhite |
| Primary | #e0d1fflavender | #e0d1fflavender |
| Primary foreground | #35009eindigo | #35009eindigo |
| Secondary | #f0ffd1lightgoldenrodyellow | #f0ffd1lightgoldenrodyellow |
| Secondary foreground | #253800darkgreen | #253800darkgreen |
| Muted | #e1e2dfgainsboro | #1f201dblack |
| Muted foreground | #5a5f4edimgray | #abb1a0darkgray |
| Accent | #f0ffd1lightgoldenrodyellow | #f0ffd1lightgoldenrodyellow |
| Accent foreground | #253800darkgreen | #253800darkgreen |
| Destructive | #8e0a06darkred | #f62e28crimson |
| Destructive foreground | #fdcbc9pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e0d1fflavender | #e0d1fflavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.91:1 | AAA |
| Text on card | 19.91:1 | AAA |
| Primary button | 8.96:1 | AAA |
| Secondary button | 12.11:1 | AAA |
| Muted text | 5.07:1 | AA |
| Accent | 12.11:1 | AAA |
| Destructive | 6.62:1 | AA |
| Text on background | 19.86:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 8.96:1 | AAA |
| Secondary button | 12.11:1 | AAA |
| Muted text | 7.41:1 | AAA |
| Accent | 12.11:1 | AAA |
| Destructive | 3.92:1 | AA Large |
Paste this into your globals.css to use Overlooked in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 301.452);
--foreground: oklch(0.113 0.026 301.823);
--muted: oklch(0.911 0.004 121.568);
--muted-foreground: oklch(0.476 0.028 122.453);
--popover: oklch(0.991 0.002 301.452);
--popover-foreground: oklch(0.113 0.026 301.823);
--card: oklch(0.991 0.002 301.452);
--card-foreground: oklch(0.113 0.026 301.823);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.888 0.064 300.32);
--primary-foreground: oklch(0.345 0.206 281.588);
--secondary: oklch(0.977 0.062 122.529);
--secondary-foreground: oklch(0.313 0.081 127.429);
--accent: oklch(0.977 0.062 122.529);
--accent-foreground: oklch(0.313 0.081 127.429);
--destructive: oklch(0.411 0.162 29.225);
--destructive-foreground: oklch(0.885 0.057 20.591);
--ring: oklch(0.888 0.064 300.32);
--chart-1: oklch(0.888 0.064 300.32);
--chart-2: oklch(0.977 0.062 122.529);
--chart-3: oklch(0.977 0.062 122.529);
--chart-4: oklch(0.984 0.041 122.175);
--chart-5: oklch(0.887 0.066 300.282);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.117 0.02 301.827);
--foreground: oklch(0.991 0.002 301.461);
--muted: oklch(0.242 0.006 121.887);
--muted-foreground: oklch(0.751 0.025 122.035);
--popover: oklch(0.117 0.02 301.827);
--popover-foreground: oklch(0.991 0.002 301.461);
--card: oklch(0.117 0.02 301.827);
--card-foreground: oklch(0.991 0.002 301.461);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.888 0.064 300.32);
--primary-foreground: oklch(0.345 0.206 281.588);
--secondary: oklch(0.977 0.062 122.529);
--secondary-foreground: oklch(0.313 0.081 127.429);
--accent: oklch(0.977 0.062 122.529);
--accent-foreground: oklch(0.313 0.081 127.429);
--destructive: oklch(0.629 0.233 28.388);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.888 0.064 300.32);
--chart-1: oklch(0.888 0.064 300.32);
--chart-2: oklch(0.977 0.062 122.529);
--chart-3: oklch(0.977 0.062 122.529);
--chart-4: oklch(0.984 0.041 122.175);
--chart-5: oklch(0.887 0.066 300.282);
}