Cura is a shadcn/ui theme built around a vivid teal primary color (#099558) with muted light teal accents (#cad8d2). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the vivid teal primary (#099558) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #000000black |
| Foreground | #05100bblack | #fcfdfdwhite |
| Card | #fcfdfdwhite | #000000black |
| Card foreground | #05100bblack | #fcfdfdwhite |
| Popover | #fcfdfdwhite | #000000black |
| Popover foreground | #05100bblack | #fcfdfdwhite |
| Primary | #099558seagreen | #099558seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dfe2e1gainsboro | #222a27darkslategray |
| Secondary foreground | #434c48darkslategray | #b9c6c0silver |
| Muted | #f1f3f2whitesmoke | #0c0e0dblack |
| Muted foreground | #556d62dimgray | #92aaa0darkgray |
| Accent | #cad8d2lightgrey | #293d34darkslategray |
| Accent foreground | #304139darkslategray | #c2d6cdlightgrey |
| Destructive | #df4b01orangered | #fe712atomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e2e4e3gainsboro | #202221black |
| Input | #e2e4e3gainsboro | #202221black |
| Ring | #099558seagreen | #099558seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.00:1 | AAA |
| Text on card | 19.00:1 | AAA |
| Primary button | 3.83:1 | AA Large |
| Secondary button | 6.80:1 | AA |
| Muted text | 5.03:1 | AA |
| Accent | 7.35:1 | AAA |
| Destructive | 4.07:1 | AA Large |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 3.83:1 | AA Large |
| Secondary button | 8.31:1 | AAA |
| Muted text | 7.84:1 | AAA |
| Accent | 7.63:1 | AAA |
| Destructive | 7.58:1 | AAA |
Paste this into your globals.css to use Cura in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 168.672);
--foreground: oklch(0.158 0.02 166.564);
--muted: oklch(0.963 0.002 168.68);
--muted-foreground: oklch(0.511 0.032 166.855);
--popover: oklch(0.994 0.002 168.672);
--popover-foreground: oklch(0.158 0.02 166.564);
--card: oklch(0.994 0.002 168.672);
--card-foreground: oklch(0.158 0.02 166.564);
--border: oklch(0.917 0.003 168.65);
--input: oklch(0.917 0.003 168.65);
--primary: oklch(0.591 0.141 156.04);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.91 0.004 168.595);
--secondary-foreground: oklch(0.406 0.013 167.834);
--accent: oklch(0.87 0.017 168.18);
--accent-foreground: oklch(0.356 0.025 166.583);
--destructive: oklch(0.613 0.195 39.238);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.591 0.141 156.04);
--chart-1: oklch(0.591 0.141 156.04);
--chart-2: oklch(0.91 0.004 168.595);
--chart-3: oklch(0.87 0.017 168.18);
--chart-4: oklch(0.933 0.003 168.633);
--chart-5: oklch(0.597 0.144 155.697);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.002 168.679);
--muted: oklch(0.159 0.003 168.221);
--muted-foreground: oklch(0.716 0.03 167.522);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.002 168.679);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.002 168.679);
--border: oklch(0.251 0.004 168.229);
--input: oklch(0.251 0.004 168.229);
--primary: oklch(0.591 0.141 156.04);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.277 0.012 167.422);
--secondary-foreground: oklch(0.814 0.016 168.176);
--accent: oklch(0.339 0.029 166.064);
--accent-foreground: oklch(0.858 0.024 167.936);
--destructive: oklch(0.71 0.19 43.38);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.591 0.141 156.04);
--chart-1: oklch(0.591 0.141 156.04);
--chart-2: oklch(0.277 0.012 167.422);
--chart-3: oklch(0.339 0.029 166.064);
--chart-4: oklch(0.309 0.014 167.36);
--chart-5: oklch(0.597 0.144 155.697);
}