Dromedary is a shadcn/ui theme built around a light blue primary color (#bccaeb) with muted light blue accents (#dadce2). The light mode uses a neutral background (#ffffff). Dark mode keeps the light blue primary (#bccaeb) on a neutral background (#020203).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020203black |
| Foreground | #03060dblack | #ffffffwhite |
| Card | #ffffffwhite | #020203black |
| Card foreground | #03060dblack | #ffffffwhite |
| Popover | #ffffffwhite | #020203black |
| Popover foreground | #03060dblack | #ffffffwhite |
| Primary | #bccaeblightsteelblue | #bccaeblightsteelblue |
| Primary foreground | #1b2e5amidnightblue | #1b2e5amidnightblue |
| Secondary | #dadce2gainsboro | #2c303adarkslategray |
| Secondary foreground | #3d424ddarkslategray | #c5c9d3lightgrey |
| Muted | #e5e7eblavender | #14161ablack |
| Muted foreground | #5b5f67dimgray | #989ca4darkgray |
| Accent | #dadce2gainsboro | #2c303adarkslategray |
| Accent foreground | #3d424ddarkslategray | #c5c9d3lightgrey |
| Destructive | #b4100efirebrick | #ef2d2acrimson |
| Destructive foreground | #fef6f6snow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bccaeblightsteelblue | #bccaeblightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.27:1 | AAA |
| Text on card | 20.27:1 | AAA |
| Primary button | 8.08:1 | AAA |
| Secondary button | 7.35:1 | AAA |
| Muted text | 5.17:1 | AA |
| Accent | 7.35:1 | AAA |
| Destructive | 6.51:1 | AA |
| Text on background | 20.72:1 | AAA |
| Text on card | 20.72:1 | AAA |
| Primary button | 8.08:1 | AAA |
| Secondary button | 7.93:1 | AAA |
| Muted text | 6.58:1 | AA |
| Accent | 7.93:1 | AAA |
| Destructive | 4.13: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.119 0.019 258.623);
--muted: oklch(0.928 0.005 267.385);
--muted-foreground: oklch(0.484 0.014 267.233);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.119 0.019 258.623);
--card: oklch(1 0 180);
--card-foreground: oklch(0.119 0.019 258.623);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.84 0.048 266.988);
--primary-foreground: oklch(0.311 0.083 264.597);
--secondary: oklch(0.895 0.008 267.367);
--secondary-foreground: oklch(0.377 0.021 267.01);
--accent: oklch(0.895 0.008 267.367);
--accent-foreground: oklch(0.377 0.021 267.01);
--destructive: oklch(0.49 0.193 28.757);
--destructive-foreground: oklch(0.979 0.009 18.507);
--ring: oklch(0.84 0.048 266.988);
--chart-1: oklch(0.84 0.048 266.988);
--chart-2: oklch(0.895 0.008 267.367);
--chart-3: oklch(0.895 0.008 267.367);
--chart-4: oklch(0.92 0.006 267.381);
--chart-5: oklch(0.838 0.051 266.957);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.007 263.073);
--foreground: oklch(1 0 180);
--muted: oklch(0.199 0.008 267.135);
--muted-foreground: oklch(0.692 0.013 267.307);
--popover: oklch(0.087 0.007 263.073);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.087 0.007 263.073);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.84 0.048 266.988);
--primary-foreground: oklch(0.311 0.083 264.597);
--secondary: oklch(0.311 0.018 266.998);
--secondary-foreground: oklch(0.837 0.014 267.32);
--accent: oklch(0.311 0.018 266.998);
--accent-foreground: oklch(0.837 0.014 267.32);
--destructive: oklch(0.616 0.228 27.773);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.84 0.048 266.988);
--chart-1: oklch(0.84 0.048 266.988);
--chart-2: oklch(0.311 0.018 266.998);
--chart-3: oklch(0.311 0.018 266.998);
--chart-4: oklch(0.339 0.02 266.982);
--chart-5: oklch(0.838 0.051 266.957);
}