Cheque is a shadcn/ui theme built around a vivid green primary color (#10fe7b) with vivid teal accents (#10fef2). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the vivid green primary (#10fe7b) on a neutral background (#020402).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfamintcream | #020402black |
| Foreground | #030c07black | #fcfdfcwhite |
| Card | #f8fcfamintcream | #020402black |
| Card foreground | #030c07black | #fcfdfcwhite |
| Popover | #f8fcfamintcream | #020402black |
| Popover foreground | #030c07black | #fcfdfcwhite |
| Primary | #10fe7bspringgreen | #10fe7bspringgreen |
| Primary foreground | #00421edarkgreen | #00421edarkgreen |
| Secondary | #1cfe10lime | #1cfe10lime |
| Secondary foreground | #044200darkgreen | #044200darkgreen |
| Muted | #d8e4d8gainsboro | #1c271bblack |
| Muted foreground | #4d624bdarkolivegreen | #9eb49ddarkgray |
| Accent | #10fef2aqua | #10fef2aqua |
| Accent foreground | #00423fdarkslategray | #00423fdarkslategray |
| Destructive | #983910saddlebrown | #e9642bchocolate |
| Destructive foreground | #fce7dfmistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #10fe7bspringgreen | #10fe7bspringgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.12:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 8.59:1 | AAA |
| Secondary button | 8.52:1 | AAA |
| Muted text | 5.05:1 | AA |
| Accent | 8.88:1 | AAA |
| Destructive | 6.01:1 | AA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 8.59:1 | AAA |
| Secondary button | 8.52:1 | AAA |
| Muted text | 6.98:1 | AA |
| Accent | 8.88:1 | AAA |
| Destructive | 6.30:1 | AA |
Paste this into your globals.css to use Cheque in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 162.498);
--foreground: oklch(0.143 0.021 162.253);
--muted: oklch(0.906 0.02 144);
--muted-foreground: oklch(0.472 0.044 143.564);
--popover: oklch(0.987 0.005 162.498);
--popover-foreground: oklch(0.143 0.021 162.253);
--card: oklch(0.987 0.005 162.498);
--card-foreground: oklch(0.143 0.021 162.253);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.872 0.236 150.364);
--primary-foreground: oklch(0.332 0.087 152.064);
--secondary: oklch(0.865 0.29 142.339);
--secondary-foreground: oklch(0.329 0.11 141.966);
--accent: oklch(0.899 0.155 188.728);
--accent-foreground: oklch(0.342 0.059 189.185);
--destructive: oklch(0.473 0.137 40.302);
--destructive-foreground: oklch(0.943 0.025 44.729);
--ring: oklch(0.872 0.236 150.364);
--chart-1: oklch(0.872 0.236 150.364);
--chart-2: oklch(0.865 0.29 142.339);
--chart-3: oklch(0.899 0.155 188.728);
--chart-4: oklch(0.867 0.285 142.298);
--chart-5: oklch(0.881 0.241 150.084);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.01 162.638);
--foreground: oklch(0.993 0.002 162.579);
--muted: oklch(0.258 0.027 143.493);
--muted-foreground: oklch(0.746 0.04 143.813);
--popover: oklch(0.096 0.01 162.638);
--popover-foreground: oklch(0.993 0.002 162.579);
--card: oklch(0.096 0.01 162.638);
--card-foreground: oklch(0.993 0.002 162.579);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.872 0.236 150.364);
--primary-foreground: oklch(0.332 0.087 152.064);
--secondary: oklch(0.865 0.29 142.339);
--secondary-foreground: oklch(0.329 0.11 141.966);
--accent: oklch(0.899 0.155 188.728);
--accent-foreground: oklch(0.342 0.059 189.185);
--destructive: oklch(0.661 0.179 41.275);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.872 0.236 150.364);
--chart-1: oklch(0.872 0.236 150.364);
--chart-2: oklch(0.865 0.29 142.339);
--chart-3: oklch(0.899 0.155 188.728);
--chart-4: oklch(0.867 0.285 142.298);
--chart-5: oklch(0.881 0.241 150.084);
}