Remorseful is a shadcn/ui theme built around a red primary color (#d9817d) with orange accents (#d9af7d). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#d9817d) on a red-tinted background (#0e0706).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e0706black |
| Foreground | #040101black | #fdfcfcsnow |
| Card | #ffffffwhite | #0e0706black |
| Card foreground | #040101black | #fdfcfcsnow |
| Popover | #ffffffwhite | #0e0706black |
| Popover foreground | #040101black | #fdfcfcsnow |
| Primary | #d9817dlightcoral | #d9817dlightcoral |
| Primary foreground | #1c0908black | #1c0908black |
| Secondary | #d97da6palevioletred | #d97da6palevioletred |
| Secondary foreground | #1c0811black | #1c0811black |
| Muted | #e5d1dagainsboro | #2e1a23black |
| Muted foreground | #4e3b44darkslategray | #c4b1b9silver |
| Accent | #d9af7dburlywood | #d9af7dburlywood |
| Accent foreground | #1c1308black | #1c1308black |
| Destructive | #a3290afirebrick | #e63a0forangered |
| Destructive foreground | #fde8e2mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d9817dlightcoral | #d9817dlightcoral |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.79:1 | AAA |
| Text on card | 20.79:1 | AAA |
| Primary button | 6.77:1 | AA |
| Secondary button | 6.79:1 | AA |
| Muted text | 7.13:1 | AAA |
| Accent | 9.09:1 | AAA |
| Destructive | 6.19:1 | AA |
| Text on background | 19.51:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 6.77:1 | AA |
| Secondary button | 6.79:1 | AA |
| Muted text | 8.05:1 | AAA |
| Accent | 9.09:1 | AAA |
| Destructive | 4.22:1 | AA Large |
Paste this into your globals.css to use Remorseful in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.084 0.012 24.674);
--muted: oklch(0.881 0.025 348.579);
--muted-foreground: oklch(0.377 0.03 349.898);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.084 0.012 24.674);
--card: oklch(1 0 180);
--card-foreground: oklch(0.084 0.012 24.674);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.697 0.11 23.481);
--primary-foreground: oklch(0.17 0.033 24.612);
--secondary: oklch(0.701 0.124 352.353);
--secondary-foreground: oklch(0.171 0.037 353.288);
--accent: oklch(0.781 0.083 71.743);
--accent-foreground: oklch(0.194 0.025 71.439);
--destructive: oklch(0.473 0.163 33.966);
--destructive-foreground: oklch(0.946 0.025 34.299);
--ring: oklch(0.697 0.11 23.481);
--chart-1: oklch(0.697 0.11 23.481);
--chart-2: oklch(0.701 0.124 352.353);
--chart-3: oklch(0.781 0.083 71.743);
--chart-4: oklch(0.727 0.112 351.762);
--chart-5: oklch(0.696 0.116 23.669);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.014 23.205);
--foreground: oklch(0.992 0.001 20.899);
--muted: oklch(0.247 0.035 351.439);
--muted-foreground: oklch(0.778 0.025 348.674);
--popover: oklch(0.138 0.014 23.205);
--popover-foreground: oklch(0.992 0.001 20.899);
--card: oklch(0.138 0.014 23.205);
--card-foreground: oklch(0.992 0.001 20.899);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.697 0.11 23.481);
--primary-foreground: oklch(0.17 0.033 24.612);
--secondary: oklch(0.701 0.124 352.353);
--secondary-foreground: oklch(0.171 0.037 353.288);
--accent: oklch(0.781 0.083 71.743);
--accent-foreground: oklch(0.194 0.025 71.439);
--destructive: oklch(0.608 0.214 33.663);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.697 0.11 23.481);
--chart-1: oklch(0.697 0.11 23.481);
--chart-2: oklch(0.701 0.124 352.353);
--chart-3: oklch(0.781 0.083 71.743);
--chart-4: oklch(0.727 0.112 351.762);
--chart-5: oklch(0.696 0.116 23.669);
}