West is a shadcn/ui theme built around a muted light orange primary color (#eceae9) with muted light orange accents (#d8cdc5). The light mode uses a neutral background (#fdf9f6). Dark mode keeps the muted light orange primary (#eceae9) on an orange-tinted background (#0f0905).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf9f6snow | #0f0905black |
| Foreground | #000000black | #faf7f5whitesmoke |
| Card | #fdf9f6snow | #0f0905black |
| Card foreground | #000000black | #faf7f5whitesmoke |
| Popover | #fdf9f6snow | #0f0905black |
| Popover foreground | #000000black | #faf7f5whitesmoke |
| Primary | #eceae9linen | #eceae9linen |
| Primary foreground | #58504bdarkolivegreen | #58504bdarkolivegreen |
| Secondary | #e7e2dfgainsboro | #171412black |
| Secondary foreground | #544840darkolivegreen | #b8aba3darkgray |
| Muted | #eae5e1gainsboro | #1e1915black |
| Muted foreground | #625b55dimgray | #aaa29ddarkgray |
| Accent | #d8cdc5lightgrey | #2c221cblack |
| Accent foreground | #40342bdarkslategray | #cbbaaesilver |
| Destructive | #b52c03firebrick | #fc511dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eceae9linen | #eceae9linen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.10:1 | AAA |
| Text on card | 20.10:1 | AAA |
| Primary button | 6.58:1 | AA |
| Secondary button | 6.87:1 | AA |
| Muted text | 5.32:1 | AA |
| Accent | 7.69:1 | AAA |
| Destructive | 6.31:1 | AA |
| Text on background | 18.52:1 | AAA |
| Text on card | 18.52:1 | AAA |
| Primary button | 6.58:1 | AA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 6.95:1 | AA |
| Accent | 8.26:1 | AAA |
| Destructive | 3.32:1 | AA Large |
Paste this into your globals.css to use West in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.006 56.354);
--foreground: oklch(0 0 0);
--muted: oklch(0.924 0.008 56.311);
--muted-foreground: oklch(0.475 0.013 56.059);
--popover: oklch(0.985 0.006 56.354);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.985 0.006 56.354);
--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.939 0.003 56.394);
--primary-foreground: oklch(0.438 0.013 56.013);
--secondary: oklch(0.916 0.006 56.34);
--secondary-foreground: oklch(0.411 0.02 55.759);
--accent: oklch(0.854 0.016 56.176);
--accent-foreground: oklch(0.334 0.022 55.495);
--destructive: oklch(0.509 0.178 34.63);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.939 0.003 56.394);
--chart-1: oklch(0.939 0.003 56.394);
--chart-2: oklch(0.916 0.006 56.34);
--chart-3: oklch(0.854 0.016 56.176);
--chart-4: oklch(0.939 0.004 56.368);
--chart-5: oklch(0.939 0.004 56.379);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.147 0.014 60.306);
--foreground: oklch(0.977 0.004 56.377);
--muted: oklch(0.217 0.012 55.675);
--muted-foreground: oklch(0.717 0.012 56.209);
--popover: oklch(0.147 0.014 60.306);
--popover-foreground: oklch(0.977 0.004 56.377);
--card: oklch(0.147 0.014 60.306);
--card-foreground: oklch(0.977 0.004 56.377);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.939 0.003 56.394);
--primary-foreground: oklch(0.438 0.013 56.013);
--secondary: oklch(0.194 0.007 55.959);
--secondary-foreground: oklch(0.75 0.019 56.084);
--accent: oklch(0.261 0.018 55.446);
--accent-foreground: oklch(0.8 0.026 55.99);
--destructive: oklch(0.667 0.215 35.92);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.939 0.003 56.394);
--chart-1: oklch(0.939 0.003 56.394);
--chart-2: oklch(0.194 0.007 55.959);
--chart-3: oklch(0.261 0.018 55.446);
--chart-4: oklch(0.227 0.009 55.899);
--chart-5: oklch(0.939 0.004 56.379);
}