Calcification is a shadcn/ui theme built around a red primary color (#d65165) with orange accents (#d68051). The light mode uses a neutral background (#fefbfb). Dark mode keeps the red primary (#d65165) on a neutral background (#040101).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #040101black |
| Foreground | #0e0204black | #fcf8f9snow |
| Card | #fefbfbsnow | #040101black |
| Card foreground | #0e0204black | #fcf8f9snow |
| Popover | #fefbfbsnow | #040101black |
| Popover foreground | #0e0204black | #fcf8f9snow |
| Primary | #d65165indianred | #d65165indianred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d651a8palevioletred | #d651a8palevioletred |
| Secondary foreground | #000000black | #000000black |
| Muted | #f4ecf1whitesmoke | #130b11black |
| Muted foreground | #544f52darkslategray | #b0abaedarkgray |
| Accent | #d68051peru | #d68051peru |
| Accent foreground | #000000black | #000000black |
| Destructive | #ae140ffirebrick | #eb2019crimson |
| Destructive foreground | #fef1f1lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d65165indianred | #d65165indianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.80:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 4.00:1 | AA Large |
| Secondary button | 5.62:1 | AA |
| Muted text | 6.89:1 | AA |
| Accent | 7.07:1 | AAA |
| Destructive | 6.57:1 | AA |
| Text on background | 19.72:1 | AAA |
| Text on card | 19.72:1 | AAA |
| Primary button | 4.00:1 | AA Large |
| Secondary button | 5.62:1 | AA |
| Muted text | 8.55:1 | AAA |
| Accent | 7.07:1 | AAA |
| Destructive | 4.41:1 | AA Large |
Paste this into your globals.css to use Calcification in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 6.692);
--foreground: oklch(0.115 0.031 8.271);
--muted: oklch(0.95 0.011 338.232);
--muted-foreground: oklch(0.434 0.008 338.373);
--popover: oklch(0.99 0.004 6.692);
--popover-foreground: oklch(0.115 0.031 8.271);
--card: oklch(0.99 0.004 6.692);
--card-foreground: oklch(0.115 0.031 8.271);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.618 0.167 14.474);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.639 0.19 343.935);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.683 0.124 48.077);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.479 0.185 28.929);
--destructive-foreground: oklch(0.969 0.013 19.802);
--ring: oklch(0.618 0.167 14.474);
--chart-1: oklch(0.618 0.167 14.474);
--chart-2: oklch(0.639 0.19 343.935);
--chart-3: oklch(0.683 0.124 48.077);
--chart-4: oklch(0.66 0.178 343.283);
--chart-5: oklch(0.618 0.174 14.957);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.082 0.015 7.422);
--foreground: oklch(0.982 0.004 6.694);
--muted: oklch(0.164 0.018 340.094);
--muted-foreground: oklch(0.746 0.007 338.183);
--popover: oklch(0.082 0.015 7.422);
--popover-foreground: oklch(0.982 0.004 6.694);
--card: oklch(0.082 0.015 7.422);
--card-foreground: oklch(0.982 0.004 6.694);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.618 0.167 14.474);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.639 0.19 343.935);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.683 0.124 48.077);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.6 0.232 28.913);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.618 0.167 14.474);
--chart-1: oklch(0.618 0.167 14.474);
--chart-2: oklch(0.639 0.19 343.935);
--chart-3: oklch(0.683 0.124 48.077);
--chart-4: oklch(0.66 0.178 343.283);
--chart-5: oklch(0.618 0.174 14.957);
}