Valley is a shadcn/ui theme built around a vivid light blue primary color (#d0ebfb) with muted blue accents (#abbbc4). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light blue primary (#d0ebfb) on a neutral background (#030608).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030608black |
| Foreground | #020c12black | #f9fafbghostwhite |
| Card | #fcfcfcsnow | #04090bblack |
| Card foreground | #02090dblack | #fcfdfdwhite |
| Popover | #fcfcfcsnow | #04090bblack |
| Popover foreground | #02090dblack | #fcfdfdwhite |
| Primary | #d0ebfblavender | #d0ebfblavender |
| Primary foreground | #041f2fblack | #041f2fblack |
| Secondary | #cdd2d6lightgrey | #1f1f1fblack |
| Secondary foreground | #323a3edarkslategray | #b8b8b8silver |
| Muted | #e7eff4lavender | #180b0bblack |
| Muted foreground | #5c5f61dimgray | #a39e9edarkgray |
| Accent | #abbbc4silver | #393232darkslategray |
| Accent foreground | #192024black | #d2cbcblightgrey |
| Destructive | #b53308firebrick | #e6410aorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d0ebfblavender | #d0ebfblavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.73:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 13.67:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 5.52:1 | AA |
| Accent | 8.35:1 | AAA |
| Destructive | 6.09:1 | AA |
| Text on background | 19.47:1 | AAA |
| Text on card | 19.67:1 | AAA |
| Primary button | 13.67:1 | AAA |
| Secondary button | 8.34:1 | AAA |
| Muted text | 7.25:1 | AAA |
| Accent | 7.85:1 | AAA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Valley in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.147 0.022 229.628);
--muted: oklch(0.947 0.011 232.746);
--muted-foreground: oklch(0.483 0.006 232.745);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.133 0.019 225.684);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.133 0.019 225.684);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.926 0.036 233.172);
--primary-foreground: oklch(0.229 0.045 237.909);
--secondary: oklch(0.861 0.008 232.709);
--secondary-foreground: oklch(0.342 0.012 233.114);
--accent: oklch(0.783 0.022 233.007);
--accent-foreground: oklch(0.239 0.013 233.445);
--destructive: oklch(0.516 0.173 35.803);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.926 0.036 233.172);
--chart-1: oklch(0.926 0.036 233.172);
--chart-2: oklch(0.861 0.008 232.709);
--chart-3: oklch(0.783 0.022 233.007);
--chart-4: oklch(0.885 0.007 232.684);
--chart-5: oklch(0.926 0.037 233.195);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.116 0.01 226.872);
--foreground: oklch(0.985 0.002 232.602);
--muted: oklch(0.17 0.023 19.754);
--muted-foreground: oklch(0.703 0.007 17.313);
--popover: oklch(0.133 0.012 227.274);
--popover-foreground: oklch(0.992 0.001 232.591);
--card: oklch(0.133 0.012 227.274);
--card-foreground: oklch(0.992 0.001 232.591);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.926 0.036 233.172);
--primary-foreground: oklch(0.229 0.045 237.909);
--secondary: oklch(0.238 0 161.565);
--secondary-foreground: oklch(0.781 0 180);
--accent: oklch(0.324 0.011 17.721);
--accent-foreground: oklch(0.848 0.008 17.305);
--destructive: oklch(0.614 0.209 35.463);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.926 0.036 233.172);
--chart-1: oklch(0.926 0.036 233.172);
--chart-2: oklch(0.238 0 161.565);
--chart-3: oklch(0.324 0.011 17.721);
--chart-4: oklch(0.27 0 180);
--chart-5: oklch(0.926 0.037 233.195);
}