Dishonest is a shadcn/ui theme built around a light green primary color (#e2ecd5) with light violet accents (#dfd5ec). The light mode uses a neutral background (#fafbf8). Dark mode keeps the light green primary (#e2ecd5) on a green-tinted background (#080c03).
| Token | Light | Dark |
|---|---|---|
| Background | #fafbf8snow | #080c03black |
| Foreground | #080d02black | #fafbf9snow |
| Card | #f8faf5whitesmoke | #0b1004black |
| Card foreground | #060902black | #fdfdfcwhite |
| Popover | #fafbf8snow | #080c03black |
| Popover foreground | #080d02black | #fafbf9snow |
| Primary | #e2ecd5gainsboro | #e2ecd5gainsboro |
| Primary foreground | #151c0dblack | #151c0dblack |
| Secondary | #dfd5ecgainsboro | #dfd5ecgainsboro |
| Secondary foreground | #442c63darkslateblue | #442c63darkslateblue |
| Muted | #f2eff5whitesmoke | #0c0a10black |
| Muted foreground | #5c5a5edimgray | #a3a1a5darkgray |
| Accent | #dfd5ecgainsboro | #dfd5ecgainsboro |
| Accent foreground | #442c63darkslateblue | #442c63darkslateblue |
| Destructive | #872803saddlebrown | #fa5d1eorangered |
| Destructive foreground | #fed0bepeachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e2ecd5gainsboro | #e2ecd5gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.97:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 14.28:1 | AAA |
| Secondary button | 8.30:1 | AAA |
| Muted text | 5.99:1 | AA |
| Accent | 8.30:1 | AAA |
| Destructive | 6.41:1 | AA |
| Text on background | 18.99:1 | AAA |
| Text on card | 18.91:1 | AAA |
| Primary button | 14.28:1 | AAA |
| Secondary button | 8.30:1 | AAA |
| Muted text | 7.69:1 | AAA |
| Accent | 8.30:1 | AAA |
| Destructive | 6.64:1 | AA |
Paste this into your globals.css to use Dishonest in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.004 125.797);
--foreground: oklch(0.149 0.027 125.171);
--muted: oklch(0.956 0.009 305.62);
--muted-foreground: oklch(0.47 0.006 305.565);
--popover: oklch(0.988 0.004 125.797);
--popover-foreground: oklch(0.149 0.027 125.171);
--card: oklch(0.981 0.006 125.827);
--card-foreground: oklch(0.13 0.023 124.728);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.929 0.033 126.215);
--primary-foreground: oklch(0.215 0.03 127.825);
--secondary: oklch(0.887 0.033 305.241);
--secondary-foreground: oklch(0.35 0.094 301.771);
--accent: oklch(0.887 0.033 305.241);
--accent-foreground: oklch(0.35 0.094 301.771);
--destructive: oklch(0.421 0.136 37.934);
--destructive-foreground: oklch(0.892 0.057 42.684);
--ring: oklch(0.929 0.033 126.215);
--chart-1: oklch(0.929 0.033 126.215);
--chart-2: oklch(0.887 0.033 305.241);
--chart-3: oklch(0.887 0.033 305.241);
--chart-4: oklch(0.916 0.025 305.38);
--chart-5: oklch(0.931 0.035 126.252);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.147 0.023 125.137);
--foreground: oklch(0.987 0.004 125.788);
--muted: oklch(0.15 0.014 304.526);
--muted-foreground: oklch(0.713 0.006 305.636);
--popover: oklch(0.147 0.023 125.137);
--popover-foreground: oklch(0.987 0.004 125.788);
--card: oklch(0.164 0.027 126.535);
--card-foreground: oklch(0.994 0.002 125.763);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.929 0.033 126.215);
--primary-foreground: oklch(0.215 0.03 127.825);
--secondary: oklch(0.887 0.033 305.241);
--secondary-foreground: oklch(0.35 0.094 301.771);
--accent: oklch(0.887 0.033 305.241);
--accent-foreground: oklch(0.35 0.094 301.771);
--destructive: oklch(0.678 0.204 38.909);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.929 0.033 126.215);
--chart-1: oklch(0.929 0.033 126.215);
--chart-2: oklch(0.887 0.033 305.241);
--chart-3: oklch(0.887 0.033 305.241);
--chart-4: oklch(0.916 0.025 305.38);
--chart-5: oklch(0.931 0.035 126.252);
}