Elderberry Black Dinosaur is a shadcn/ui theme built around a deep blue primary color (#142c38) with deep blue accents (#141a38). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep blue primary (#142c38) on a blue-tinted background (#040c10).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040c10black |
| Foreground | #010609black | #ffffffwhite |
| Card | #ffffffwhite | #040c10black |
| Card foreground | #010609black | #ffffffwhite |
| Popover | #ffffffwhite | #040c10black |
| Popover foreground | #010609black | #ffffffwhite |
| Primary | #142c38darkslategray | #142c38darkslategray |
| Primary foreground | #a1c9ddlightsteelblue | #a1c9ddlightsteelblue |
| Secondary | #143832darkslategray | #143832darkslategray |
| Secondary foreground | #a1ddd3lightblue | #a1ddd3lightblue |
| Muted | #d2e9e6gainsboro | #162d29darkslategray |
| Muted foreground | #606262dimgray | #9d9f9fdarkgray |
| Accent | #141a38midnightblue | #141a38midnightblue |
| Accent foreground | #a1abddlightsteelblue | #a1abddlightsteelblue |
| Destructive | #700b05maroon | #f64137tomato |
| Destructive foreground | #fbb0aclightpink | #ffffffwhite |
| Border | #ecedeewhitesmoke | #1d1f20black |
| Input | #ecedeewhitesmoke | #1d1f20black |
| Ring | #142c38darkslategray | #142c38darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.36:1 | AAA |
| Text on card | 20.36:1 | AAA |
| Primary button | 8.20:1 | AAA |
| Secondary button | 8.37:1 | AAA |
| Muted text | 4.85:1 | AA |
| Accent | 7.58:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 19.68:1 | AAA |
| Text on card | 19.68:1 | AAA |
| Primary button | 8.20:1 | AAA |
| Secondary button | 8.37:1 | AAA |
| Muted text | 5.49:1 | AA |
| Accent | 7.58:1 | AAA |
| Destructive | 3.67:1 | AA Large |
Paste this into your globals.css to use Elderberry Black Dinosaur in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.117 0.016 221.004);
--muted: oklch(0.917 0.025 184.724);
--muted-foreground: oklch(0.494 0.002 185.318);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.117 0.016 221.004);
--card: oklch(1 0 180);
--card-foreground: oklch(0.117 0.016 221.004);
--border: oklch(0.947 0.002 228.772);
--input: oklch(0.947 0.002 228.772);
--primary: oklch(0.281 0.037 231.934);
--primary-foreground: oklch(0.815 0.051 229.771);
--secondary: oklch(0.313 0.043 180.868);
--secondary-foreground: oklch(0.855 0.063 183.383);
--accent: oklch(0.231 0.058 272.574);
--accent-foreground: oklch(0.752 0.073 275.72);
--destructive: oklch(0.349 0.134 29.489);
--destructive-foreground: oklch(0.828 0.088 22.516);
--ring: oklch(0.281 0.037 231.934);
--chart-1: oklch(0.281 0.037 231.934);
--chart-2: oklch(0.313 0.043 180.868);
--chart-3: oklch(0.231 0.058 272.574);
--chart-4: oklch(0.352 0.049 180.672);
--chart-5: oklch(0.282 0.039 232.234);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.148 0.017 226.923);
--foreground: oklch(1 0 180);
--muted: oklch(0.276 0.03 182.084);
--muted-foreground: oklch(0.701 0.002 185.364);
--popover: oklch(0.148 0.017 226.923);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.148 0.017 226.923);
--card-foreground: oklch(1 0 180);
--border: oklch(0.238 0.004 228.955);
--input: oklch(0.238 0.004 228.955);
--primary: oklch(0.281 0.037 231.934);
--primary-foreground: oklch(0.815 0.051 229.771);
--secondary: oklch(0.313 0.043 180.868);
--secondary-foreground: oklch(0.855 0.063 183.383);
--accent: oklch(0.231 0.058 272.574);
--accent-foreground: oklch(0.752 0.073 275.72);
--destructive: oklch(0.644 0.218 28.092);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.281 0.037 231.934);
--chart-1: oklch(0.281 0.037 231.934);
--chart-2: oklch(0.313 0.043 180.868);
--chart-3: oklch(0.231 0.058 272.574);
--chart-4: oklch(0.352 0.049 180.672);
--chart-5: oklch(0.282 0.039 232.234);
}