Envious is a shadcn/ui theme built around a muted light blue primary color (#bdc0cb) with muted light yellow accents (#cbc9bd). The light mode uses a neutral background (#f7f8fd). Dark mode keeps the muted light blue primary (#bdc0cb) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f8fdghostwhite | #000000black |
| Foreground | #000000black | #fcfcfdwhite |
| Card | #f3f5fbaliceblue | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f3f5fbaliceblue | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #bdc0cbsilver | #bdc0cbsilver |
| Primary foreground | #262831darkslategray | #262831darkslategray |
| Secondary | #cbc9bdsilver | #cbc9bdsilver |
| Secondary foreground | #312e26darkslategray | #312e26darkslategray |
| Muted | #e9e6ddgainsboro | #221f16black |
| Muted foreground | #67614cdimgray | #b3ae98darkgray |
| Accent | #cbc9bdsilver | #cbc9bdsilver |
| Accent foreground | #312e26darkslategray | #312e26darkslategray |
| Destructive | #a23b0bsaddlebrown | #ef5a15orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bdc0cbsilver | #bdc0cbsilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.83:1 | AAA |
| Text on card | 19.27:1 | AAA |
| Primary button | 8.10:1 | AAA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 4.96:1 | AA |
| Accent | 8.13:1 | AAA |
| Destructive | 6.62:1 | AA |
| Text on background | 20.48:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.10:1 | AAA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 7.36:1 | AAA |
| Accent | 8.13:1 | AAA |
| Destructive | 3.41:1 | AA Large |
Paste this into your globals.css to use Envious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.006 274.961);
--foreground: oklch(0 0 0);
--muted: oklch(0.925 0.012 95.186);
--muted-foreground: oklch(0.492 0.033 95.664);
--popover: oklch(0.971 0.009 274.923);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.971 0.009 274.923);
--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.809 0.016 274.785);
--primary-foreground: oklch(0.279 0.016 274.278);
--secondary: oklch(0.834 0.016 95.248);
--secondary-foreground: oklch(0.302 0.015 95.531);
--accent: oklch(0.834 0.016 95.248);
--accent-foreground: oklch(0.302 0.015 95.531);
--destructive: oklch(0.492 0.146 40.53);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.809 0.016 274.785);
--chart-1: oklch(0.809 0.016 274.785);
--chart-2: oklch(0.834 0.016 95.248);
--chart-3: oklch(0.834 0.016 95.248);
--chart-4: oklch(0.856 0.014 95.216);
--chart-5: oklch(0.806 0.02 274.717);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 275.025);
--muted: oklch(0.24 0.017 95.674);
--muted-foreground: oklch(0.749 0.03 95.461);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.809 0.016 274.785);
--primary-foreground: oklch(0.279 0.016 274.278);
--secondary: oklch(0.834 0.016 95.248);
--secondary-foreground: oklch(0.302 0.015 95.531);
--accent: oklch(0.834 0.016 95.248);
--accent-foreground: oklch(0.302 0.015 95.531);
--destructive: oklch(0.657 0.196 40.429);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.809 0.016 274.785);
--chart-1: oklch(0.809 0.016 274.785);
--chart-2: oklch(0.834 0.016 95.248);
--chart-3: oklch(0.834 0.016 95.248);
--chart-4: oklch(0.856 0.014 95.216);
--chart-5: oklch(0.806 0.02 274.717);
}