Ritual is a shadcn/ui theme built around a vivid light cyan primary color (#aef7ff) with vivid light green accents (#f7ffae). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid light cyan primary (#aef7ff) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #000000black |
| Foreground | #031416black | #fcfdfdwhite |
| Card | #fbfefewhite | #000000black |
| Card foreground | #031416black | #fcfdfdwhite |
| Popover | #fbfefewhite | #000000black |
| Popover foreground | #031416black | #fcfdfdwhite |
| Primary | #aef7ffpaleturquoise | #aef7ffpaleturquoise |
| Primary foreground | #001214black | #001214black |
| Secondary | #ffaef7plum | #ffaef7plum |
| Secondary foreground | #7a016epurple | #7a016epurple |
| Muted | #e2dfe2gainsboro | #201d20black |
| Muted foreground | #544052darkslategray | #bfabbdsilver |
| Accent | #f7ffaepalegoldenrod | #f7ffaepalegoldenrod |
| Accent foreground | #121400black | #121400black |
| Destructive | #cc450fchocolate | #f06833tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #aef7ffpaleturquoise | #aef7ffpaleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.51:1 | AAA |
| Text on card | 18.51:1 | AAA |
| Primary button | 15.93:1 | AAA |
| Secondary button | 6.13:1 | AA |
| Muted text | 7.10:1 | AAA |
| Accent | 17.58:1 | AAA |
| Destructive | 4.75:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 15.93:1 | AAA |
| Secondary button | 6.13:1 | AA |
| Muted text | 7.76:1 | AAA |
| Accent | 17.58:1 | AAA |
| Destructive | 6.74:1 | AA |
Paste this into your globals.css to use Ritual in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 204.969);
--foreground: oklch(0.178 0.025 204.27);
--muted: oklch(0.906 0.005 328.653);
--muted-foreground: oklch(0.4 0.038 329.597);
--popover: oklch(0.994 0.003 204.969);
--popover-foreground: oklch(0.178 0.025 204.27);
--card: oklch(0.994 0.003 204.969);
--card-foreground: oklch(0.178 0.025 204.27);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.93 0.072 204.693);
--primary-foreground: oklch(0.167 0.028 203.417);
--secondary: oklch(0.85 0.131 330.182);
--secondary-foreground: oklch(0.399 0.178 333.726);
--accent: oklch(0.974 0.102 112.946);
--accent-foreground: oklch(0.184 0.041 114.278);
--destructive: oklch(0.575 0.18 38.175);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.93 0.072 204.693);
--chart-1: oklch(0.93 0.072 204.693);
--chart-2: oklch(0.85 0.131 330.182);
--chart-3: oklch(0.974 0.102 112.946);
--chart-4: oklch(0.876 0.107 329.859);
--chart-5: oklch(0.932 0.074 204.696);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 204.982);
--muted: oklch(0.236 0.007 328.914);
--muted-foreground: oklch(0.764 0.032 329.053);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.001 204.982);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.001 204.982);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.93 0.072 204.693);
--primary-foreground: oklch(0.167 0.028 203.417);
--secondary: oklch(0.85 0.131 330.182);
--secondary-foreground: oklch(0.399 0.178 333.726);
--accent: oklch(0.974 0.102 112.946);
--accent-foreground: oklch(0.184 0.041 114.278);
--destructive: oklch(0.678 0.18 40.467);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.93 0.072 204.693);
--chart-1: oklch(0.93 0.072 204.693);
--chart-2: oklch(0.85 0.131 330.182);
--chart-3: oklch(0.974 0.102 112.946);
--chart-4: oklch(0.876 0.107 329.859);
--chart-5: oklch(0.932 0.074 204.696);
}