Native Hue of Resolution Coral is a shadcn/ui theme built around a vivid orange primary color (#cf3902) with vivid cyan accents (#0298cf). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the vivid orange primary (#cf3902) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #000000black |
| Foreground | #140905black | #ffffffwhite |
| Card | #fdfcfcsnow | #000000black |
| Card foreground | #140905black | #ffffffwhite |
| Popover | #fdfcfcsnow | #000000black |
| Popover foreground | #140905black | #ffffffwhite |
| Primary | #cf3902firebrick | #cf3902firebrick |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #0298cfdarkturquoise | #0298cfdarkturquoise |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ebeeefwhitesmoke | #101314black |
| Muted foreground | #46575ddarkslategray | #a2b3b9darkgray |
| Accent | #0298cfdarkturquoise | #0298cfdarkturquoise |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #df1701red | #e41801red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e4e2e2gainsboro | #282524darkslategray |
| Input | #e4e2e2gainsboro | #282524darkslategray |
| Ring | #cf3902firebrick | #cf3902firebrick |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.15:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 4.95:1 | AA |
| Secondary button | 3.27:1 | AA Large |
| Muted text | 6.48:1 | AA |
| Accent | 3.27:1 | AA Large |
| Destructive | 4.91:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 4.95:1 | AA |
| Secondary button | 3.27:1 | AA Large |
| Muted text | 8.61:1 | AAA |
| Accent | 3.27:1 | AA Large |
| Destructive | 4.72:1 | AA |
Paste this into your globals.css to use Native Hue of Resolution Coral in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.001 41.293);
--foreground: oklch(0.156 0.023 44.793);
--muted: oklch(0.947 0.004 221.338);
--muted-foreground: oklch(0.445 0.023 221.926);
--popover: oklch(0.992 0.001 41.293);
--popover-foreground: oklch(0.156 0.023 44.793);
--card: oklch(0.992 0.001 41.293);
--card-foreground: oklch(0.156 0.023 44.793);
--border: oklch(0.915 0.002 41.283);
--input: oklch(0.915 0.002 41.283);
--primary: oklch(0.567 0.194 35.808);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.641 0.132 233.065);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.641 0.132 233.065);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.574 0.227 30.344);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.567 0.194 35.808);
--chart-1: oklch(0.567 0.194 35.808);
--chart-2: oklch(0.641 0.132 233.065);
--chart-3: oklch(0.641 0.132 233.065);
--chart-4: oklch(0.675 0.139 233.213);
--chart-5: oklch(0.571 0.198 35.516);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.183 0.005 221.612);
--muted-foreground: oklch(0.755 0.021 221.579);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--card-foreground: oklch(1 0 180);
--border: oklch(0.269 0.005 41.179);
--input: oklch(0.269 0.005 41.179);
--primary: oklch(0.567 0.194 35.808);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.641 0.132 233.065);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.641 0.132 233.065);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.584 0.231 30.326);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.567 0.194 35.808);
--chart-1: oklch(0.567 0.194 35.808);
--chart-2: oklch(0.641 0.132 233.065);
--chart-3: oklch(0.641 0.132 233.065);
--chart-4: oklch(0.675 0.139 233.213);
--chart-5: oklch(0.571 0.198 35.516);
}