Awkward is a shadcn/ui theme built around a vivid orange primary color (#f59929) with vivid blue accents (#2985f5). The light mode uses a neutral background (#fdfaf7). Dark mode keeps the vivid orange primary (#f59929) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfaf7snow | #000000black |
| Foreground | #140d05black | #fcfaf8snow |
| Card | #fcf8f3floralwhite | #030303black |
| Card foreground | #100b04black | #fdfdfcwhite |
| Popover | #fdfaf7snow | #000000black |
| Popover foreground | #140d05black | #fcfaf8snow |
| Primary | #f59929goldenrod | #f59929goldenrod |
| Primary foreground | #000000black | #000000black |
| Secondary | #2985f5dodgerblue | #2985f5dodgerblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dce2e9gainsboro | #161b23black |
| Muted foreground | #454e59darkslategray | #a6afbadarkgray |
| Accent | #2985f5dodgerblue | #2985f5dodgerblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #803205saddlebrown | #f76d1dchocolate |
| Destructive foreground | #fdd2bapeachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f59929goldenrod | #f59929goldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.56:1 | AAA |
| Text on card | 18.51:1 | AAA |
| Primary button | 9.46:1 | AAA |
| Secondary button | 3.65:1 | AA Large |
| Muted text | 6.49:1 | AA |
| Accent | 3.65:1 | AA Large |
| Destructive | 6.36:1 | AA |
| Text on background | 20.16:1 | AAA |
| Text on card | 20.31:1 | AAA |
| Primary button | 9.46:1 | AAA |
| Secondary button | 3.65:1 | AA Large |
| Muted text | 7.77:1 | AAA |
| Accent | 3.65:1 | AA Large |
| Destructive | 7.13:1 | AAA |
Paste this into your globals.css to use Awkward in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.006 73.177);
--foreground: oklch(0.167 0.02 74.008);
--muted: oklch(0.911 0.012 253.303);
--muted-foreground: oklch(0.42 0.022 253.525);
--popover: oklch(0.987 0.006 73.177);
--popover-foreground: oklch(0.167 0.02 74.008);
--card: oklch(0.981 0.008 73.155);
--card-foreground: oklch(0.153 0.018 76.757);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.761 0.159 64.984);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.623 0.188 256.172);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.623 0.188 256.172);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.421 0.119 44.004);
--destructive-foreground: oklch(0.895 0.058 51.761);
--ring: oklch(0.761 0.159 64.984);
--chart-1: oklch(0.761 0.159 64.984);
--chart-2: oklch(0.623 0.188 256.172);
--chart-3: oklch(0.623 0.188 256.172);
--chart-4: oklch(0.645 0.176 255.539);
--chart-5: oklch(0.765 0.162 64.458);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.003 73.197);
--muted: oklch(0.221 0.016 253.626);
--muted-foreground: oklch(0.75 0.019 253.381);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.003 73.197);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.001 73.208);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.761 0.159 64.984);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.623 0.188 256.172);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.623 0.188 256.172);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.693 0.188 44.838);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.761 0.159 64.984);
--chart-1: oklch(0.761 0.159 64.984);
--chart-2: oklch(0.623 0.188 256.172);
--chart-3: oklch(0.623 0.188 256.172);
--chart-4: oklch(0.645 0.176 255.539);
--chart-5: oklch(0.765 0.162 64.458);
}