Doubt is a shadcn/ui theme built around a red primary color (#d98c8c) with orange accents (#d9b38c). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#d98c8c) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #080202black | #fdfcfcsnow |
| Card | #ffffffwhite | #000000black |
| Card foreground | #080202black | #fdfcfcsnow |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #080202black | #fdfcfcsnow |
| Primary | #d98c8cdarksalmon | #d98c8cdarksalmon |
| Primary foreground | #260d0dblack | #260d0dblack |
| Secondary | #d98cb3palevioletred | #d98cb3palevioletred |
| Secondary foreground | #260d1ablack | #260d1ablack |
| Muted | #f0e0e8mistyrose | #1f0f17black |
| Muted foreground | #604854dimgray | #b79fabdarkgray |
| Accent | #d9b38ctan | #d9b38ctan |
| Accent foreground | #261a0dblack | #261a0dblack |
| Destructive | #7b1404maroon | #f73e22orangered |
| Destructive foreground | #fcbfb5lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d98c8cdarksalmon | #d98c8cdarksalmon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.59:1 | AAA |
| Text on card | 20.59:1 | AAA |
| Primary button | 7.05:1 | AAA |
| Secondary button | 7.23:1 | AAA |
| Muted text | 6.47:1 | AA |
| Accent | 8.68:1 | AAA |
| Destructive | 6.81:1 | AA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.50:1 | AAA |
| Primary button | 7.05:1 | AAA |
| Secondary button | 7.23:1 | AAA |
| Muted text | 7.51:1 | AAA |
| Accent | 8.68:1 | AAA |
| Destructive | 3.70:1 | AA Large |
Paste this into your globals.css to use Doubt in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.105 0.016 20.215);
--muted: oklch(0.922 0.02 345.714);
--muted-foreground: oklch(0.432 0.037 347.238);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.105 0.016 20.215);
--card: oklch(1 0 180);
--card-foreground: oklch(0.105 0.016 20.215);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.719 0.094 19.62);
--primary-foreground: oklch(0.199 0.043 21.756);
--secondary: oklch(0.73 0.104 348.614);
--secondary-foreground: oklch(0.204 0.047 350.82);
--accent: oklch(0.79 0.068 66.577);
--accent-foreground: oklch(0.228 0.03 65.329);
--destructive: oklch(0.378 0.139 31.694);
--destructive-foreground: oklch(0.857 0.073 28.606);
--ring: oklch(0.719 0.094 19.62);
--chart-1: oklch(0.719 0.094 19.62);
--chart-2: oklch(0.73 0.104 348.614);
--chart-3: oklch(0.79 0.068 66.577);
--chart-4: oklch(0.756 0.093 348.146);
--chart-5: oklch(0.717 0.1 19.807);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 17.175);
--muted: oklch(0.195 0.03 348.94);
--muted-foreground: oklch(0.727 0.032 346.256);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.001 17.175);
--card: oklch(0 0 0);
--card-foreground: oklch(0.992 0.001 17.175);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.719 0.094 19.62);
--primary-foreground: oklch(0.199 0.043 21.756);
--secondary: oklch(0.73 0.104 348.614);
--secondary-foreground: oklch(0.204 0.047 350.82);
--accent: oklch(0.79 0.068 66.577);
--accent-foreground: oklch(0.228 0.03 65.329);
--destructive: oklch(0.642 0.224 31.64);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.719 0.094 19.62);
--chart-1: oklch(0.719 0.094 19.62);
--chart-2: oklch(0.73 0.104 348.614);
--chart-3: oklch(0.79 0.068 66.577);
--chart-4: oklch(0.756 0.093 348.146);
--chart-5: oklch(0.717 0.1 19.807);
}