Debtor is a shadcn/ui theme built around a vivid deep pink primary color (#5b0637) with vivid deep blue accents (#06375b). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the vivid deep pink primary (#5b0637) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fasnow | #000000black |
| Foreground | #040103black | #f9f5f8whitesmoke |
| Card | #fcf8fasnow | #000000black |
| Card foreground | #040103black | #f9f5f8whitesmoke |
| Popover | #fcf8fasnow | #000000black |
| Popover foreground | #040103black | #f9f5f8whitesmoke |
| Primary | #5b0637maroon | #5b0637maroon |
| Primary foreground | #f89bd1plum | #f89bd1plum |
| Secondary | #375b06darkolivegreen | #375b06darkolivegreen |
| Secondary foreground | #d1f89bpalegoldenrod | #d1f89bpalegoldenrod |
| Muted | #dadfd3gainsboro | #272c20darkslategray |
| Muted foreground | #4d4e4bdarkslategray | #b3b4b1darkgray |
| Accent | #06375bmidnightblue | #06375bmidnightblue |
| Accent foreground | #9bd1f8lightskyblue | #9bd1f8lightskyblue |
| Destructive | #be4504firebrick | #fa5b05orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5b0637maroon | #5b0637maroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.74:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 6.95:1 | AA |
| Secondary button | 6.64:1 | AA |
| Muted text | 6.16:1 | AA |
| Accent | 7.51:1 | AAA |
| Destructive | 5.19:1 | AA |
| Text on background | 19.44:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 6.95:1 | AA |
| Secondary button | 6.64:1 | AA |
| Muted text | 6.83:1 | AA |
| Accent | 7.51:1 | AAA |
| Destructive | 6.55:1 | AA |
Paste this into your globals.css to use Debtor in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 341.117);
--foreground: oklch(0.085 0.016 341.094);
--muted: oklch(0.896 0.017 125.314);
--muted-foreground: oklch(0.422 0.005 125.218);
--popover: oklch(0.983 0.004 341.117);
--popover-foreground: oklch(0.085 0.016 341.094);
--card: oklch(0.983 0.004 341.117);
--card-foreground: oklch(0.085 0.016 341.094);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.313 0.122 352.002);
--primary-foreground: oklch(0.799 0.129 344.502);
--secondary: oklch(0.427 0.113 131.233);
--secondary-foreground: oklch(0.93 0.126 127.105);
--accent: oklch(0.328 0.079 246.086);
--accent-foreground: oklch(0.837 0.078 239.947);
--destructive: oklch(0.551 0.167 41.159);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.313 0.122 352.002);
--chart-1: oklch(0.313 0.122 352.002);
--chart-2: oklch(0.427 0.113 131.233);
--chart-3: oklch(0.328 0.079 246.086);
--chart-4: oklch(0.472 0.126 131.444);
--chart-5: oklch(0.315 0.125 352.367);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.005 341.142);
--muted: oklch(0.285 0.023 126.192);
--muted-foreground: oklch(0.768 0.005 125.126);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.975 0.005 341.142);
--card: oklch(0 0 0);
--card-foreground: oklch(0.975 0.005 341.142);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.313 0.122 352.002);
--primary-foreground: oklch(0.799 0.129 344.502);
--secondary: oklch(0.427 0.113 131.233);
--secondary-foreground: oklch(0.93 0.126 127.105);
--accent: oklch(0.328 0.079 246.086);
--accent-foreground: oklch(0.837 0.078 239.947);
--destructive: oklch(0.674 0.208 40.529);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.313 0.122 352.002);
--chart-1: oklch(0.313 0.122 352.002);
--chart-2: oklch(0.427 0.113 131.233);
--chart-3: oklch(0.328 0.079 246.086);
--chart-4: oklch(0.472 0.126 131.444);
--chart-5: oklch(0.315 0.125 352.367);
}