Prisoner is a shadcn/ui theme built around a teal primary color (#389995) with blue accents (#386c99). The light mode uses a neutral background (#fbfefe). Dark mode keeps the teal primary (#389995) on a neutral background (#010404).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #010404black |
| Foreground | #010504black | #ffffffwhite |
| Card | #fbfefewhite | #010404black |
| Card foreground | #010504black | #ffffffwhite |
| Popover | #fbfefewhite | #010404black |
| Popover foreground | #010504black | #ffffffwhite |
| Primary | #389995lightseagreen | #389995lightseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #389965seagreen | #389965seagreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d9ede2gainsboro | #12261bblack |
| Muted foreground | #515854darkslategray | #a7aeabdarkgray |
| Accent | #386c99steelblue | #386c99steelblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #682003maroon | #df4407orangered |
| Destructive foreground | #fcbba1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #389995lightseagreen | #389995lightseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.16:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 3.41:1 | AA Large |
| Secondary button | 3.56:1 | AA Large |
| Muted text | 5.97:1 | AA |
| Accent | 5.58:1 | AA |
| Destructive | 7.11:1 | AAA |
| Text on background | 20.57:1 | AAA |
| Text on card | 20.57:1 | AAA |
| Primary button | 3.41:1 | AA Large |
| Secondary button | 3.56:1 | AA Large |
| Muted text | 7.02:1 | AAA |
| Accent | 5.58:1 | AA |
| Destructive | 4.23:1 | AA Large |
Paste this into your globals.css to use Prisoner in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 194.743);
--foreground: oklch(0.102 0.014 193.155);
--muted: oklch(0.928 0.026 162.727);
--muted-foreground: oklch(0.451 0.01 162.857);
--popover: oklch(0.994 0.002 194.743);
--popover-foreground: oklch(0.102 0.014 193.155);
--card: oklch(0.994 0.002 194.743);
--card-foreground: oklch(0.102 0.014 193.155);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.625 0.089 192.017);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.611 0.12 156.565);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.515 0.09 247.028);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.353 0.109 38.936);
--destructive-foreground: oklch(0.845 0.084 42.518);
--ring: oklch(0.625 0.089 192.017);
--chart-1: oklch(0.625 0.089 192.017);
--chart-2: oklch(0.611 0.12 156.565);
--chart-3: oklch(0.515 0.09 247.028);
--chart-4: oklch(0.644 0.127 156.512);
--chart-5: oklch(0.633 0.092 191.906);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.1 0.011 193.472);
--foreground: oklch(1 0 180);
--muted: oklch(0.248 0.034 159.326);
--muted-foreground: oklch(0.745 0.009 163.133);
--popover: oklch(0.1 0.011 193.472);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.1 0.011 193.472);
--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.625 0.089 192.017);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.611 0.12 156.565);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.515 0.09 247.028);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.605 0.2 36.967);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.625 0.089 192.017);
--chart-1: oklch(0.625 0.089 192.017);
--chart-2: oklch(0.611 0.12 156.565);
--chart-3: oklch(0.515 0.09 247.028);
--chart-4: oklch(0.644 0.127 156.512);
--chart-5: oklch(0.633 0.092 191.906);
}