Wordy is a shadcn/ui theme built around a pink primary color (#d1a9b6) with blue accents (#a9b6d1). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#d1a9b6) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #16030ablack | #fdfcfcsnow |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #120308black | #ffffffwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #120308black | #ffffffwhite |
| Primary | #d1a9b6silver | #d1a9b6silver |
| Primary foreground | #2e1920black | #2e1920black |
| Secondary | #b6d1a9silver | #b6d1a9silver |
| Secondary foreground | #202e19black | #202e19black |
| Muted | #e8f1e4beige | #121b0eblack |
| Muted foreground | #515d4cdarkolivegreen | #a8b3a2darkgray |
| Accent | #a9b6d1lightsteelblue | #a9b6d1lightsteelblue |
| Accent foreground | #19202eblack | #19202eblack |
| Destructive | #7e3207saddlebrown | #da570bchocolate |
| Destructive foreground | #fbd3bbpeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d1a9b6silver | #d1a9b6silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.97:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 8.62:1 | AAA |
| Muted text | 6.00:1 | AA |
| Accent | 7.99:1 | AAA |
| Destructive | 6.43:1 | AA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 8.62:1 | AAA |
| Muted text | 8.11:1 | AAA |
| Accent | 7.99:1 | AAA |
| Destructive | 3.92:1 | AA Large |
Paste this into your globals.css to use Wordy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.144 0.04 358.439);
--muted: oklch(0.948 0.019 134.927);
--muted-foreground: oklch(0.462 0.03 135.165);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.131 0.036 356.405);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.131 0.036 356.405);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.774 0.05 356.367);
--primary-foreground: oklch(0.245 0.036 358.607);
--secondary: oklch(0.829 0.061 135.215);
--secondary-foreground: oklch(0.283 0.042 135.717);
--accent: oklch(0.775 0.041 264.303);
--accent-foreground: oklch(0.244 0.029 263.797);
--destructive: oklch(0.419 0.116 44.419);
--destructive-foreground: oklch(0.895 0.056 51.787);
--ring: oklch(0.774 0.05 356.367);
--chart-1: oklch(0.774 0.05 356.367);
--chart-2: oklch(0.829 0.061 135.215);
--chart-3: oklch(0.775 0.041 264.303);
--chart-4: oklch(0.849 0.054 135.157);
--chart-5: oklch(0.772 0.055 356.549);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 354.616);
--muted: oklch(0.208 0.027 135.575);
--muted-foreground: oklch(0.754 0.027 135.006);
--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.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.774 0.05 356.367);
--primary-foreground: oklch(0.245 0.036 358.607);
--secondary: oklch(0.829 0.061 135.215);
--secondary-foreground: oklch(0.283 0.042 135.717);
--accent: oklch(0.775 0.041 264.303);
--accent-foreground: oklch(0.244 0.029 263.797);
--destructive: oklch(0.62 0.179 43.063);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.774 0.05 356.367);
--chart-1: oklch(0.774 0.05 356.367);
--chart-2: oklch(0.829 0.061 135.215);
--chart-3: oklch(0.775 0.041 264.303);
--chart-4: oklch(0.849 0.054 135.157);
--chart-5: oklch(0.772 0.055 356.549);
}