Valuable is a shadcn/ui theme built around a light green primary color (#f5faeb) with light green accents (#edfaeb). The light mode uses a neutral background (#fbfdf7). Dark mode keeps the light green primary (#f5faeb) on a green-tinted background (#0b0e07).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdf7snow | #0b0e07black |
| Foreground | #0c1005black | #fdfdfcwhite |
| Card | #fbfdf7snow | #0b0e07black |
| Card foreground | #0c1005black | #fdfdfcwhite |
| Popover | #fbfdf7snow | #0b0e07black |
| Popover foreground | #0c1005black | #fdfdfcwhite |
| Primary | #f5faebhoneydew | #f5faebhoneydew |
| Primary foreground | #2e3c10darkgreen | #2e3c10darkgreen |
| Secondary | #faf7eboldlace | #faf7eboldlace |
| Secondary foreground | #3c3510darkolivegreen | #3c3510darkolivegreen |
| Muted | #eeede7linen | #181711black |
| Muted foreground | #585546darkolivegreen | #b9b6a7darkgray |
| Accent | #edfaebhoneydew | #edfaebhoneydew |
| Accent foreground | #173c10darkgreen | #173c10darkgreen |
| Destructive | #d5120bfirebrick | #e9140cred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f5faebhoneydew | #f5faebhoneydew |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.71:1 | AAA |
| Text on card | 18.71:1 | AAA |
| Primary button | 11.13:1 | AAA |
| Secondary button | 11.45:1 | AAA |
| Muted text | 6.37:1 | AA |
| Accent | 11.50:1 | AAA |
| Destructive | 5.34:1 | AA |
| Text on background | 19.11:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 11.13:1 | AAA |
| Secondary button | 11.45:1 | AAA |
| Muted text | 8.84:1 | AAA |
| Accent | 11.50:1 | AAA |
| Destructive | 4.61:1 | AA |
Paste this into your globals.css to use Valuable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.007 121.61);
--foreground: oklch(0.164 0.024 122.806);
--muted: oklch(0.945 0.007 97.363);
--muted-foreground: oklch(0.447 0.023 97.874);
--popover: oklch(0.99 0.007 121.61);
--popover-foreground: oklch(0.164 0.024 122.806);
--card: oklch(0.99 0.007 121.61);
--card-foreground: oklch(0.164 0.024 122.806);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.976 0.02 121.826);
--primary-foreground: oklch(0.334 0.069 125.702);
--secondary: oklch(0.975 0.016 97.48);
--secondary-foreground: oklch(0.328 0.055 97.956);
--accent: oklch(0.971 0.023 140.494);
--accent-foreground: oklch(0.319 0.083 140.498);
--destructive: oklch(0.553 0.22 29.22);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.976 0.02 121.826);
--chart-1: oklch(0.976 0.02 121.826);
--chart-2: oklch(0.975 0.016 97.48);
--chart-3: oklch(0.971 0.023 140.494);
--chart-4: oklch(0.99 0.007 97.348);
--chart-5: oklch(0.977 0.021 121.843);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.016 122.426);
--foreground: oklch(0.993 0.001 121.51);
--muted: oklch(0.202 0.011 97.881);
--muted-foreground: oklch(0.774 0.02 97.596);
--popover: oklch(0.157 0.016 122.426);
--popover-foreground: oklch(0.993 0.001 121.51);
--card: oklch(0.157 0.016 122.426);
--card-foreground: oklch(0.993 0.001 121.51);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.976 0.02 121.826);
--primary-foreground: oklch(0.334 0.069 125.702);
--secondary: oklch(0.975 0.016 97.48);
--secondary-foreground: oklch(0.328 0.055 97.956);
--accent: oklch(0.971 0.023 140.494);
--accent-foreground: oklch(0.319 0.083 140.498);
--destructive: oklch(0.59 0.236 29.241);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.976 0.02 121.826);
--chart-1: oklch(0.976 0.02 121.826);
--chart-2: oklch(0.975 0.016 97.48);
--chart-3: oklch(0.971 0.023 140.494);
--chart-4: oklch(0.99 0.007 97.348);
--chart-5: oklch(0.977 0.021 121.843);
}