Curvy is a shadcn/ui theme built around a vivid light blue primary color (#a7d0f6) with vivid light indigo accents (#a7a8f6). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid light blue primary (#a7d0f6) on a neutral background (#040507).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #040507black |
| Foreground | #010304black | #f7f7f8whitesmoke |
| Card | #fbfdfewhite | #040507black |
| Card foreground | #010304black | #f7f7f8whitesmoke |
| Popover | #fbfdfewhite | #040507black |
| Popover foreground | #010304black | #f7f7f8whitesmoke |
| Primary | #a7d0f6lightblue | #a7d0f6lightblue |
| Primary foreground | #0a3761midnightblue | #0a3761midnightblue |
| Secondary | #a7f6f5paleturquoise | #a7f6f5paleturquoise |
| Secondary foreground | #000505black | #000505black |
| Muted | #e9f2f1whitesmoke | #0d1616black |
| Muted foreground | #485151darkslategray | #aeb7b7darkgray |
| Accent | #a7a8f6lightsteelblue | #a7a8f6lightsteelblue |
| Accent foreground | #0a0b61midnightblue | #0a0b61midnightblue |
| Destructive | #602a0bsaddlebrown | #e8712cchocolate |
| Destructive foreground | #f5c4a8wheat | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a7d0f6lightblue | #a7d0f6lightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 7.49:1 | AAA |
| Secondary button | 16.77:1 | AAA |
| Muted text | 7.14:1 | AAA |
| Accent | 7.77:1 | AAA |
| Destructive | 7.25:1 | AAA |
| Text on background | 19.04:1 | AAA |
| Text on card | 19.04:1 | AAA |
| Primary button | 7.49:1 | AAA |
| Secondary button | 16.77:1 | AAA |
| Muted text | 8.94:1 | AAA |
| Accent | 7.77:1 | AAA |
| Destructive | 6.79:1 | AA |
Paste this into your globals.css to use Curvy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 245.997);
--foreground: oklch(0.089 0.011 237.038);
--muted: oklch(0.953 0.009 195.8);
--muted-foreground: oklch(0.427 0.012 195.501);
--popover: oklch(0.992 0.003 245.997);
--popover-foreground: oklch(0.089 0.011 237.038);
--card: oklch(0.992 0.003 245.997);
--card-foreground: oklch(0.089 0.011 237.038);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.841 0.069 246.928);
--primary-foreground: oklch(0.333 0.088 251.487);
--secondary: oklch(0.922 0.078 194.562);
--secondary-foreground: oklch(0.103 0.015 194.073);
--accent: oklch(0.761 0.111 282.67);
--accent-foreground: oklch(0.242 0.142 268.515);
--destructive: oklch(0.356 0.089 46.496);
--destructive-foreground: oklch(0.857 0.068 51.568);
--ring: oklch(0.841 0.069 246.928);
--chart-1: oklch(0.841 0.069 246.928);
--chart-2: oklch(0.922 0.078 194.562);
--chart-3: oklch(0.761 0.111 282.67);
--chart-4: oklch(0.933 0.067 194.773);
--chart-5: oklch(0.841 0.072 246.966);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.114 0.007 241.764);
--foreground: oklch(0.977 0.001 245.983);
--muted: oklch(0.193 0.013 194.816);
--muted-foreground: oklch(0.772 0.01 195.743);
--popover: oklch(0.114 0.007 241.764);
--popover-foreground: oklch(0.977 0.001 245.983);
--card: oklch(0.114 0.007 241.764);
--card-foreground: oklch(0.977 0.001 245.983);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.841 0.069 246.928);
--primary-foreground: oklch(0.333 0.088 251.487);
--secondary: oklch(0.922 0.078 194.562);
--secondary-foreground: oklch(0.103 0.015 194.073);
--accent: oklch(0.761 0.111 282.67);
--accent-foreground: oklch(0.242 0.142 268.515);
--destructive: oklch(0.678 0.167 46.774);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.841 0.069 246.928);
--chart-1: oklch(0.841 0.069 246.928);
--chart-2: oklch(0.922 0.078 194.562);
--chart-3: oklch(0.761 0.111 282.67);
--chart-4: oklch(0.933 0.067 194.773);
--chart-5: oklch(0.841 0.072 246.966);
}