Daring is a shadcn/ui theme built around a light red primary color (#eccbcd) with light teal accents (#cbece9). The light mode uses a neutral background (#fdfbfc). Dark mode keeps the light red primary (#eccbcd) on a neutral background (#030202).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfcsnow | #030202black |
| Foreground | #080202black | #f8f7f7whitesmoke |
| Card | #fdfbfcsnow | #030202black |
| Card foreground | #080202black | #f8f7f7whitesmoke |
| Popover | #fdfbfcsnow | #030202black |
| Popover foreground | #080202black | #f8f7f7whitesmoke |
| Primary | #eccbcdpink | #eccbcdpink |
| Primary foreground | #612328saddlebrown | #612328saddlebrown |
| Secondary | #cbece9gainsboro | #cbece9gainsboro |
| Secondary foreground | #081615black | #081615black |
| Muted | #cee9e6gainsboro | #16312fdarkslategray |
| Muted foreground | #595f5edimgray | #a0a6a5darkgray |
| Accent | #cbece9gainsboro | #cbece9gainsboro |
| Accent foreground | #081615black | #081615black |
| Destructive | #7a2a06saddlebrown | #e5500borangered |
| Destructive foreground | #fcccb6peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eccbcdpink | #eccbcdpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.05:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 14.71:1 | AAA |
| Muted text | 5.07:1 | AA |
| Accent | 14.71:1 | AAA |
| Destructive | 6.67:1 | AA |
| Text on background | 19.39:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 14.71:1 | AAA |
| Muted text | 5.61:1 | AA |
| Accent | 14.71:1 | AAA |
| Destructive | 3.83:1 | AA Large |
Paste this into your globals.css to use Daring in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 11.297);
--foreground: oklch(0.102 0.022 13.483);
--muted: oklch(0.913 0.028 190.575);
--muted-foreground: oklch(0.479 0.007 190.931);
--popover: oklch(0.991 0.002 11.297);
--popover-foreground: oklch(0.102 0.022 13.483);
--card: oklch(0.991 0.002 11.297);
--card-foreground: oklch(0.102 0.022 13.483);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.87 0.038 12.21);
--primary-foreground: oklch(0.351 0.091 18.077);
--secondary: oklch(0.918 0.035 190.403);
--secondary-foreground: oklch(0.189 0.02 188.741);
--accent: oklch(0.918 0.035 190.403);
--accent-foreground: oklch(0.189 0.02 188.741);
--destructive: oklch(0.4 0.119 40.721);
--destructive-foreground: oklch(0.881 0.062 46.188);
--ring: oklch(0.87 0.038 12.21);
--chart-1: oklch(0.87 0.038 12.21);
--chart-2: oklch(0.918 0.035 190.403);
--chart-3: oklch(0.918 0.035 190.403);
--chart-4: oklch(0.936 0.028 190.596);
--chart-5: oklch(0.868 0.041 12.276);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.009 12.194);
--foreground: oklch(0.976 0.002 11.287);
--muted: oklch(0.291 0.033 188.533);
--muted-foreground: oklch(0.72 0.006 191.058);
--popover: oklch(0.086 0.009 12.194);
--popover-foreground: oklch(0.976 0.002 11.287);
--card: oklch(0.086 0.009 12.194);
--card-foreground: oklch(0.976 0.002 11.287);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.87 0.038 12.21);
--primary-foreground: oklch(0.351 0.091 18.077);
--secondary: oklch(0.918 0.035 190.403);
--secondary-foreground: oklch(0.189 0.02 188.741);
--accent: oklch(0.918 0.035 190.403);
--accent-foreground: oklch(0.189 0.02 188.741);
--destructive: oklch(0.628 0.196 39.316);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.87 0.038 12.21);
--chart-1: oklch(0.87 0.038 12.21);
--chart-2: oklch(0.918 0.035 190.403);
--chart-3: oklch(0.918 0.035 190.403);
--chart-4: oklch(0.936 0.028 190.596);
--chart-5: oklch(0.868 0.041 12.276);
}