Misrepresentation is a shadcn/ui theme built around a muted deep orange primary color (#11100e) with muted deep green accents (#11110e). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep orange primary (#11100e) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030302black |
| Foreground | #040301black | #ffffffwhite |
| Card | #ffffffwhite | #030302black |
| Card foreground | #040301black | #ffffffwhite |
| Popover | #ffffffwhite | #030302black |
| Popover foreground | #040301black | #ffffffwhite |
| Primary | #11100eblack | #11100eblack |
| Primary foreground | #b2aa9fdarkgray | #b2aa9fdarkgray |
| Secondary | #110e0eblack | #110e0eblack |
| Secondary foreground | #b2a19fdarkgray | #b2a19fdarkgray |
| Muted | #e4deddgainsboro | #221c1bblack |
| Muted foreground | #585151dimgray | #aea8a7darkgray |
| Accent | #11110eblack | #11110eblack |
| Accent foreground | #b0b29fdarkgray | #b0b29fdarkgray |
| Destructive | #ad2e0bfirebrick | #f0400forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #11100eblack | #11100eblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.61:1 | AAA |
| Text on card | 20.61:1 | AAA |
| Primary button | 8.29:1 | AAA |
| Secondary button | 7.77:1 | AAA |
| Muted text | 5.81:1 | AA |
| Accent | 8.75:1 | AAA |
| Destructive | 6.63:1 | AA |
| Text on background | 20.65:1 | AAA |
| Text on card | 20.65:1 | AAA |
| Primary button | 8.29:1 | AAA |
| Secondary button | 7.77:1 | AAA |
| Muted text | 7.17:1 | AAA |
| Accent | 8.75:1 | AAA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use Misrepresentation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.098 0.015 87.45);
--muted: oklch(0.904 0.007 25.051);
--muted-foreground: oklch(0.442 0.008 25.147);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.098 0.015 87.45);
--card: oklch(1 0 180);
--card-foreground: oklch(0.098 0.015 87.45);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.172 0.005 78.2);
--primary-foreground: oklch(0.742 0.018 78.213);
--secondary: oklch(0.167 0.005 25.272);
--secondary-foreground: oklch(0.722 0.02 25.243);
--accent: oklch(0.176 0.007 111.729);
--accent-foreground: oklch(0.756 0.027 111.669);
--destructive: oklch(0.496 0.168 34.652);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.172 0.005 78.2);
--chart-1: oklch(0.172 0.005 78.2);
--chart-2: oklch(0.167 0.005 25.272);
--chart-3: oklch(0.176 0.007 111.729);
--chart-4: oklch(0.201 0.007 25.335);
--chart-5: oklch(0.173 0.006 78.157);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.006 82.351);
--foreground: oklch(1 0 180);
--muted: oklch(0.233 0.01 25.379);
--muted-foreground: oklch(0.737 0.007 25.069);
--popover: oklch(0.095 0.006 82.351);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.095 0.006 82.351);
--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.172 0.005 78.2);
--primary-foreground: oklch(0.742 0.018 78.213);
--secondary: oklch(0.167 0.005 25.272);
--secondary-foreground: oklch(0.722 0.02 25.243);
--accent: oklch(0.176 0.007 111.729);
--accent-foreground: oklch(0.756 0.027 111.669);
--destructive: oklch(0.63 0.218 34.331);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.172 0.005 78.2);
--chart-1: oklch(0.172 0.005 78.2);
--chart-2: oklch(0.167 0.005 25.272);
--chart-3: oklch(0.176 0.007 111.729);
--chart-4: oklch(0.201 0.007 25.335);
--chart-5: oklch(0.173 0.006 78.157);
}