Invite Bunny 2 is a shadcn/ui theme built around a light blue primary color (#a1c4eb) with muted light blue accents (#dadee2). The light mode uses a neutral background (#ffffff). Dark mode switches to a blue primary (#4b698b) on a blue-tinted background (#04070b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #04070bblack |
| Foreground | #030a12black | #ffffffwhite |
| Card | #ffffffwhite | #04070bblack |
| Card foreground | #030a12black | #ffffffwhite |
| Popover | #ffffffwhite | #04070bblack |
| Popover foreground | #030a12black | #ffffffwhite |
| Primary | #a1c4eblightsteelblue | #4b698bslategray |
| Primary foreground | #091e3dmidnightblue | #ffffffwhite |
| Secondary | #fdf2e3oldlace | #23262adarkslategray |
| Secondary foreground | #3c444edarkslategray | #babfc5silver |
| Muted | #edf0f2whitesmoke | #0d0f12black |
| Muted foreground | #48515bdarkslategray | #a4adb7darkgray |
| Accent | #dadee2gainsboro | #23262adarkslategray |
| Accent foreground | #3c444edarkslategray | #babfc5silver |
| Destructive | #d41e11firebrick | #f04e42tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #f1f2f4whitesmoke | #1d2125black |
| Input | #f1f2f4whitesmoke | #1d2125black |
| Ring | #2f4b76darkslateblue | #4b698bslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.88:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 9.18:1 | AAA |
| Secondary button | 8.90:1 | AAA |
| Muted text | 7.03:1 | AAA |
| Accent | 7.26:1 | AAA |
| Destructive | 5.24:1 | AA |
| Text on background | 20.14:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 5.68:1 | AA |
| Secondary button | 8.21:1 | AAA |
| Muted text | 8.43:1 | AAA |
| Accent | 8.21:1 | AAA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Invite Bunny 2 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.139 0.023 245.229);
--muted: oklch(0.953 0.004 251.485);
--muted-foreground: oklch(0.431 0.021 251.806);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.139 0.023 245.229);
--card: oklch(1 0 180);
--card-foreground: oklch(0.139 0.023 245.229);
--border: oklch(0.961 0.003 251.475);
--input: oklch(0.961 0.003 251.475);
--primary: oklch(0.808 0.067 251.404);
--primary-foreground: oklch(0.238 0.065 258.272);
--secondary: oklch(0.965 0.023 74.723);
--secondary-foreground: oklch(0.384 0.02 251.824);
--accent: oklch(0.898 0.008 251.519);
--accent-foreground: oklch(0.384 0.02 251.824);
--destructive: oklch(0.557 0.214 29.709);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.412 0.08 258.709);
--chart-1: oklch(0.412 0.08 258.709);
--chart-2: oklch(0.799 0.087 48.712);
--chart-3: oklch(0.748 0.103 84.228);
--chart-4: oklch(0.939 0.033 88.057);
--chart-5: oklch(0.412 0.08 258.709);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.012 244.968);
--foreground: oklch(1 0 180);
--muted: oklch(0.168 0.006 251.727);
--muted-foreground: oklch(0.743 0.018 251.64);
--popover: oklch(0.128 0.012 244.968);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.128 0.012 244.968);
--card-foreground: oklch(1 0 180);
--border: oklch(0.245 0.011 251.77);
--input: oklch(0.245 0.011 251.77);
--primary: oklch(0.512 0.065 252.362);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.267 0.008 251.686);
--secondary-foreground: oklch(0.802 0.01 251.555);
--accent: oklch(0.267 0.008 251.686);
--accent-foreground: oklch(0.802 0.01 251.555);
--destructive: oklch(0.648 0.2 28.08);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.512 0.065 252.362);
--chart-1: oklch(0.512 0.065 252.362);
--chart-2: oklch(0.267 0.008 251.686);
--chart-3: oklch(0.267 0.008 251.686);
--chart-4: oklch(0.298 0.01 251.696);
--chart-5: oklch(0.511 0.071 252.472);
}