Obsidian Shell Sloth is a shadcn/ui theme built around a deep violet primary color (#401264) with deep teal accents (#126440). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep violet primary (#401264) on a violet-tinted background (#08040b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #08040bblack |
| Foreground | #08020dblack | #faf8fcghostwhite |
| Card | #fcfcfcsnow | #0b060eblack |
| Card foreground | #060209black | #fdfbfdsnow |
| Popover | #fcfcfcsnow | #0b060eblack |
| Popover foreground | #060209black | #fdfbfdsnow |
| Primary | #401264indigo | #401264indigo |
| Primary foreground | #d8b5f2thistle | #d8b5f2thistle |
| Secondary | #644012saddlebrown | #644012saddlebrown |
| Secondary foreground | #f2d8b5wheat | #f2d8b5wheat |
| Muted | #ede7deantiquewhite | #211b12black |
| Muted foreground | #42403edarkslategray | #c1c0bdsilver |
| Accent | #126440darkslategray | #126440darkslategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #6f1b02maroon | #fb4d18orangered |
| Destructive foreground | #feb9a5lightpink | #ffffffwhite |
| Border | #f0edf2whitesmoke | #221c26black |
| Input | #f0edf2whitesmoke | #221c26black |
| Ring | #401264indigo | #401264indigo |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.49:1 | AAA |
| Text on card | 20.13:1 | AAA |
| Primary button | 7.95:1 | AAA |
| Secondary button | 6.68:1 | AA |
| Muted text | 8.37:1 | AAA |
| Accent | 7.21:1 | AAA |
| Destructive | 6.94:1 | AA |
| Text on background | 19.23:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 7.95:1 | AAA |
| Secondary button | 6.68:1 | AA |
| Muted text | 9.41:1 | AAA |
| Accent | 7.21:1 | AAA |
| Destructive | 3.38:1 | AA Large |
Paste this into your globals.css to use Obsidian Shell Sloth in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.114 0.033 312.889);
--muted: oklch(0.929 0.014 74.861);
--muted-foreground: oklch(0.372 0.004 74.882);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.099 0.029 313.428);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.099 0.029 313.428);
--border: oklch(0.951 0.007 311.023);
--input: oklch(0.951 0.007 311.023);
--primary: oklch(0.307 0.134 305.272);
--primary-foreground: oklch(0.824 0.091 310.121);
--secondary: oklch(0.404 0.077 68.867);
--secondary-foreground: oklch(0.894 0.054 74.418);
--accent: oklch(0.446 0.096 158.907);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.36 0.121 35.944);
--destructive-foreground: oklch(0.845 0.085 37.617);
--ring: oklch(0.307 0.134 305.272);
--chart-1: oklch(0.307 0.134 305.272);
--chart-2: oklch(0.404 0.077 68.867);
--chart-3: oklch(0.446 0.096 158.907);
--chart-4: oklch(0.44 0.085 68.594);
--chart-5: oklch(0.307 0.138 304.888);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.019 312.298);
--foreground: oklch(0.982 0.006 311.033);
--muted: oklch(0.225 0.019 74.044);
--muted-foreground: oklch(0.807 0.004 74.927);
--popover: oklch(0.134 0.022 310.974);
--popover-foreground: oklch(0.991 0.003 311.059);
--card: oklch(0.134 0.022 310.974);
--card-foreground: oklch(0.991 0.003 311.059);
--border: oklch(0.238 0.02 310.341);
--input: oklch(0.238 0.02 310.341);
--primary: oklch(0.307 0.134 305.272);
--primary-foreground: oklch(0.824 0.091 310.121);
--secondary: oklch(0.404 0.077 68.867);
--secondary-foreground: oklch(0.894 0.054 74.418);
--accent: oklch(0.446 0.096 158.907);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.663 0.219 35.602);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.307 0.134 305.272);
--chart-1: oklch(0.307 0.134 305.272);
--chart-2: oklch(0.404 0.077 68.867);
--chart-3: oklch(0.446 0.096 158.907);
--chart-4: oklch(0.44 0.085 68.594);
--chart-5: oklch(0.307 0.138 304.888);
}