Awkward is a shadcn/ui theme built around a green primary color (#49b64e) with muted light green accents (#c0d8c1). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the green primary (#49b64e) on a green-tinted background (#050f06).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf8mintcream | #050f06black |
| Foreground | #050f06black | #ffffffwhite |
| Card | #f5faf5whitesmoke | #071307black |
| Card foreground | #040b04black | #ffffffwhite |
| Popover | #f5faf5whitesmoke | #071307black |
| Popover foreground | #040b04black | #ffffffwhite |
| Primary | #49b64emediumseagreen | #49b64emediumseagreen |
| Primary foreground | #0f2410black | #0f2410black |
| Secondary | #d3ded4lightgrey | #131b14black |
| Secondary foreground | #364937darkslategray | #a3bda5darkgray |
| Muted | #d2dfd3lightgrey | #202d20darkslategray |
| Muted foreground | #577558dimgray | #8aa88bdarkseagreen |
| Accent | #c0d8c1silver | #1d2f1edarkslategray |
| Accent foreground | #273f28darkslategray | #b1ceb2silver |
| Destructive | #a8250bfirebrick | #f0350forangered |
| Destructive foreground | #fdebe7linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #49b64emediumseagreen | #49b64emediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.77:1 | AAA |
| Text on card | 18.81:1 | AAA |
| Primary button | 6.33:1 | AA |
| Secondary button | 7.02:1 | AAA |
| Muted text | 3.73:1 | AA Large |
| Accent | 7.57:1 | AAA |
| Destructive | 6.21:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.01:1 | AAA |
| Primary button | 6.33:1 | AA |
| Secondary button | 8.71:1 | AAA |
| Muted text | 5.54:1 | AA |
| Accent | 8.33:1 | AAA |
| Destructive | 4.03:1 | AA Large |
Paste this into your globals.css to use Awkward in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.005 146.988);
--foreground: oklch(0.155 0.027 145.563);
--muted: oklch(0.891 0.022 146.809);
--muted-foreground: oklch(0.531 0.057 145.971);
--popover: oklch(0.98 0.008 146.962);
--popover-foreground: oklch(0.139 0.024 145.724);
--card: oklch(0.98 0.008 146.962);
--card-foreground: oklch(0.139 0.024 145.724);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.691 0.175 144.208);
--primary-foreground: oklch(0.237 0.048 144.891);
--secondary: oklch(0.89 0.019 146.836);
--secondary-foreground: oklch(0.384 0.039 146.042);
--accent: oklch(0.858 0.041 146.581);
--accent-foreground: oklch(0.341 0.05 145.534);
--destructive: oklch(0.478 0.17 32.606);
--destructive-foreground: oklch(0.953 0.021 31.097);
--ring: oklch(0.691 0.175 144.208);
--chart-1: oklch(0.691 0.175 144.208);
--chart-2: oklch(0.89 0.019 146.836);
--chart-3: oklch(0.858 0.041 146.581);
--chart-4: oklch(0.912 0.015 146.882);
--chart-5: oklch(0.699 0.185 144.061);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.027 145.593);
--foreground: oklch(1 0 180);
--muted: oklch(0.28 0.029 146.031);
--muted-foreground: oklch(0.701 0.054 146.294);
--popover: oklch(0.17 0.031 145.373);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.17 0.031 145.373);
--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.691 0.175 144.208);
--primary-foreground: oklch(0.237 0.048 144.891);
--secondary: oklch(0.21 0.017 146.231);
--secondary-foreground: oklch(0.771 0.044 146.496);
--accent: oklch(0.284 0.038 145.686);
--accent-foreground: oklch(0.822 0.05 146.457);
--destructive: oklch(0.621 0.226 32.384);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.691 0.175 144.208);
--chart-1: oklch(0.691 0.175 144.208);
--chart-2: oklch(0.21 0.017 146.231);
--chart-3: oklch(0.284 0.038 145.686);
--chart-4: oklch(0.245 0.022 146.148);
--chart-5: oklch(0.699 0.185 144.061);
}