Untrue is a shadcn/ui theme built around an orange primary color (#7a4c29) with blue accents (#29577a). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#7a4c29) on a neutral background (#040201).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040201black |
| Foreground | #100904black | #fdfcfcsnow |
| Card | #fcfcfcsnow | #080502black |
| Card foreground | #0c0703black | #ffffffwhite |
| Popover | #fcfcfcsnow | #080502black |
| Popover foreground | #0c0703black | #ffffffwhite |
| Primary | #7a4c29saddlebrown | #7a4c29saddlebrown |
| Primary foreground | #f5e9e0antiquewhite | #f5e9e0antiquewhite |
| Secondary | #29577adarkslateblue | #29577adarkslateblue |
| Secondary foreground | #e0ecf5lavender | #e0ecf5lavender |
| Muted | #d1dde6gainsboro | #19252edarkslategray |
| Muted foreground | #485056darkslategray | #a9b1b7darkgray |
| Accent | #29577adarkslateblue | #29577adarkslateblue |
| Accent foreground | #e0ecf5lavender | #e0ecf5lavender |
| Destructive | #a8220bfirebrick | #d82c0efirebrick |
| Destructive foreground | #fdeae7linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7a4c29saddlebrown | #7a4c29saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.75:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 6.06:1 | AA |
| Secondary button | 6.37:1 | AA |
| Muted text | 5.92:1 | AA |
| Accent | 6.37:1 | AA |
| Destructive | 6.24:1 | AA |
| Text on background | 20.18:1 | AAA |
| Text on card | 20.35:1 | AAA |
| Primary button | 6.06:1 | AA |
| Secondary button | 6.37:1 | AA |
| Muted text | 7.16:1 | AAA |
| Accent | 6.37:1 | AA |
| Destructive | 4.90:1 | AA |
Paste this into your globals.css to use Untrue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.149 0.017 64.875);
--muted: oklch(0.89 0.018 240.569);
--muted-foreground: oklch(0.426 0.015 240.765);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.134 0.015 68.087);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.134 0.015 68.087);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.462 0.08 56.494);
--primary-foreground: oklch(0.941 0.017 60.031);
--secondary: oklch(0.441 0.077 243.989);
--secondary-foreground: oklch(0.937 0.017 240.538);
--accent: oklch(0.441 0.077 243.989);
--accent-foreground: oklch(0.937 0.017 240.538);
--destructive: oklch(0.476 0.172 32.013);
--destructive-foreground: oklch(0.953 0.021 29.559);
--ring: oklch(0.462 0.08 56.494);
--chart-1: oklch(0.462 0.08 56.494);
--chart-2: oklch(0.441 0.077 243.989);
--chart-3: oklch(0.441 0.077 243.989);
--chart-4: oklch(0.469 0.083 244.058);
--chart-5: oklch(0.465 0.084 56.112);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.093 0.01 68.626);
--foreground: oklch(0.993 0.001 60.272);
--muted: oklch(0.258 0.024 241.784);
--muted-foreground: oklch(0.756 0.013 240.516);
--popover: oklch(0.117 0.013 68.626);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.117 0.013 68.626);
--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.462 0.08 56.494);
--primary-foreground: oklch(0.941 0.017 60.031);
--secondary: oklch(0.441 0.077 243.989);
--secondary-foreground: oklch(0.937 0.017 240.538);
--accent: oklch(0.441 0.077 243.989);
--accent-foreground: oklch(0.937 0.017 240.538);
--destructive: oklch(0.572 0.21 31.885);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.462 0.08 56.494);
--chart-1: oklch(0.462 0.08 56.494);
--chart-2: oklch(0.441 0.077 243.989);
--chart-3: oklch(0.441 0.077 243.989);
--chart-4: oklch(0.469 0.083 244.058);
--chart-5: oklch(0.465 0.084 56.112);
}