Quick-witted is a shadcn/ui theme built around a neutral gray primary color (#4f4f4f) with neutral gray accents (#4f4f4f). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#4f4f4f) on a neutral background (#040101).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040101black |
| Foreground | #000000black | #fdfcfcsnow |
| Card | #ffffffwhite | #040101black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #ffffffwhite | #040101black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #4f4f4fdarkslategray | #4f4f4fdarkslategray |
| Primary foreground | #e8e8e8lavender | #e8e8e8lavender |
| Secondary | #4f4f4fdarkslategray | #4f4f4fdarkslategray |
| Secondary foreground | #e8e8e8lavender | #e8e8e8lavender |
| Muted | #f7ededlinen | #120808black |
| Muted foreground | #615151dimgray | #ae9e9edarkgray |
| Accent | #4f4f4fdarkslategray | #4f4f4fdarkslategray |
| Accent foreground | #e8e8e8lavender | #e8e8e8lavender |
| Destructive | #8d1907darkred | #f4371aorangered |
| Destructive foreground | #fcd0c9pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4f4f4fdarkslategray | #4f4f4fdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.67:1 | AA |
| Secondary button | 6.67:1 | AA |
| Muted text | 6.53:1 | AA |
| Accent | 6.67:1 | AA |
| Destructive | 6.59:1 | AA |
| Text on background | 20.29:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 6.67:1 | AA |
| Secondary button | 6.67:1 | AA |
| Muted text | 7.70:1 | AAA |
| Accent | 6.67:1 | AA |
| Destructive | 3.87:1 | AA Large |
Paste this into your globals.css to use Quick-witted in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.955 0.011 17.35);
--muted-foreground: oklch(0.452 0.021 17.974);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--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.428 0 180);
--primary-foreground: oklch(0.931 0 180);
--secondary: oklch(0.428 0 180);
--secondary-foreground: oklch(0.931 0 180);
--accent: oklch(0.428 0 180);
--accent-foreground: oklch(0.931 0 180);
--destructive: oklch(0.418 0.154 31.514);
--destructive-foreground: oklch(0.894 0.051 28.332);
--ring: oklch(0.428 0 180);
--chart-1: oklch(0.428 0 180);
--chart-2: oklch(0.428 0 180);
--chart-3: oklch(0.428 0 180);
--chart-4: oklch(0.456 0 180);
--chart-5: oklch(0.424 0.006 17.405);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.082 0.015 20.892);
--foreground: oklch(0.991 0.001 17.183);
--muted: oklch(0.148 0.019 19.557);
--muted-foreground: oklch(0.712 0.019 17.604);
--popover: oklch(0.082 0.015 20.892);
--popover-foreground: oklch(0.991 0.001 17.183);
--card: oklch(0.082 0.015 20.892);
--card-foreground: oklch(0.991 0.001 17.183);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.428 0 180);
--primary-foreground: oklch(0.931 0 180);
--secondary: oklch(0.428 0 180);
--secondary-foreground: oklch(0.931 0 180);
--accent: oklch(0.428 0 180);
--accent-foreground: oklch(0.931 0 180);
--destructive: oklch(0.631 0.227 31.561);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.428 0 180);
--chart-1: oklch(0.428 0 180);
--chart-2: oklch(0.428 0 180);
--chart-3: oklch(0.428 0 180);
--chart-4: oklch(0.456 0 180);
--chart-5: oklch(0.424 0.006 17.405);
}