awa is a shadcn/ui theme built around a vivid deep violet primary color (#5c0c7e) with muted light violet accents (#e2dce4). The light mode uses a neutral background (#fbf7fd). Dark mode keeps the vivid deep violet primary (#5c0c7e) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf7fdghostwhite | #000000black |
| Foreground | #000000black | #fdfcfdwhite |
| Card | #f9f3fbghostwhite | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f9f3fbghostwhite | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #5c0c7eindigo | #5c0c7eindigo |
| Primary foreground | #e9c2f9lavender | #e9c2f9lavender |
| Secondary | #e2dce4gainsboro | #1f1e1fblack |
| Secondary foreground | #4b3e51darkslategray | #b8b7b8silver |
| Muted | #e4e0e6gainsboro | #1d191fblack |
| Muted foreground | #4d4b4edarkslategray | #b3b1b4darkgray |
| Accent | #e2dce4gainsboro | #1f1e1fblack |
| Accent foreground | #4b3e51darkslategray | #b8b7b8silver |
| Destructive | #c03507firebrick | #f86230tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5dfe7gainsboro | #231d26black |
| Input | #e5dfe7gainsboro | #231d26black |
| Ring | #5c0c7eindigo | #5c0c7eindigo |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.85:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 7.50:1 | AAA |
| Secondary button | 7.42:1 | AAA |
| Muted text | 6.61:1 | AA |
| Accent | 7.42:1 | AAA |
| Destructive | 5.59:1 | AA |
| Text on background | 20.51:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.50:1 | AAA |
| Secondary button | 8.29:1 | AAA |
| Muted text | 8.14:1 | AAA |
| Accent | 8.29:1 | AAA |
| Destructive | 6.76:1 | AA |
Paste this into your globals.css to use awa in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.008 315.993);
--foreground: oklch(0 0 0);
--muted: oklch(0.911 0.009 315.984);
--muted-foreground: oklch(0.416 0.006 315.972);
--popover: oklch(0.972 0.012 315.978);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.972 0.012 315.978);
--card-foreground: oklch(0 0 0);
--border: oklch(0.91 0.012 315.974);
--input: oklch(0.91 0.012 315.974);
--primary: oklch(0.366 0.173 311.853);
--primary-foreground: oklch(0.866 0.085 315.668);
--secondary: oklch(0.902 0.012 315.973);
--secondary-foreground: oklch(0.385 0.035 315.694);
--accent: oklch(0.902 0.012 315.973);
--accent-foreground: oklch(0.385 0.035 315.694);
--destructive: oklch(0.537 0.182 35.612);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.366 0.173 311.853);
--chart-1: oklch(0.366 0.173 311.853);
--chart-2: oklch(0.902 0.012 315.973);
--chart-3: oklch(0.902 0.012 315.973);
--chart-4: oklch(0.927 0.009 315.986);
--chart-5: oklch(0.368 0.176 311.586);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.991 0.002 316.014);
--muted: oklch(0.221 0.013 315.804);
--muted-foreground: oklch(0.763 0.005 315.998);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.24 0.02 315.727);
--input: oklch(0.24 0.02 315.727);
--primary: oklch(0.366 0.173 311.853);
--primary-foreground: oklch(0.866 0.085 315.668);
--secondary: oklch(0.237 0.001 316.002);
--secondary-foreground: oklch(0.78 0.002 316.011);
--accent: oklch(0.237 0.001 316.002);
--accent-foreground: oklch(0.78 0.002 316.011);
--destructive: oklch(0.681 0.194 37.941);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.366 0.173 311.853);
--chart-1: oklch(0.366 0.173 311.853);
--chart-2: oklch(0.237 0.001 316.002);
--chart-3: oklch(0.237 0.001 316.002);
--chart-4: oklch(0.269 0.002 316);
--chart-5: oklch(0.368 0.176 311.586);
}