Awesome is a shadcn/ui theme built around a neutral gray primary color (#98999a) with neutral gray accents (#98989a). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the neutral gray primary (#98999a) on a cyan-tinted background (#060c0e).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #060c0eblack |
| Foreground | #000000black | #f5f8f9whitesmoke |
| Card | #f6fbfdghostwhite | #080f12black |
| Card foreground | #000000black | #f9fafbghostwhite |
| Popover | #fbfdfewhite | #060c0eblack |
| Popover foreground | #000000black | #f5f8f9whitesmoke |
| Primary | #98999adarkgray | #98999adarkgray |
| Primary foreground | #000000black | #000000black |
| Secondary | #989a9adarkgray | #989a9adarkgray |
| Secondary foreground | #000000black | #000000black |
| Muted | #e7eeedlavender | #111816black |
| Muted foreground | #454a49darkslategray | #b5bab9silver |
| Accent | #98989adarkgray | #98989adarkgray |
| Accent foreground | #000000black | #000000black |
| Destructive | #931901darkred | #fe4925orangered |
| Destructive foreground | #ffd0c7pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #98999adarkgray | #98999adarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.59:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 7.38:1 | AAA |
| Secondary button | 7.42:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 7.31:1 | AAA |
| Destructive | 6.33:1 | AA |
| Text on background | 18.45:1 | AAA |
| Text on card | 18.50:1 | AAA |
| Primary button | 7.38:1 | AAA |
| Secondary button | 7.42:1 | AAA |
| Muted text | 9.18:1 | AAA |
| Accent | 7.31:1 | AAA |
| Destructive | 3.39:1 | AA Large |
Paste this into your globals.css to use Awesome in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 225.016);
--foreground: oklch(0 0 0);
--muted: oklch(0.943 0.007 182.976);
--muted-foreground: oklch(0.404 0.008 182.659);
--popover: oklch(0.993 0.003 225.016);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.986 0.006 225.051);
--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.683 0.002 225.013);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.684 0.002 183.087);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.681 0.002 274.991);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.429 0.16 32.521);
--destructive-foreground: oklch(0.896 0.054 31.284);
--ring: oklch(0.683 0.002 225.013);
--chart-1: oklch(0.683 0.002 225.013);
--chart-2: oklch(0.684 0.002 183.087);
--chart-3: oklch(0.681 0.002 274.991);
--chart-4: oklch(0.709 0.002 183.098);
--chart-5: oklch(0.684 0.008 225.108);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.148 0.012 223.969);
--foreground: oklch(0.978 0.003 225.019);
--muted: oklch(0.2 0.01 181.726);
--muted-foreground: oklch(0.785 0.007 182.955);
--popover: oklch(0.148 0.012 223.969);
--popover-foreground: oklch(0.978 0.003 225.019);
--card: oklch(0.162 0.013 225.719);
--card-foreground: oklch(0.985 0.002 225.007);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.683 0.002 225.013);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.684 0.002 183.087);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.681 0.002 274.991);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.663 0.222 33.016);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.683 0.002 225.013);
--chart-1: oklch(0.683 0.002 225.013);
--chart-2: oklch(0.684 0.002 183.087);
--chart-3: oklch(0.681 0.002 274.991);
--chart-4: oklch(0.709 0.002 183.098);
--chart-5: oklch(0.684 0.008 225.108);
}