Stot is a shadcn/ui theme built around a near-black primary color (#040605) with near-black accents (#060504). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the near-black primary (#040605) on a neutral background (#020302).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #020302black |
| Foreground | #030d05black | #ffffffwhite |
| Card | #fcfdfcwhite | #020302black |
| Card foreground | #030d05black | #ffffffwhite |
| Popover | #fcfdfcwhite | #020302black |
| Popover foreground | #030d05black | #ffffffwhite |
| Primary | #040605black | #040605black |
| Primary foreground | #8eaf96darkseagreen | #8eaf96darkseagreen |
| Secondary | #050406black | #050406black |
| Secondary foreground | #968eafdarkgray | #968eafdarkgray |
| Muted | #e8e5f0lavender | #120f1ablack |
| Muted foreground | #454446darkslategray | #bab9bbsilver |
| Accent | #060504black | #060504black |
| Accent foreground | #af968erosybrown | #af968erosybrown |
| Destructive | #cb5515chocolate | #e96d2bchocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #040605black | #040605black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.38:1 | AAA |
| Text on card | 19.38:1 | AAA |
| Primary button | 8.44:1 | AAA |
| Secondary button | 6.60:1 | AA |
| Muted text | 7.79:1 | AAA |
| Accent | 7.35:1 | AAA |
| Destructive | 4.32:1 | AA Large |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 8.44:1 | AAA |
| Secondary button | 6.60:1 | AA |
| Muted text | 9.70:1 | AAA |
| Accent | 7.35:1 | AAA |
| Destructive | 6.68:1 | AA |
Paste this into your globals.css to use Stot in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 153.838);
--foreground: oklch(0.142 0.026 152.919);
--muted: oklch(0.928 0.015 297.537);
--muted-foreground: oklch(0.388 0.002 297.718);
--popover: oklch(0.993 0.002 153.838);
--popover-foreground: oklch(0.142 0.026 152.919);
--card: oklch(0.993 0.002 153.838);
--card-foreground: oklch(0.142 0.026 152.919);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.118 0.006 153.671);
--primary-foreground: oklch(0.721 0.051 152.616);
--secondary: oklch(0.111 0.006 297.744);
--secondary-foreground: oklch(0.664 0.049 296.495);
--accent: oklch(0.115 0.004 41.391);
--accent-foreground: oklch(0.692 0.032 39.295);
--destructive: oklch(0.594 0.165 43.495);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.118 0.006 153.671);
--chart-1: oklch(0.118 0.006 153.671);
--chart-2: oklch(0.111 0.006 297.744);
--chart-3: oklch(0.115 0.004 41.391);
--chart-4: oklch(0.151 0.009 296.716);
--chart-5: oklch(0.118 0.007 153.635);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.009 153.516);
--foreground: oklch(1 0 180);
--muted: oklch(0.177 0.023 295.459);
--muted-foreground: oklch(0.788 0.002 297.781);
--popover: oklch(0.095 0.009 153.516);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.095 0.009 153.516);
--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.118 0.006 153.671);
--primary-foreground: oklch(0.721 0.051 152.616);
--secondary: oklch(0.111 0.006 297.744);
--secondary-foreground: oklch(0.664 0.049 296.495);
--accent: oklch(0.115 0.004 41.391);
--accent-foreground: oklch(0.692 0.032 39.295);
--destructive: oklch(0.674 0.171 45.211);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.118 0.006 153.671);
--chart-1: oklch(0.118 0.006 153.671);
--chart-2: oklch(0.111 0.006 297.744);
--chart-3: oklch(0.115 0.004 41.391);
--chart-4: oklch(0.151 0.009 296.716);
--chart-5: oklch(0.118 0.007 153.635);
}