Valuable is a shadcn/ui theme built around a light purple primary color (#f2c9ec) with light pink accents (#f2c9d7). The light mode uses a neutral background (#ffffff). Dark mode keeps the light purple primary (#f2c9ec) on a neutral background (#070307).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070307black |
| Foreground | #080207black | #fdfbfdsnow |
| Card | #ffffffwhite | #070307black |
| Card foreground | #080207black | #fdfbfdsnow |
| Popover | #ffffffwhite | #070307black |
| Popover foreground | #080207black | #fdfbfdsnow |
| Primary | #f2c9ecmistyrose | #f2c9ecmistyrose |
| Primary foreground | #701a61purple | #701a61purple |
| Secondary | #e5c9f2lavender | #e5c9f2lavender |
| Secondary foreground | #531a70indigo | #531a70indigo |
| Muted | #e0d7e5gainsboro | #241a28black |
| Muted foreground | #666567dimgray | #99989adarkgray |
| Accent | #f2c9d7pink | #f2c9d7pink |
| Accent foreground | #701a37brown | #701a37brown |
| Destructive | #ab1f0dfirebrick | #ef3c25orangered |
| Destructive foreground | #feeeecseashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f2c9ecmistyrose | #f2c9ecmistyrose |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.54:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.15:1 | AAA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 4.13:1 | AA Large |
| Accent | 7.48:1 | AAA |
| Destructive | 6.36:1 | AA |
| Text on background | 19.90:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 7.15:1 | AAA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 5.84:1 | AA |
| Accent | 7.48:1 | AAA |
| Destructive | 3.93:1 | AA Large |
Paste this into your globals.css to use Valuable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.106 0.028 332.046);
--muted: oklch(0.89 0.022 314.705);
--muted-foreground: oklch(0.509 0.004 314.793);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.106 0.028 332.046);
--card: oklch(1 0 180);
--card-foreground: oklch(0.106 0.028 332.046);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.882 0.064 331.772);
--primary-foreground: oklch(0.388 0.144 335.65);
--secondary: oklch(0.873 0.063 314.477);
--secondary-foreground: oklch(0.353 0.142 311.696);
--accent: oklch(0.876 0.05 356.165);
--accent-foreground: oklch(0.37 0.12 5.3);
--destructive: oklch(0.48 0.177 30.995);
--destructive-foreground: oklch(0.961 0.017 26.566);
--ring: oklch(0.882 0.064 331.772);
--chart-1: oklch(0.882 0.064 331.772);
--chart-2: oklch(0.873 0.063 314.477);
--chart-3: oklch(0.876 0.05 356.165);
--chart-4: oklch(0.902 0.048 314.568);
--chart-5: oklch(0.882 0.067 331.818);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.109 0.02 331.684);
--foreground: oklch(0.991 0.003 330.863);
--muted: oklch(0.236 0.031 314.182);
--muted-foreground: oklch(0.681 0.003 314.803);
--popover: oklch(0.109 0.02 331.684);
--popover-foreground: oklch(0.991 0.003 330.863);
--card: oklch(0.109 0.02 331.684);
--card-foreground: oklch(0.991 0.003 330.863);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.882 0.064 331.772);
--primary-foreground: oklch(0.388 0.144 335.65);
--secondary: oklch(0.873 0.063 314.477);
--secondary-foreground: oklch(0.353 0.142 311.696);
--accent: oklch(0.876 0.05 356.165);
--accent-foreground: oklch(0.37 0.12 5.3);
--destructive: oklch(0.626 0.218 31.021);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.882 0.064 331.772);
--chart-1: oklch(0.882 0.064 331.772);
--chart-2: oklch(0.873 0.063 314.477);
--chart-3: oklch(0.876 0.05 356.165);
--chart-4: oklch(0.902 0.048 314.568);
--chart-5: oklch(0.882 0.067 331.818);
}