P. \ Ornithopter is a shadcn/ui theme built around a vivid orange primary color (#eba64c) with muted orange accents (#6c5547). The light mode uses an orange-tinted background (#3e3128). Dark mode keeps the vivid orange primary (#eba64c) on an orange-tinted background (#3e3128).
| Token | Light | Dark |
|---|---|---|
| Background | #3e3128darkslategray | #3e3128darkslategray |
| Foreground | #f5ddbcwheat | #f5ddbcwheat |
| Card | #382c24darkslategray | #382c24darkslategray |
| Card foreground | #f8e8d3antiquewhite | #f8e8d3antiquewhite |
| Popover | #342922darkslategray | #342922darkslategray |
| Popover foreground | #fcf4e9oldlace | #fcf4e9oldlace |
| Primary | #eba64csandybrown | #eba64csandybrown |
| Primary foreground | #050301black | #050301black |
| Secondary | #53422ddarkolivegreen | #53422ddarkolivegreen |
| Secondary foreground | #e4dacdgainsboro | #e4dacdgainsboro |
| Muted | #453b36darkslategray | #453b36darkslategray |
| Muted foreground | #c5bbb5silver | #c5bbb5silver |
| Accent | #6c5547dimgray | #6c5547dimgray |
| Accent foreground | #f5f2f0whitesmoke | #f5f2f0whitesmoke |
| Destructive | #e72b0dorangered | #e72b0dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #473e39darkslategray | #473e39darkslategray |
| Input | #4f4640darkslategray | #4f4640darkslategray |
| Ring | #eba64csandybrown | #eba64csandybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 9.58:1 | AAA |
| Text on card | 11.30:1 | AAA |
| Primary button | 9.90:1 | AAA |
| Secondary button | 6.94:1 | AA |
| Muted text | 5.75:1 | AA |
| Accent | 6.23:1 | AA |
| Destructive | 4.41:1 | AA Large |
| Text on background | 9.58:1 | AAA |
| Text on card | 11.30:1 | AAA |
| Primary button | 9.90:1 | AAA |
| Secondary button | 6.94:1 | AA |
| Muted text | 5.75:1 | AA |
| Accent | 6.23:1 | AA |
| Destructive | 4.41:1 | AA Large |
Paste this into your globals.css to use P. \ Ornithopter in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.323 0.024 53.509);
--foreground: oklch(0.908 0.05 74.482);
--muted: oklch(0.362 0.016 53.917);
--muted-foreground: oklch(0.798 0.014 54.265);
--popover: oklch(0.292 0.021 53.547);
--popover-foreground: oklch(0.969 0.017 74.843);
--card: oklch(0.303 0.022 53.533);
--card-foreground: oklch(0.938 0.033 74.692);
--border: oklch(0.371 0.015 53.961);
--input: oklch(0.4 0.017 53.95);
--primary: oklch(0.776 0.133 70.711);
--primary-foreground: oklch(0.097 0.016 85.203);
--secondary: oklch(0.392 0.041 73.624);
--secondary-foreground: oklch(0.894 0.021 74.799);
--accent: oklch(0.469 0.038 53.402);
--accent-foreground: oklch(0.962 0.004 54.441);
--destructive: oklch(0.599 0.225 31.304);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.776 0.133 70.711);
--chart-1: oklch(0.776 0.133 70.711);
--chart-2: oklch(0.392 0.041 73.624);
--chart-3: oklch(0.469 0.038 53.402);
--chart-4: oklch(0.423 0.045 73.581);
--chart-5: oklch(0.779 0.137 70.399);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.323 0.024 53.509);
--foreground: oklch(0.908 0.05 74.482);
--muted: oklch(0.362 0.016 53.917);
--muted-foreground: oklch(0.798 0.014 54.265);
--popover: oklch(0.292 0.021 53.547);
--popover-foreground: oklch(0.969 0.017 74.843);
--card: oklch(0.303 0.022 53.533);
--card-foreground: oklch(0.938 0.033 74.692);
--border: oklch(0.371 0.015 53.961);
--input: oklch(0.4 0.017 53.95);
--primary: oklch(0.776 0.133 70.711);
--primary-foreground: oklch(0.097 0.016 85.203);
--secondary: oklch(0.392 0.041 73.624);
--secondary-foreground: oklch(0.894 0.021 74.799);
--accent: oklch(0.469 0.038 53.402);
--accent-foreground: oklch(0.962 0.004 54.441);
--destructive: oklch(0.599 0.225 31.304);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.776 0.133 70.711);
--chart-1: oklch(0.776 0.133 70.711);
--chart-2: oklch(0.392 0.041 73.624);
--chart-3: oklch(0.469 0.038 53.402);
--chart-4: oklch(0.423 0.045 73.581);
--chart-5: oklch(0.779 0.137 70.399);
}