Quick-witted is a shadcn/ui theme built around a vivid light blue primary color (#9fccf9) with vivid light green accents (#ccf99f). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the vivid light blue primary (#9fccf9) on a neutral background (#030507).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #030507black |
| Foreground | #020508black | #ffffffwhite |
| Card | #fbfcfewhite | #030507black |
| Card foreground | #020508black | #ffffffwhite |
| Popover | #fbfcfewhite | #030507black |
| Popover foreground | #020508black | #ffffffwhite |
| Primary | #9fccf9lightskyblue | #9fccf9lightskyblue |
| Primary foreground | #063360midnightblue | #063360midnightblue |
| Secondary | #f99fcclightpink | #f99fcclightpink |
| Secondary foreground | #600633maroon | #600633maroon |
| Muted | #e8dee3gainsboro | #21171cblack |
| Muted foreground | #665c61dimgray | #a3999edarkgray |
| Accent | #ccf99fpalegoldenrod | #ccf99fpalegoldenrod |
| Accent foreground | #336006darkgreen | #336006darkgreen |
| Destructive | #c61f01firebrick | #fe3d1borangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9fccf9lightskyblue | #9fccf9lightskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.95:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 7.56:1 | AAA |
| Secondary button | 6.91:1 | AA |
| Muted text | 4.89:1 | AA |
| Accent | 6.25:1 | AA |
| Destructive | 5.84:1 | AA |
| Text on background | 20.40:1 | AAA |
| Text on card | 20.40:1 | AAA |
| Primary button | 7.56:1 | AAA |
| Secondary button | 6.91:1 | AA |
| Muted text | 6.30:1 | AA |
| Accent | 6.25:1 | AA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use Quick-witted in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 247.848);
--foreground: oklch(0.112 0.013 239.751);
--muted: oklch(0.91 0.012 345.49);
--muted-foreground: oklch(0.486 0.015 345.907);
--popover: oklch(0.992 0.003 247.848);
--popover-foreground: oklch(0.112 0.013 239.751);
--card: oklch(0.992 0.003 247.848);
--card-foreground: oklch(0.112 0.013 239.751);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.829 0.079 248.806);
--primary-foreground: oklch(0.32 0.092 253.162);
--secondary: oklch(0.806 0.119 348.74);
--secondary-foreground: oklch(0.322 0.124 358.016);
--accent: oklch(0.93 0.125 130.128);
--accent-foreground: oklch(0.439 0.123 134.183);
--destructive: oklch(0.53 0.203 31.543);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.829 0.079 248.806);
--chart-1: oklch(0.829 0.079 248.806);
--chart-2: oklch(0.806 0.119 348.74);
--chart-3: oklch(0.93 0.125 130.128);
--chart-4: oklch(0.833 0.101 348.094);
--chart-5: oklch(0.829 0.082 248.843);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.113 0.01 241.321);
--foreground: oklch(1 0 180);
--muted: oklch(0.22 0.018 347.121);
--muted-foreground: oklch(0.694 0.013 345.636);
--popover: oklch(0.113 0.01 241.321);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.113 0.01 241.321);
--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.829 0.079 248.806);
--primary-foreground: oklch(0.32 0.092 253.162);
--secondary: oklch(0.806 0.119 348.74);
--secondary-foreground: oklch(0.322 0.124 358.016);
--accent: oklch(0.93 0.125 130.128);
--accent-foreground: oklch(0.439 0.123 134.183);
--destructive: oklch(0.652 0.232 32.126);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.829 0.079 248.806);
--chart-1: oklch(0.829 0.079 248.806);
--chart-2: oklch(0.806 0.119 348.74);
--chart-3: oklch(0.93 0.125 130.128);
--chart-4: oklch(0.833 0.101 348.094);
--chart-5: oklch(0.829 0.082 248.843);
}