Dishonest is a shadcn/ui theme built around a deep teal primary color (#1d392c) with deep pink accents (#391d2a). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep teal primary (#1d392c) on a teal-tinted background (#040c08).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040c08black |
| Foreground | #000000black | #f5faf8mintcream |
| Card | #fcfcfcsnow | #05100bblack |
| Card foreground | #000000black | #f8fcfamintcream |
| Popover | #ffffffwhite | #040c08black |
| Popover foreground | #000000black | #f5faf8mintcream |
| Primary | #1d392cdarkslategray | #1d392cdarkslategray |
| Primary foreground | #b2d7c6silver | #b2d7c6silver |
| Secondary | #391d2adarkslategray | #391d2adarkslategray |
| Secondary foreground | #d7b2c3thistle | #d7b2c3thistle |
| Muted | #eddee5gainsboro | #211219black |
| Muted foreground | #4e464adarkslategray | #b9b1b5silver |
| Accent | #391d2adarkslategray | #391d2adarkslategray |
| Accent foreground | #d7b2c3thistle | #d7b2c3thistle |
| Destructive | #7f1a01maroon | #fe4c20orangered |
| Destructive foreground | #ffc2b3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1d392cdarkslategray | #1d392cdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.99:1 | AAA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 7.03:1 | AAA |
| Accent | 7.94:1 | AAA |
| Destructive | 6.65:1 | AA |
| Text on background | 18.79:1 | AAA |
| Text on card | 18.74:1 | AAA |
| Primary button | 7.99:1 | AAA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 8.60:1 | AAA |
| Accent | 7.94:1 | AAA |
| Destructive | 3.35:1 | AA Large |
Paste this into your globals.css to use Dishonest in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.914 0.019 347.465);
--muted-foreground: oklch(0.404 0.011 347.654);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.319 0.041 162.616);
--primary-foreground: oklch(0.847 0.046 165.322);
--secondary: oklch(0.275 0.047 351.242);
--secondary-foreground: oklch(0.8 0.049 348.493);
--accent: oklch(0.275 0.047 351.242);
--accent-foreground: oklch(0.8 0.049 348.493);
--destructive: oklch(0.39 0.139 34.061);
--destructive-foreground: oklch(0.865 0.073 34.453);
--ring: oklch(0.319 0.041 162.616);
--chart-1: oklch(0.319 0.041 162.616);
--chart-2: oklch(0.275 0.047 351.242);
--chart-3: oklch(0.275 0.047 351.242);
--chart-4: oklch(0.304 0.054 351.411);
--chart-5: oklch(0.322 0.045 162.217);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.017 166.812);
--foreground: oklch(0.98 0.006 166.741);
--muted: oklch(0.206 0.028 350.364);
--muted-foreground: oklch(0.769 0.01 347.244);
--popover: oklch(0.141 0.017 166.812);
--popover-foreground: oklch(0.98 0.006 166.741);
--card: oklch(0.158 0.021 164.83);
--card-foreground: oklch(0.987 0.004 166.797);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.319 0.041 162.616);
--primary-foreground: oklch(0.847 0.046 165.322);
--secondary: oklch(0.275 0.047 351.242);
--secondary-foreground: oklch(0.8 0.049 348.493);
--accent: oklch(0.275 0.047 351.242);
--accent-foreground: oklch(0.8 0.049 348.493);
--destructive: oklch(0.666 0.221 34.377);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.319 0.041 162.616);
--chart-1: oklch(0.319 0.041 162.616);
--chart-2: oklch(0.275 0.047 351.242);
--chart-3: oklch(0.275 0.047 351.242);
--chart-4: oklch(0.304 0.054 351.411);
--chart-5: oklch(0.322 0.045 162.217);
}