Untrue is a shadcn/ui theme built around a green primary color (#2cdd56) with red accents (#dd562c). The light mode uses a neutral background (#fbfefc). Dark mode keeps the green primary (#2cdd56) on a neutral background (#020302).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #020302black |
| Foreground | #031106black | #ffffffwhite |
| Card | #fbfefcwhite | #020302black |
| Card foreground | #031106black | #ffffffwhite |
| Popover | #fbfefcwhite | #020302black |
| Popover foreground | #031106black | #ffffffwhite |
| Primary | #2cdd56limegreen | #2cdd56limegreen |
| Primary foreground | #093513darkgreen | #093513darkgreen |
| Secondary | #562cddblueviolet | #562cddblueviolet |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eae7f3lavender | #0f0c18black |
| Muted foreground | #464351darkslategray | #b1aebcdarkgray |
| Accent | #dd562cchocolate | #dd562cchocolate |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #af3e0dfirebrick | #da4d10chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2cdd56limegreen | #2cdd56limegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.01:1 | AAA |
| Text on card | 19.01:1 | AAA |
| Primary button | 7.55:1 | AAA |
| Secondary button | 7.49:1 | AAA |
| Muted text | 7.91:1 | AAA |
| Accent | 3.87:1 | AA Large |
| Destructive | 5.95:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 7.55:1 | AAA |
| Secondary button | 7.49:1 | AAA |
| Muted text | 8.88:1 | AAA |
| Accent | 3.87:1 | AA Large |
| Destructive | 4.15:1 | AA Large |
Paste this into your globals.css to use Untrue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 153.174);
--foreground: oklch(0.161 0.032 151.328);
--muted: oklch(0.935 0.016 296.78);
--muted-foreground: oklch(0.39 0.025 295.908);
--popover: oklch(0.994 0.004 153.174);
--popover-foreground: oklch(0.161 0.032 151.328);
--card: oklch(0.994 0.004 153.174);
--card-foreground: oklch(0.161 0.032 151.328);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.785 0.224 146.298);
--primary-foreground: oklch(0.289 0.075 147.336);
--secondary: oklch(0.476 0.243 282.788);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.624 0.178 36.988);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.519 0.158 39.43);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.785 0.224 146.298);
--chart-1: oklch(0.785 0.224 146.298);
--chart-2: oklch(0.476 0.243 282.788);
--chart-3: oklch(0.624 0.178 36.988);
--chart-4: oklch(0.502 0.233 285.06);
--chart-5: oklch(0.794 0.231 146.078);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.009 152.845);
--foreground: oklch(1 0 180);
--muted: oklch(0.165 0.024 294.331);
--muted-foreground: oklch(0.757 0.021 296.573);
--popover: oklch(0.095 0.009 152.845);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.095 0.009 152.845);
--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.785 0.224 146.298);
--primary-foreground: oklch(0.289 0.075 147.336);
--secondary: oklch(0.476 0.243 282.788);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.624 0.178 36.988);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.608 0.187 39.102);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.785 0.224 146.298);
--chart-1: oklch(0.785 0.224 146.298);
--chart-2: oklch(0.476 0.243 282.788);
--chart-3: oklch(0.624 0.178 36.988);
--chart-4: oklch(0.502 0.233 285.06);
--chart-5: oklch(0.794 0.231 146.078);
}