Guilty is a shadcn/ui theme built around a vivid deep orange primary color (#2f1204) with vivid deep violet accents (#12042f). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep orange primary (#2f1204) on an orange-tinted background (#0c0604).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0c0604black |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #0c0604black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #0c0604black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #2f1204black | #2f1204black |
| Primary foreground | #f49d71lightsalmon | #f49d71lightsalmon |
| Secondary | #042f12black | #042f12black |
| Secondary foreground | #12ed5bspringgreen | #12ed5bspringgreen |
| Muted | #d1e1d6gainsboro | #1e2e24darkslategray |
| Muted foreground | #56715fdimgray | #8ea997darkseagreen |
| Accent | #12042fblack | #12042fblack |
| Accent foreground | #ded0fblavender | #ded0fblavender |
| Destructive | #d2560fchocolate | #ef6b1fchocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2f1204black | #2f1204black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 8.17:1 | AAA |
| Secondary button | 9.31:1 | AAA |
| Muted text | 3.93:1 | AA Large |
| Accent | 13.40:1 | AAA |
| Destructive | 4.13:1 | AA Large |
| Text on background | 20.11:1 | AAA |
| Text on card | 20.11:1 | AAA |
| Primary button | 8.17:1 | AAA |
| Secondary button | 9.31:1 | AAA |
| Muted text | 5.60:1 | AA |
| Accent | 13.40:1 | AAA |
| Destructive | 6.82:1 | AA |
Paste this into your globals.css to use Guilty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.894 0.022 156.745);
--muted-foreground: oklch(0.522 0.044 155.425);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.225 0.054 46.759);
--primary-foreground: oklch(0.774 0.12 46.984);
--secondary: oklch(0.27 0.07 149.804);
--secondary-foreground: oklch(0.826 0.242 147.02);
--accent: oklch(0.171 0.082 291.437);
--accent-foreground: oklch(0.882 0.062 300.363);
--destructive: oklch(0.606 0.172 43.689);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.225 0.054 46.759);
--chart-1: oklch(0.225 0.054 46.759);
--chart-2: oklch(0.27 0.07 149.804);
--chart-3: oklch(0.171 0.082 291.437);
--chart-4: oklch(0.318 0.086 148.984);
--chart-5: oklch(0.226 0.056 46.915);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.131 0.014 56.239);
--foreground: oklch(1 0 180);
--muted: oklch(0.284 0.029 154.96);
--muted-foreground: oklch(0.71 0.041 156.035);
--popover: oklch(0.131 0.014 56.239);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.131 0.014 56.239);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.225 0.054 46.759);
--primary-foreground: oklch(0.774 0.12 46.984);
--secondary: oklch(0.27 0.07 149.804);
--secondary-foreground: oklch(0.826 0.242 147.02);
--accent: oklch(0.171 0.082 291.437);
--accent-foreground: oklch(0.882 0.062 300.363);
--destructive: oklch(0.68 0.182 45.246);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.225 0.054 46.759);
--chart-1: oklch(0.225 0.054 46.759);
--chart-2: oklch(0.27 0.07 149.804);
--chart-3: oklch(0.171 0.082 291.437);
--chart-4: oklch(0.318 0.086 148.984);
--chart-5: oklch(0.226 0.056 46.915);
}