Overlooked is a shadcn/ui theme built around a vivid violet primary color (#6602f2) with vivid green accents (#8ef202). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid violet primary (#6602f2) on a neutral background (#020204).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020204black |
| Foreground | #090311black | #faf8fbghostwhite |
| Card | #fcfcfcsnow | #050307black |
| Card foreground | #07020dblack | #fcfcfdwhite |
| Popover | #ffffffwhite | #020204black |
| Popover foreground | #090311black | #faf8fbghostwhite |
| Primary | #6602f2darkviolet | #6602f2darkviolet |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #8ef202chartreuse | #8ef202chartreuse |
| Secondary foreground | #182800black | #182800black |
| Muted | #dce0d7gainsboro | #24281fblack |
| Muted foreground | #606954dimgray | #a2ab96darkgray |
| Accent | #8ef202chartreuse | #8ef202chartreuse |
| Accent foreground | #182800black | #182800black |
| Destructive | #a61707firebrick | #f64531tomato |
| Destructive foreground | #fee4e2mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6602f2darkviolet | #6602f2darkviolet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.33:1 | AAA |
| Text on card | 20.07:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 11.10:1 | AAA |
| Muted text | 4.30:1 | AA Large |
| Accent | 11.10:1 | AAA |
| Destructive | 6.31:1 | AA |
| Text on background | 19.65:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 11.10:1 | AAA |
| Muted text | 6.26:1 | AA |
| Accent | 11.10:1 | AAA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Overlooked in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.123 0.036 304.515);
--muted: oklch(0.901 0.013 125.248);
--muted-foreground: oklch(0.506 0.034 125.99);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.123 0.036 304.515);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.111 0.031 306.118);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.491 0.282 287.349);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.866 0.244 133.044);
--secondary-foreground: oklch(0.254 0.067 129.533);
--accent: oklch(0.866 0.244 133.044);
--accent-foreground: oklch(0.254 0.067 129.533);
--destructive: oklch(0.466 0.178 30.498);
--destructive-foreground: oklch(0.94 0.028 25.261);
--ring: oklch(0.491 0.282 287.349);
--chart-1: oklch(0.491 0.282 287.349);
--chart-2: oklch(0.866 0.244 133.044);
--chart-3: oklch(0.866 0.244 133.044);
--chart-4: oklch(0.895 0.251 132.81);
--chart-5: oklch(0.494 0.286 286.643);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.011 305.77);
--foreground: oklch(0.982 0.004 304.987);
--muted: oklch(0.271 0.018 125.967);
--muted-foreground: oklch(0.729 0.031 125.64);
--popover: oklch(0.084 0.011 305.77);
--popover-foreground: oklch(0.982 0.004 304.987);
--card: oklch(0.106 0.014 305.77);
--card-foreground: oklch(0.991 0.002 305.016);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.491 0.282 287.349);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.866 0.244 133.044);
--secondary-foreground: oklch(0.254 0.067 129.533);
--accent: oklch(0.866 0.244 133.044);
--accent-foreground: oklch(0.254 0.067 129.533);
--destructive: oklch(0.648 0.217 30.205);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.491 0.282 287.349);
--chart-1: oklch(0.491 0.282 287.349);
--chart-2: oklch(0.866 0.244 133.044);
--chart-3: oklch(0.866 0.244 133.044);
--chart-4: oklch(0.895 0.251 132.81);
--chart-5: oklch(0.494 0.286 286.643);
}