Gifted is a shadcn/ui theme built around a muted red primary color (#a08d90) with muted orange accents (#a0948d). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted red primary (#a08d90) on a neutral background (#040102).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040102black |
| Foreground | #110305black | #fbf9f9snow |
| Card | #ffffffwhite | #040102black |
| Card foreground | #110305black | #fbf9f9snow |
| Popover | #ffffffwhite | #040102black |
| Popover foreground | #110305black | #fbf9f9snow |
| Primary | #a08d90rosybrown | #a08d90rosybrown |
| Primary foreground | #000000black | #000000black |
| Secondary | #a08d99rosybrown | #a08d99rosybrown |
| Secondary foreground | #000000black | #000000black |
| Muted | #f0e5eclinen | #1a0f16black |
| Muted foreground | #514d4fdarkslategray | #b2aeb0darkgray |
| Accent | #a0948drosybrown | #a0948drosybrown |
| Accent foreground | #000000black | #000000black |
| Destructive | #da380borangered | #f45225tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a08d90rosybrown | #a08d90rosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 6.70:1 | AA |
| Secondary button | 6.76:1 | AA |
| Muted text | 6.78:1 | AA |
| Accent | 7.10:1 | AAA |
| Destructive | 4.60:1 | AA |
| Text on background | 19.80:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 6.70:1 | AA |
| Secondary button | 6.76:1 | AA |
| Muted text | 8.52:1 | AAA |
| Accent | 7.10:1 | AAA |
| Destructive | 3.46:1 | AA Large |
Paste this into your globals.css to use Gifted in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.13 0.032 10.473);
--muted: oklch(0.933 0.015 339.063);
--muted-foreground: oklch(0.426 0.005 338.983);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.13 0.032 10.473);
--card: oklch(1 0 180);
--card-foreground: oklch(0.13 0.032 10.473);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.661 0.023 8.59);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.664 0.028 339.603);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.675 0.017 52.241);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.586 0.204 34.227);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.661 0.023 8.59);
--chart-1: oklch(0.661 0.023 8.59);
--chart-2: oklch(0.664 0.028 339.603);
--chart-3: oklch(0.675 0.017 52.241);
--chart-4: oklch(0.69 0.026 339.503);
--chart-5: oklch(0.657 0.031 8.885);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.014 8.674);
--foreground: oklch(0.984 0.001 7.782);
--muted: oklch(0.186 0.023 341.163);
--muted-foreground: oklch(0.755 0.005 338.849);
--popover: oklch(0.083 0.014 8.674);
--popover-foreground: oklch(0.984 0.001 7.782);
--card: oklch(0.083 0.014 8.674);
--card-foreground: oklch(0.984 0.001 7.782);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.661 0.023 8.59);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.664 0.028 339.603);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.675 0.017 52.241);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.655 0.206 35.518);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.661 0.023 8.59);
--chart-1: oklch(0.661 0.023 8.59);
--chart-2: oklch(0.664 0.028 339.603);
--chart-3: oklch(0.675 0.017 52.241);
--chart-4: oklch(0.69 0.026 339.503);
--chart-5: oklch(0.657 0.031 8.885);
}