Meaning is a shadcn/ui theme built around a vivid light purple primary color (#f7cdfe) with vivid light teal accents (#cdfef7). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the vivid light purple primary (#f7cdfe) on a purple-tinted background (#09050a).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #09050ablack |
| Foreground | #100212black | #fdfcfdwhite |
| Card | #fdfbfewhite | #09050ablack |
| Card foreground | #100212black | #fdfcfdwhite |
| Popover | #fdfbfewhite | #09050ablack |
| Popover foreground | #100212black | #fdfcfdwhite |
| Primary | #f7cdfelavender | #f7cdfelavender |
| Primary foreground | #800297darkmagenta | #800297darkmagenta |
| Secondary | #fef7cdlemonchiffon | #fef7cdlemonchiffon |
| Secondary foreground | #322b01black | #322b01black |
| Muted | #f1f0efwhitesmoke | #10100eblack |
| Muted foreground | #575547darkolivegreen | #b8b5a8darkgray |
| Accent | #cdfef7lightcyan | #cdfef7lightcyan |
| Accent foreground | #01322bdarkslategray | #01322bdarkslategray |
| Destructive | #bf3f08firebrick | #e14a09orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f7cdfelavender | #f7cdfelavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.64:1 | AAA |
| Text on card | 19.64:1 | AAA |
| Primary button | 6.35:1 | AA |
| Secondary button | 13.08:1 | AAA |
| Muted text | 6.61:1 | AA |
| Accent | 12.82:1 | AAA |
| Destructive | 5.35:1 | AA |
| Text on background | 19.73:1 | AAA |
| Text on card | 19.73:1 | AAA |
| Primary button | 6.35:1 | AA |
| Secondary button | 13.08:1 | AAA |
| Muted text | 9.25:1 | AAA |
| Accent | 12.82:1 | AAA |
| Destructive | 4.04:1 | AA Large |
Paste this into your globals.css to use Meaning in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.005 321.075);
--foreground: oklch(0.132 0.046 322.533);
--muted: oklch(0.956 0.002 98.354);
--muted-foreground: oklch(0.446 0.021 98.935);
--popover: oklch(0.991 0.005 321.075);
--popover-foreground: oklch(0.132 0.046 322.533);
--card: oklch(0.991 0.005 321.075);
--card-foreground: oklch(0.132 0.046 322.533);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.899 0.08 321.249);
--primary-foreground: oklch(0.439 0.209 320.016);
--secondary: oklch(0.971 0.055 99.028);
--secondary-foreground: oklch(0.288 0.059 98.854);
--accent: oklch(0.962 0.051 185.184);
--accent-foreground: oklch(0.285 0.051 179.521);
--destructive: oklch(0.546 0.173 38.452);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.899 0.08 321.249);
--chart-1: oklch(0.899 0.08 321.249);
--chart-2: oklch(0.971 0.055 99.028);
--chart-3: oklch(0.962 0.051 185.184);
--chart-4: oklch(0.979 0.039 98.837);
--chart-5: oklch(0.898 0.083 321.255);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.014 322.024);
--foreground: oklch(0.992 0.001 321.068);
--muted: oklch(0.173 0.004 98.612);
--muted-foreground: oklch(0.773 0.019 98.65);
--popover: oklch(0.127 0.014 322.024);
--popover-foreground: oklch(0.992 0.001 321.068);
--card: oklch(0.127 0.014 322.024);
--card-foreground: oklch(0.992 0.001 321.068);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.899 0.08 321.249);
--primary-foreground: oklch(0.439 0.209 320.016);
--secondary: oklch(0.971 0.055 99.028);
--secondary-foreground: oklch(0.288 0.059 98.854);
--accent: oklch(0.962 0.051 185.184);
--accent-foreground: oklch(0.285 0.051 179.521);
--destructive: oklch(0.616 0.197 38.166);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.899 0.08 321.249);
--chart-1: oklch(0.899 0.08 321.249);
--chart-2: oklch(0.971 0.055 99.028);
--chart-3: oklch(0.962 0.051 185.184);
--chart-4: oklch(0.979 0.039 98.837);
--chart-5: oklch(0.898 0.083 321.255);
}