Repentant is a shadcn/ui theme built around a light teal primary color (#eefbf7) with light cyan accents (#eef9fb). The light mode uses a neutral background (#fbfefd). Dark mode keeps the light teal primary (#eefbf7) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #000000black |
| Foreground | #031610black | #fcfdfdwhite |
| Card | #fbfefdwhite | #000000black |
| Card foreground | #031610black | #fcfdfdwhite |
| Popover | #fbfefdwhite | #000000black |
| Popover foreground | #031610black | #fcfdfdwhite |
| Primary | #eefbf7honeydew | #eefbf7honeydew |
| Primary foreground | #104231darkslategray | #104231darkslategray |
| Secondary | #eefbf1honeydew | #eefbf1honeydew |
| Secondary foreground | #104218darkgreen | #104218darkgreen |
| Muted | #e0ebe2gainsboro | #141f16black |
| Muted foreground | #454545darkslategray | #bababasilver |
| Accent | #eef9fbaliceblue | #eef9fbaliceblue |
| Accent foreground | #103a42darkslategray | #103a42darkslategray |
| Destructive | #d31b03firebrick | #fb2e13orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eefbf7honeydew | #eefbf7honeydew |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.35:1 | AAA |
| Text on card | 18.35:1 | AAA |
| Primary button | 10.73:1 | AAA |
| Secondary button | 10.87:1 | AAA |
| Muted text | 7.83:1 | AAA |
| Accent | 11.48:1 | AAA |
| Destructive | 5.34:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 10.73:1 | AAA |
| Secondary button | 10.87:1 | AAA |
| Muted text | 8.73:1 | AAA |
| Accent | 11.48:1 | AAA |
| Destructive | 3.80:1 | AA Large |
Paste this into your globals.css to use Repentant in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 174.499);
--foreground: oklch(0.182 0.03 169.809);
--muted: oklch(0.929 0.017 150.565);
--muted-foreground: oklch(0.39 0 165.964);
--popover: oklch(0.994 0.003 174.499);
--popover-foreground: oklch(0.182 0.03 169.809);
--card: oklch(0.994 0.003 174.499);
--card-foreground: oklch(0.182 0.03 169.809);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.978 0.014 174.153);
--primary-foreground: oklch(0.341 0.061 166.656);
--secondary: oklch(0.976 0.019 150.549);
--secondary-foreground: oklch(0.335 0.088 146.053);
--accent: oklch(0.975 0.012 211.038);
--accent-foreground: oklch(0.322 0.048 213.545);
--destructive: oklch(0.553 0.215 30.711);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.978 0.014 174.153);
--chart-1: oklch(0.978 0.014 174.153);
--chart-2: oklch(0.976 0.019 150.549);
--chart-3: oklch(0.975 0.012 211.038);
--chart-4: oklch(0.994 0.005 150.755);
--chart-5: oklch(0.978 0.015 174.132);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.002 174.54);
--muted: oklch(0.226 0.024 149.239);
--muted-foreground: oklch(0.789 0 171.254);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.002 174.54);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.002 174.54);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.978 0.014 174.153);
--primary-foreground: oklch(0.341 0.061 166.656);
--secondary: oklch(0.976 0.019 150.549);
--secondary-foreground: oklch(0.335 0.088 146.053);
--accent: oklch(0.975 0.012 211.038);
--accent-foreground: oklch(0.322 0.048 213.545);
--destructive: oklch(0.637 0.24 30.916);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.978 0.014 174.153);
--chart-1: oklch(0.978 0.014 174.153);
--chart-2: oklch(0.976 0.019 150.549);
--chart-3: oklch(0.975 0.012 211.038);
--chart-4: oklch(0.994 0.005 150.755);
--chart-5: oklch(0.978 0.015 174.132);
}