Sensible Meteor Shower is a shadcn/ui theme built around a vivid indigo primary color (#5d32f5) with muted light indigo accents (#ceccd7). The light mode uses a neutral background (#f9f8fc). Dark mode keeps the vivid indigo primary (#5d32f5) on an indigo-tinted background (#06040b).
| Token | Light | Dark |
|---|---|---|
| Background | #f9f8fcghostwhite | #06040bblack |
| Foreground | #000000black | #f9f8fbghostwhite |
| Card | #f5f4fbwhitesmoke | #08060fblack |
| Card foreground | #000000black | #fcfcfdwhite |
| Popover | #f9f8fcghostwhite | #06040bblack |
| Popover foreground | #000000black | #f9f8fbghostwhite |
| Primary | #5d32f5blueviolet | #5d32f5blueviolet |
| Primary foreground | #f7f5ffghostwhite | #f7f5ffghostwhite |
| Secondary | #e2e2e4gainsboro | #161519black |
| Secondary foreground | #48464edarkslategray | #adaab5darkgray |
| Muted | #dddce0gainsboro | #201f23black |
| Muted foreground | #57526bdimgray | #9a94addarkgray |
| Accent | #ceccd7lightgrey | #211f28black |
| Accent foreground | #34313fdarkslategray | #b8b4c5silver |
| Destructive | #f31260crimson | #f31260crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5d32f5blueviolet | #5d32f5blueviolet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.80:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 5.98:1 | AA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 5.42:1 | AA |
| Accent | 7.96:1 | AAA |
| Destructive | 4.14:1 | AA Large |
| Text on background | 19.24:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 5.98:1 | AA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 5.63:1 | AA |
| Accent | 8.02:1 | AAA |
| Destructive | 4.14:1 | AA Large |
Paste this into your globals.css to use Sensible Meteor Shower in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.006 296.219);
--foreground: oklch(0 0 0);
--muted: oklch(0.895 0.006 296.201);
--muted-foreground: oklch(0.454 0.04 294.686);
--popover: oklch(0.98 0.006 296.219);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.97 0.009 296.161);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.513 0.264 281.703);
--primary-foreground: oklch(0.975 0.012 296.098);
--secondary: oklch(0.913 0.004 296.254);
--secondary-foreground: oklch(0.399 0.012 295.761);
--accent: oklch(0.849 0.015 296.001);
--accent-foreground: oklch(0.323 0.024 294.959);
--destructive: oklch(0.619 0.242 11.329);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.513 0.264 281.703);
--chart-1: oklch(0.513 0.264 281.703);
--chart-2: oklch(0.913 0.004 296.254);
--chart-3: oklch(0.849 0.015 296.001);
--chart-4: oklch(0.937 0.003 296.277);
--chart-5: oklch(0.511 0.27 280.985);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.117 0.018 295.75);
--foreground: oklch(0.981 0.004 296.252);
--muted: oklch(0.242 0.009 295.659);
--muted-foreground: oklch(0.68 0.036 295.353);
--popover: oklch(0.117 0.018 295.75);
--popover-foreground: oklch(0.981 0.004 296.252);
--card: oklch(0.13 0.021 294.974);
--card-foreground: oklch(0.991 0.002 296.292);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.513 0.264 281.703);
--primary-foreground: oklch(0.975 0.012 296.098);
--secondary: oklch(0.199 0.006 295.741);
--secondary-foreground: oklch(0.745 0.016 295.941);
--accent: oklch(0.246 0.018 295.001);
--accent-foreground: oklch(0.779 0.025 295.754);
--destructive: oklch(0.619 0.242 11.329);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.513 0.264 281.703);
--chart-1: oklch(0.513 0.264 281.703);
--chart-2: oklch(0.199 0.006 295.741);
--chart-3: oklch(0.246 0.018 295.001);
--chart-4: oklch(0.231 0.008 295.676);
--chart-5: oklch(0.511 0.27 280.985);
}