Ramie is a shadcn/ui theme built around a light yellow primary color (#f5f1e6) with muted light yellow accents (#dddbd4). The light mode uses a neutral background (#fefdfb). Dark mode keeps the light yellow primary (#f5f1e6) on a yellow-tinted background (#0b0904).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #0b0904black |
| Foreground | #110d03black | #f9f8f6whitesmoke |
| Card | #fefdfbsnow | #0b0904black |
| Card foreground | #110d03black | #f9f8f6whitesmoke |
| Popover | #fefdfbsnow | #0b0904black |
| Popover foreground | #110d03black | #f9f8f6whitesmoke |
| Primary | #f5f1e6linen | #f5f1e6linen |
| Primary foreground | #2f2813black | #2f2813black |
| Secondary | #ebebealinen | #2c2c2bdarkslategray |
| Secondary foreground | #535250darkslategray | #c5c5c4silver |
| Muted | #e3e0d9gainsboro | #26231cblack |
| Muted foreground | #67645bdimgray | #a4a198darkgray |
| Accent | #dddbd4gainsboro | #45423bdarkslategray |
| Accent foreground | #474338darkslategray | #dcdad6gainsboro |
| Destructive | #db3000orangered | #ff4b19orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f5f1e6linen | #f5f1e6linen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.08:1 | AAA |
| Text on card | 19.08:1 | AAA |
| Primary button | 12.93:1 | AAA |
| Secondary button | 6.53:1 | AA |
| Muted text | 4.48:1 | AA Large |
| Accent | 7.12:1 | AAA |
| Destructive | 4.73:1 | AA |
| Text on background | 18.73:1 | AAA |
| Text on card | 18.73:1 | AAA |
| Primary button | 12.93:1 | AAA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 6.04:1 | AA |
| Accent | 7.17:1 | AAA |
| Destructive | 3.34:1 | AA Large |
Paste this into your globals.css to use Ramie in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 90.142);
--foreground: oklch(0.162 0.023 93.027);
--muted: oklch(0.907 0.01 90.205);
--muted-foreground: oklch(0.502 0.014 90.306);
--popover: oklch(0.994 0.003 90.142);
--popover-foreground: oklch(0.162 0.023 93.027);
--card: oklch(0.994 0.003 90.142);
--card-foreground: oklch(0.162 0.023 93.027);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.957 0.015 90.236);
--primary-foreground: oklch(0.278 0.035 90.047);
--secondary: oklch(0.939 0.001 90.127);
--secondary-foreground: oklch(0.44 0.004 90.189);
--accent: oklch(0.891 0.009 90.2);
--accent-foreground: oklch(0.385 0.019 90.401);
--destructive: oklch(0.58 0.212 33.422);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.957 0.015 90.236);
--chart-1: oklch(0.957 0.015 90.236);
--chart-2: oklch(0.939 0.001 90.127);
--chart-3: oklch(0.891 0.009 90.2);
--chart-4: oklch(0.962 0.001 90.125);
--chart-5: oklch(0.958 0.016 90.243);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.013 94.076);
--foreground: oklch(0.979 0.003 90.141);
--muted: oklch(0.258 0.014 90.41);
--muted-foreground: oklch(0.708 0.013 90.249);
--popover: oklch(0.141 0.013 94.076);
--popover-foreground: oklch(0.979 0.003 90.141);
--card: oklch(0.141 0.013 94.076);
--card-foreground: oklch(0.979 0.003 90.141);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.957 0.015 90.236);
--primary-foreground: oklch(0.278 0.035 90.047);
--secondary: oklch(0.291 0.001 90.152);
--secondary-foreground: oklch(0.822 0.001 90.132);
--accent: oklch(0.38 0.013 90.34);
--accent-foreground: oklch(0.889 0.006 90.175);
--destructive: oklch(0.667 0.223 34.853);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.957 0.015 90.236);
--chart-1: oklch(0.957 0.015 90.236);
--chart-2: oklch(0.291 0.001 90.152);
--chart-3: oklch(0.38 0.013 90.34);
--chart-4: oklch(0.322 0.001 90.153);
--chart-5: oklch(0.958 0.016 90.243);
}