Valuable is a shadcn/ui theme built around a deep green primary color (#185d0e) with deep red accents (#5d0e18). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the deep green primary (#185d0e) on a neutral background (#030803).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #030803black |
| Foreground | #000000black | #f9fbf9mintcream |
| Card | #fcfdfcwhite | #030803black |
| Card foreground | #000000black | #f9fbf9mintcream |
| Popover | #fcfdfcwhite | #030803black |
| Popover foreground | #000000black | #f9fbf9mintcream |
| Primary | #185d0edarkgreen | #185d0edarkgreen |
| Primary foreground | #b3f2abpalegreen | #b3f2abpalegreen |
| Secondary | #0e185dmidnightblue | #0e185dmidnightblue |
| Secondary foreground | #abb3f2lightsteelblue | #abb3f2lightsteelblue |
| Muted | #d1d4eagainsboro | #15172eblack |
| Muted foreground | #414248darkslategray | #b7b8besilver |
| Accent | #5d0e18maroon | #5d0e18maroon |
| Accent foreground | #f2abb3lightpink | #f2abb3lightpink |
| Destructive | #bc340bfirebrick | #d93c0dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #185d0edarkgreen | #185d0edarkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.62:1 | AAA |
| Text on card | 20.62:1 | AAA |
| Primary button | 6.23:1 | AA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 6.84:1 | AA |
| Accent | 7.30:1 | AAA |
| Destructive | 5.77:1 | AA |
| Text on background | 19.45:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 6.23:1 | AA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 8.87:1 | AAA |
| Accent | 7.30:1 | AAA |
| Destructive | 4.56:1 | AA |
Paste this into your globals.css to use Valuable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 142.102);
--foreground: oklch(0 0 0);
--muted: oklch(0.875 0.031 279.759);
--muted-foreground: oklch(0.381 0.01 279.895);
--popover: oklch(0.993 0.003 142.102);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.993 0.003 142.102);
--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.419 0.128 141.534);
--primary-foreground: oklch(0.901 0.114 141.68);
--secondary: oklch(0.257 0.122 269.182);
--secondary-foreground: oklch(0.784 0.089 278.296);
--accent: oklch(0.314 0.11 20.64);
--accent-foreground: oklch(0.811 0.084 11.379);
--destructive: oklch(0.529 0.178 35.244);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.419 0.128 141.534);
--chart-1: oklch(0.419 0.128 141.534);
--chart-2: oklch(0.257 0.122 269.182);
--chart-3: oklch(0.314 0.11 20.64);
--chart-4: oklch(0.28 0.136 268.825);
--chart-5: oklch(0.423 0.131 141.569);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.02 140.634);
--foreground: oklch(0.986 0.002 142.105);
--muted: oklch(0.216 0.044 276.403);
--muted-foreground: oklch(0.782 0.009 280.157);
--popover: oklch(0.122 0.02 140.634);
--popover-foreground: oklch(0.986 0.002 142.105);
--card: oklch(0.122 0.02 140.634);
--card-foreground: oklch(0.986 0.002 142.105);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.419 0.128 141.534);
--primary-foreground: oklch(0.901 0.114 141.68);
--secondary: oklch(0.257 0.122 269.182);
--secondary-foreground: oklch(0.784 0.089 278.296);
--accent: oklch(0.314 0.11 20.64);
--accent-foreground: oklch(0.811 0.084 11.379);
--destructive: oklch(0.587 0.2 35.082);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.419 0.128 141.534);
--chart-1: oklch(0.419 0.128 141.534);
--chart-2: oklch(0.257 0.122 269.182);
--chart-3: oklch(0.314 0.11 20.64);
--chart-4: oklch(0.28 0.136 268.825);
--chart-5: oklch(0.423 0.131 141.569);
}