Sleuth is a shadcn/ui theme built around a light orange primary color (#f0eae0) with light violet accents (#eae0f0). The light mode uses a neutral background (#fdfbf7). Dark mode keeps the light orange primary (#f0eae0) on an orange-tinted background (#0f0c05).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbf7snow | #0f0c05black |
| Foreground | #050301black | #fdfdfcwhite |
| Card | #fcf8f3floralwhite | #130e07black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcf8f3floralwhite | #130e07black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #f0eae0beige | #f0eae0beige |
| Primary foreground | #261f12black | #261f12black |
| Secondary | #e0f0ealavender | #e0f0ealavender |
| Secondary foreground | #12261fblack | #12261fblack |
| Muted | #eef1f0whitesmoke | #0e1110black |
| Muted foreground | #485b54darkslategray | #a4b7b0darkgray |
| Accent | #eae0f0lavender | #eae0f0lavender |
| Accent foreground | #57336cdarkslateblue | #57336cdarkslateblue |
| Destructive | #6f150bmaroon | #e82c17orangered |
| Destructive foreground | #f8bbb5lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f0eae0beige | #f0eae0beige |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.87:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 13.66:1 | AAA |
| Secondary button | 13.49:1 | AAA |
| Muted text | 6.38:1 | AA |
| Accent | 7.83:1 | AAA |
| Destructive | 7.11:1 | AAA |
| Text on background | 19.22:1 | AAA |
| Text on card | 19.16:1 | AAA |
| Primary button | 13.66:1 | AAA |
| Secondary button | 13.49:1 | AAA |
| Muted text | 9.02:1 | AAA |
| Accent | 7.83:1 | AAA |
| Destructive | 4.37:1 | AA Large |
Paste this into your globals.css to use Sleuth in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.005 81.513);
--foreground: oklch(0.099 0.016 90.42);
--muted: oklch(0.956 0.004 172.456);
--muted-foreground: oklch(0.454 0.027 170.745);
--popover: oklch(0.982 0.008 81.511);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.982 0.008 81.511);
--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.94 0.015 81.502);
--primary-foreground: oklch(0.243 0.025 80.752);
--secondary: oklch(0.942 0.019 171.972);
--secondary-foreground: oklch(0.249 0.03 168.316);
--accent: oklch(0.919 0.025 313.44);
--accent-foreground: oklch(0.39 0.101 311.807);
--destructive: oklch(0.356 0.126 30.432);
--destructive-foreground: oklch(0.846 0.071 25.889);
--ring: oklch(0.94 0.015 81.502);
--chart-1: oklch(0.94 0.015 81.502);
--chart-2: oklch(0.942 0.019 171.972);
--chart-3: oklch(0.919 0.025 313.44);
--chart-4: oklch(0.961 0.013 172.185);
--chart-5: oklch(0.94 0.017 81.5);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.016 83.928);
--foreground: oklch(0.993 0.002 81.514);
--muted: oklch(0.173 0.006 171.547);
--muted-foreground: oklch(0.763 0.024 171.638);
--popover: oklch(0.169 0.018 82.006);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.169 0.018 82.006);
--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.94 0.015 81.502);
--primary-foreground: oklch(0.243 0.025 80.752);
--secondary: oklch(0.942 0.019 171.972);
--secondary-foreground: oklch(0.249 0.03 168.316);
--accent: oklch(0.919 0.025 313.44);
--accent-foreground: oklch(0.39 0.101 311.807);
--destructive: oklch(0.602 0.224 30.52);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.94 0.015 81.502);
--chart-1: oklch(0.94 0.015 81.502);
--chart-2: oklch(0.942 0.019 171.972);
--chart-3: oklch(0.919 0.025 313.44);
--chart-4: oklch(0.961 0.013 172.185);
--chart-5: oklch(0.94 0.017 81.5);
}