Shady is a shadcn/ui theme built around a light cyan primary color (#c7e7f5) with light green accents (#e7f5c7). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the light cyan primary (#c7e7f5) on a cyan-tinted background (#060c0e).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #060c0eblack |
| Foreground | #010304black | #fcfdfdwhite |
| Card | #fcfdfdwhite | #060c0eblack |
| Card foreground | #010304black | #fcfdfdwhite |
| Popover | #fcfdfdwhite | #060c0eblack |
| Popover foreground | #010304black | #fcfdfdwhite |
| Primary | #c7e7f5paleturquoise | #c7e7f5paleturquoise |
| Primary foreground | #155874darkslategray | #155874darkslategray |
| Secondary | #f5c7e7pink | #f5c7e7pink |
| Secondary foreground | #741558purple | #741558purple |
| Muted | #e8d4e2gainsboro | #2b1725black |
| Muted foreground | #454043darkslategray | #bfbabesilver |
| Accent | #e7f5c7lightgoldenrodyellow | #e7f5c7lightgoldenrodyellow |
| Accent foreground | #171e06black | #171e06black |
| Destructive | #c2210ffirebrick | #ed2812orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c7e7f5paleturquoise | #c7e7f5paleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 6.03:1 | AA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 7.21:1 | AAA |
| Accent | 14.90:1 | AAA |
| Destructive | 5.95:1 | AA |
| Text on background | 19.32:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 6.03:1 | AA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 8.76:1 | AAA |
| Accent | 14.90:1 | AAA |
| Destructive | 4.27:1 | AA Large |
Paste this into your globals.css to use Shady in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.001 224.998);
--foreground: oklch(0.093 0.009 219.398);
--muted: oklch(0.89 0.03 336.484);
--muted-foreground: oklch(0.377 0.009 336.335);
--popover: oklch(0.993 0.001 224.998);
--popover-foreground: oklch(0.093 0.009 219.398);
--card: oklch(0.993 0.001 224.998);
--card-foreground: oklch(0.093 0.009 219.398);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.909 0.039 225.552);
--primary-foreground: oklch(0.433 0.079 231.698);
--secondary: oklch(0.879 0.066 337.228);
--secondary-foreground: oklch(0.387 0.146 343.31);
--accent: oklch(0.947 0.062 121.149);
--accent-foreground: oklch(0.221 0.044 123.705);
--destructive: oklch(0.525 0.198 30.509);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.909 0.039 225.552);
--chart-1: oklch(0.909 0.039 225.552);
--chart-2: oklch(0.879 0.066 337.228);
--chart-3: oklch(0.947 0.062 121.149);
--chart-4: oklch(0.906 0.051 336.885);
--chart-5: oklch(0.91 0.04 225.581);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.148 0.012 223.969);
--foreground: oklch(0.992 0 224.988);
--muted: oklch(0.238 0.041 338.859);
--muted-foreground: oklch(0.794 0.008 336.054);
--popover: oklch(0.148 0.012 223.969);
--popover-foreground: oklch(0.992 0 224.988);
--card: oklch(0.148 0.012 223.969);
--card-foreground: oklch(0.992 0 224.988);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.909 0.039 225.552);
--primary-foreground: oklch(0.433 0.079 231.698);
--secondary: oklch(0.879 0.066 337.228);
--secondary-foreground: oklch(0.387 0.146 343.31);
--accent: oklch(0.947 0.062 121.149);
--accent-foreground: oklch(0.221 0.044 123.705);
--destructive: oklch(0.608 0.231 30.49);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.909 0.039 225.552);
--chart-1: oklch(0.909 0.039 225.552);
--chart-2: oklch(0.879 0.066 337.228);
--chart-3: oklch(0.947 0.062 121.149);
--chart-4: oklch(0.906 0.051 336.885);
--chart-5: oklch(0.91 0.04 225.581);
}