Surprised is a shadcn/ui theme built around a light cyan primary color (#ddeef3) with light orange accents (#f3e2dd). The light mode uses a neutral background (#ffffff). Dark mode keeps the light cyan primary (#ddeef3) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020303black |
| Foreground | #010304black | #f8fbfbghostwhite |
| Card | #ffffffwhite | #020303black |
| Card foreground | #010304black | #f8fbfbghostwhite |
| Popover | #ffffffwhite | #020303black |
| Popover foreground | #010304black | #f8fbfbghostwhite |
| Primary | #ddeef3lavender | #ddeef3lavender |
| Primary foreground | #0e232ablack | #0e232ablack |
| Secondary | #f3e2ddmistyrose | #f3e2ddmistyrose |
| Secondary foreground | #763c28saddlebrown | #763c28saddlebrown |
| Muted | #e4d7d2gainsboro | #2d1f1bblack |
| Muted foreground | #70615cdimgray | #a3948frosybrown |
| Accent | #f3e2ddmistyrose | #f3e2ddmistyrose |
| Accent foreground | #763c28saddlebrown | #763c28saddlebrown |
| Destructive | #9d3e0bsaddlebrown | #db570fchocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ddeef3lavender | #ddeef3lavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.66:1 | AAA |
| Text on card | 20.66:1 | AAA |
| Primary button | 13.58:1 | AAA |
| Secondary button | 6.86:1 | AA |
| Muted text | 4.20:1 | AA Large |
| Accent | 6.86:1 | AA |
| Destructive | 6.69:1 | AA |
| Text on background | 19.85:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 13.58:1 | AAA |
| Secondary button | 6.86:1 | AA |
| Muted text | 5.43:1 | AA |
| Accent | 6.86:1 | AA |
| Destructive | 3.90:1 | AA Large |
Paste this into your globals.css to use Surprised in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.095 0.013 213.478);
--muted: oklch(0.888 0.016 39.402);
--muted-foreground: oklch(0.505 0.021 39.306);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.095 0.013 213.478);
--card: oklch(1 0 180);
--card-foreground: oklch(0.095 0.013 213.478);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.937 0.019 219.678);
--primary-foreground: oklch(0.242 0.03 221.926);
--secondary: oklch(0.926 0.02 39.384);
--secondary-foreground: oklch(0.425 0.087 39.022);
--accent: oklch(0.926 0.02 39.384);
--accent-foreground: oklch(0.425 0.087 39.022);
--destructive: oklch(0.489 0.139 42.985);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.937 0.019 219.678);
--chart-1: oklch(0.937 0.019 219.678);
--chart-2: oklch(0.926 0.02 39.384);
--chart-3: oklch(0.926 0.02 39.384);
--chart-4: oklch(0.951 0.013 39.423);
--chart-5: oklch(0.938 0.021 219.69);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.093 0.006 216.381);
--foreground: oklch(0.986 0.003 219.527);
--muted: oklch(0.255 0.023 39.224);
--muted-foreground: oklch(0.678 0.02 39.352);
--popover: oklch(0.093 0.006 216.381);
--popover-foreground: oklch(0.986 0.003 219.527);
--card: oklch(0.093 0.006 216.381);
--card-foreground: oklch(0.986 0.003 219.527);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.937 0.019 219.678);
--primary-foreground: oklch(0.242 0.03 221.926);
--secondary: oklch(0.926 0.02 39.384);
--secondary-foreground: oklch(0.425 0.087 39.022);
--accent: oklch(0.926 0.02 39.384);
--accent-foreground: oklch(0.425 0.087 39.022);
--destructive: oklch(0.621 0.181 42.346);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.937 0.019 219.678);
--chart-1: oklch(0.937 0.019 219.678);
--chart-2: oklch(0.926 0.02 39.384);
--chart-3: oklch(0.926 0.02 39.384);
--chart-4: oklch(0.951 0.013 39.423);
--chart-5: oklch(0.938 0.021 219.69);
}