Ladybug is a shadcn/ui theme built around a muted light cyan primary color (#e0e9eb) with muted light red accents (#ebe2e0). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the muted light cyan primary (#e0e9eb) on a cyan-tinted background (#030b0c).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #030b0cblack |
| Foreground | #020b0dblack | #f9fbfbghostwhite |
| Card | #f7fcfdghostwhite | #040e10black |
| Card foreground | #010809black | #fcfdfdwhite |
| Popover | #f7fcfdghostwhite | #040e10black |
| Popover foreground | #010809black | #fcfdfdwhite |
| Primary | #e0e9eblavender | #e0e9eblavender |
| Primary foreground | #3c585ddarkslategray | #3c585ddarkslategray |
| Secondary | #ebe2e0gainsboro | #ebe2e0gainsboro |
| Secondary foreground | #5d413cdarkolivegreen | #5d413cdarkolivegreen |
| Muted | #eae7e6linen | #191615black |
| Muted foreground | #615451dimgray | #aea09edarkgray |
| Accent | #ebe2e0gainsboro | #ebe2e0gainsboro |
| Accent foreground | #5d413cdarkolivegreen | #5d413cdarkolivegreen |
| Destructive | #881106darkred | #f64737tomato |
| Destructive foreground | #fcc9c5pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e0e9eblavender | #e0e9eblavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.53:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 6.20:1 | AA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 5.89:1 | AA |
| Accent | 7.19:1 | AAA |
| Destructive | 6.68:1 | AA |
| Text on background | 19.16:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 6.20:1 | AA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 7.14:1 | AAA |
| Accent | 7.19:1 | AAA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Ladybug in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 211.042);
--foreground: oklch(0.141 0.019 208.014);
--muted: oklch(0.93 0.003 31.049);
--muted-foreground: oklch(0.458 0.018 31.171);
--popover: oklch(0.987 0.005 211.04);
--popover-foreground: oklch(0.123 0.016 206.589);
--card: oklch(0.987 0.005 211.04);
--card-foreground: oklch(0.123 0.016 206.589);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.928 0.01 211.038);
--primary-foreground: oklch(0.439 0.035 211.404);
--secondary: oklch(0.919 0.011 31.066);
--secondary-foreground: oklch(0.406 0.041 31.575);
--accent: oklch(0.919 0.011 31.066);
--accent-foreground: oklch(0.406 0.041 31.575);
--destructive: oklch(0.403 0.154 30.17);
--destructive-foreground: oklch(0.88 0.059 24.357);
--ring: oklch(0.928 0.01 211.038);
--chart-1: oklch(0.928 0.01 211.038);
--chart-2: oklch(0.919 0.011 31.066);
--chart-3: oklch(0.919 0.011 31.066);
--chart-4: oklch(0.943 0.007 31.058);
--chart-5: oklch(0.929 0.012 211.038);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.014 208.26);
--foreground: oklch(0.986 0.003 211.042);
--muted: oklch(0.203 0.004 31.096);
--muted-foreground: oklch(0.718 0.016 31.099);
--popover: oklch(0.154 0.016 210.019);
--popover-foreground: oklch(0.993 0.001 211.043);
--card: oklch(0.154 0.016 210.019);
--card-foreground: oklch(0.993 0.001 211.043);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.928 0.01 211.038);
--primary-foreground: oklch(0.439 0.035 211.404);
--secondary: oklch(0.919 0.011 31.066);
--secondary-foreground: oklch(0.406 0.041 31.575);
--accent: oklch(0.919 0.011 31.066);
--accent-foreground: oklch(0.406 0.041 31.575);
--destructive: oklch(0.649 0.213 29.348);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.928 0.01 211.038);
--chart-1: oklch(0.928 0.01 211.038);
--chart-2: oklch(0.919 0.011 31.066);
--chart-3: oklch(0.919 0.011 31.066);
--chart-4: oklch(0.943 0.007 31.058);
--chart-5: oklch(0.929 0.012 211.038);
}