Awkward is a shadcn/ui theme built around a vivid green primary color (#0e9a18) with vivid red accents (#9a180e). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#0e9a18) on a neutral background (#010401).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010401black |
| Foreground | #010401black | #ffffffwhite |
| Card | #ffffffwhite | #010401black |
| Card foreground | #010401black | #ffffffwhite |
| Popover | #ffffffwhite | #010401black |
| Popover foreground | #010401black | #ffffffwhite |
| Primary | #0e9a18forestgreen | #0e9a18forestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #180e9adarkblue | #180e9adarkblue |
| Secondary foreground | #e0defclavender | #e0defclavender |
| Muted | #dad8e8gainsboro | #181727black |
| Muted foreground | #55545fdimgray | #a1a0abdarkgray |
| Accent | #9a180edarkred | #9a180edarkred |
| Accent foreground | #fce0demistyrose | #fce0demistyrose |
| Destructive | #a20101darkred | #f40101red |
| Destructive foreground | #ffd6d6mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0e9a18forestgreen | #0e9a18forestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 3.71:1 | AA Large |
| Secondary button | 10.21:1 | AAA |
| Muted text | 5.32:1 | AA |
| Accent | 6.72:1 | AA |
| Destructive | 6.21:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.59:1 | AAA |
| Primary button | 3.71:1 | AA Large |
| Secondary button | 10.21:1 | AAA |
| Muted text | 6.85:1 | AA |
| Accent | 6.72:1 | AA |
| Destructive | 4.34:1 | AA Large |
Paste this into your globals.css to use Awkward in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.098 0.022 145.846);
--muted: oklch(0.889 0.022 289.017);
--muted-foreground: oklch(0.45 0.017 288.744);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.098 0.022 145.846);
--card: oklch(1 0 180);
--card-foreground: oklch(0.098 0.022 145.846);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.596 0.194 143.093);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.328 0.203 269.418);
--secondary-foreground: oklch(0.912 0.04 288.635);
--accent: oklch(0.442 0.166 29.58);
--accent-foreground: oklch(0.93 0.031 22.611);
--destructive: oklch(0.448 0.184 29.178);
--destructive-foreground: oklch(0.911 0.045 18.014);
--ring: oklch(0.596 0.194 143.093);
--chart-1: oklch(0.596 0.194 143.093);
--chart-2: oklch(0.328 0.203 269.418);
--chart-3: oklch(0.442 0.166 29.58);
--chart-4: oklch(0.348 0.217 269.158);
--chart-5: oklch(0.603 0.198 143.021);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.019 146.103);
--foreground: oklch(1 0 180);
--muted: oklch(0.213 0.031 286.482);
--muted-foreground: oklch(0.711 0.015 289.069);
--popover: oklch(0.097 0.019 146.103);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.097 0.019 146.103);
--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.596 0.194 143.093);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.328 0.203 269.418);
--secondary-foreground: oklch(0.912 0.04 288.635);
--accent: oklch(0.442 0.166 29.58);
--accent-foreground: oklch(0.93 0.031 22.611);
--destructive: oklch(0.607 0.249 29.2);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.596 0.194 143.093);
--chart-1: oklch(0.596 0.194 143.093);
--chart-2: oklch(0.328 0.203 269.418);
--chart-3: oklch(0.442 0.166 29.58);
--chart-4: oklch(0.348 0.217 269.158);
--chart-5: oklch(0.603 0.198 143.021);
}