Dromedary is a shadcn/ui theme built around a deep teal primary color (#11645c) with deep red accents (#641119). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep teal primary (#11645c) on a teal-tinted background (#060f0e).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #060f0eblack |
| Foreground | #050f0eblack | #f8fcfbmintcream |
| Card | #ffffffwhite | #060f0eblack |
| Card foreground | #050f0eblack | #f8fcfbmintcream |
| Popover | #ffffffwhite | #060f0eblack |
| Popover foreground | #050f0eblack | #f8fcfbmintcream |
| Primary | #11645cdarkslategray | #11645cdarkslategray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #641119maroon | #641119maroon |
| Secondary foreground | #f2b5bblightpink | #f2b5bblightpink |
| Muted | #f6efefwhitesmoke | #10090ablack |
| Muted foreground | #646263dimgray | #9d9b9bdarkgray |
| Accent | #641119maroon | #641119maroon |
| Accent foreground | #f2b5bblightpink | #f2b5bblightpink |
| Destructive | #6d0303maroon | #fa3838tomato |
| Destructive foreground | #fda5a5lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #11645cdarkslategray | #11645cdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 6.97:1 | AA |
| Secondary button | 7.38:1 | AAA |
| Muted text | 5.32:1 | AA |
| Accent | 7.38:1 | AAA |
| Destructive | 6.65:1 | AA |
| Text on background | 18.78:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 6.97:1 | AA |
| Secondary button | 7.38:1 | AAA |
| Muted text | 7.12:1 | AAA |
| Accent | 7.38:1 | AAA |
| Destructive | 3.69:1 | AA Large |
Paste this into your globals.css to use Dromedary in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.159 0.017 188.121);
--muted: oklch(0.957 0.008 10.268);
--muted-foreground: oklch(0.5 0.003 10.193);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.159 0.017 188.121);
--card: oklch(1 0 180);
--card-foreground: oklch(0.159 0.017 188.121);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.456 0.075 184.561);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.332 0.116 21.436);
--secondary-foreground: oklch(0.831 0.072 12.076);
--accent: oklch(0.332 0.116 21.436);
--accent-foreground: oklch(0.831 0.072 12.076);
--destructive: oklch(0.339 0.136 28.794);
--destructive-foreground: oklch(0.809 0.104 19.57);
--ring: oklch(0.456 0.075 184.561);
--chart-1: oklch(0.456 0.075 184.561);
--chart-2: oklch(0.332 0.116 21.436);
--chart-3: oklch(0.332 0.116 21.436);
--chart-4: oklch(0.36 0.127 21.74);
--chart-5: oklch(0.461 0.077 184.373);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.158 0.015 188.282);
--foreground: oklch(0.987 0.004 189.992);
--muted: oklch(0.151 0.013 11.894);
--muted-foreground: oklch(0.69 0.002 10.154);
--popover: oklch(0.158 0.015 188.282);
--popover-foreground: oklch(0.987 0.004 189.992);
--card: oklch(0.158 0.015 188.282);
--card-foreground: oklch(0.987 0.004 189.992);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.456 0.075 184.561);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.332 0.116 21.436);
--secondary-foreground: oklch(0.831 0.072 12.076);
--accent: oklch(0.332 0.116 21.436);
--accent-foreground: oklch(0.831 0.072 12.076);
--destructive: oklch(0.644 0.229 26.514);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.456 0.075 184.561);
--chart-1: oklch(0.456 0.075 184.561);
--chart-2: oklch(0.332 0.116 21.436);
--chart-3: oklch(0.332 0.116 21.436);
--chart-4: oklch(0.36 0.127 21.74);
--chart-5: oklch(0.461 0.077 184.373);
}