Awkward is a shadcn/ui theme built around a vivid purple primary color (#eb66e2) with muted light purple accents (#ece4eb). The light mode uses a neutral background (#fefbfe). Dark mode keeps the vivid purple primary (#eb66e2) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfewhite | #000000black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fefbfewhite | #000000black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefbfewhite | #000000black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #eb66e2orchid | #eb66e2orchid |
| Primary foreground | #1b041ablack | #1b041ablack |
| Secondary | #ece4eblavender | #1c171bblack |
| Secondary foreground | #5c425adimgray | #b9acb8darkgray |
| Muted | #e3dde3gainsboro | #221c21black |
| Muted foreground | #525252darkslategray | #adadaddarkgray |
| Accent | #ece4eblavender | #1c171bblack |
| Accent foreground | #5c425adimgray | #b9acb8darkgray |
| Destructive | #722a08saddlebrown | #e55310chocolate |
| Destructive foreground | #fac9b3peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eb66e2orchid | #eb66e2orchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.43:1 | AAA |
| Text on card | 20.43:1 | AAA |
| Primary button | 6.96:1 | AA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 5.86:1 | AA |
| Accent | 7.09:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.96:1 | AA |
| Secondary button | 8.11:1 | AAA |
| Muted text | 7.48:1 | AAA |
| Accent | 8.11:1 | AAA |
| Destructive | 3.76:1 | AA Large |
Paste this into your globals.css to use Awkward in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.005 327.594);
--foreground: oklch(0 0 0);
--muted: oklch(0.905 0.01 327.655);
--muted-foreground: oklch(0.437 0 180);
--popover: oklch(0.991 0.005 327.594);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.005 327.594);
--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.716 0.218 330.22);
--primary-foreground: oklch(0.164 0.058 330.432);
--secondary: oklch(0.928 0.012 327.673);
--secondary-foreground: oklch(0.417 0.05 328.668);
--accent: oklch(0.928 0.012 327.673);
--accent-foreground: oklch(0.417 0.05 328.668);
--destructive: oklch(0.386 0.111 41.281);
--destructive-foreground: oklch(0.873 0.063 46.17);
--ring: oklch(0.716 0.218 330.22);
--chart-1: oklch(0.716 0.218 330.22);
--chart-2: oklch(0.928 0.012 327.673);
--chart-3: oklch(0.928 0.012 327.673);
--chart-4: oklch(0.952 0.008 327.628);
--chart-5: oklch(0.718 0.225 330.298);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.234 0.014 328.124);
--muted-foreground: oklch(0.749 0 158.199);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.716 0.218 330.22);
--primary-foreground: oklch(0.164 0.058 330.432);
--secondary: oklch(0.213 0.01 327.983);
--secondary-foreground: oklch(0.759 0.021 327.816);
--accent: oklch(0.213 0.01 327.983);
--accent-foreground: oklch(0.759 0.021 327.816);
--destructive: oklch(0.632 0.193 39.954);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.716 0.218 330.22);
--chart-1: oklch(0.716 0.218 330.22);
--chart-2: oklch(0.213 0.01 327.983);
--chart-3: oklch(0.213 0.01 327.983);
--chart-4: oklch(0.245 0.012 328.022);
--chart-5: oklch(0.718 0.225 330.298);
}