Screamer is a shadcn/ui theme built around a light blue primary color (#b3c6ea) with neutral gray accents (#d1d1d1). The light mode uses a neutral background (#f7f9fd). Dark mode keeps the light blue primary (#b3c6ea) on a blue-tinted background (#06090e).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f9fdghostwhite | #06090eblack |
| Foreground | #020408black | #f8f9fcghostwhite |
| Card | #f2f6fcaliceblue | #080b12black |
| Card foreground | #010204black | #fcfcfdwhite |
| Popover | #f7f9fdghostwhite | #06090eblack |
| Popover foreground | #020408black | #f8f9fcghostwhite |
| Primary | #b3c6ealightsteelblue | #b3c6ealightsteelblue |
| Primary foreground | #182c54midnightblue | #182c54midnightblue |
| Secondary | #d1d1d1lightgrey | #25282cdarkslategray |
| Secondary foreground | #383838darkslategray | #bcc0c7silver |
| Muted | #eeddddgainsboro | #111722black |
| Muted foreground | #5f5858dimgray | #a0a2a7darkgray |
| Accent | #d1d1d1lightgrey | #25282cdarkslategray |
| Accent foreground | #383838darkslategray | #bcc0c7silver |
| Destructive | #9f3504saddlebrown | #f95a10orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b3c6ealightsteelblue | #b3c6ealightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.43:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 7.95:1 | AAA |
| Secondary button | 7.68:1 | AAA |
| Muted text | 5.30:1 | AA |
| Accent | 7.68:1 | AAA |
| Destructive | 7.02:1 | AAA |
| Text on background | 18.94:1 | AAA |
| Text on card | 19.20:1 | AAA |
| Primary button | 7.95:1 | AAA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 7.04:1 | AAA |
| Accent | 8.13:1 | AAA |
| Destructive | 6.49:1 | AA |
Paste this into your globals.css to use Screamer in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 264.531);
--foreground: oklch(0.107 0.013 256.911);
--muted: oklch(0.911 0.019 17.498);
--muted-foreground: oklch(0.468 0.01 17.5);
--popover: oklch(0.981 0.006 264.531);
--popover-foreground: oklch(0.107 0.013 256.911);
--card: oklch(0.972 0.01 264.519);
--card-foreground: oklch(0.085 0.011 256.911);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.823 0.055 264.211);
--primary-foreground: oklch(0.298 0.077 262.644);
--secondary: oklch(0.861 0 180);
--secondary-foreground: oklch(0.341 0 158.199);
--accent: oklch(0.861 0 180);
--accent-foreground: oklch(0.341 0 158.199);
--destructive: oklch(0.479 0.149 39.541);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.823 0.055 264.211);
--chart-1: oklch(0.823 0.055 264.211);
--chart-2: oklch(0.861 0 180);
--chart-3: oklch(0.861 0 180);
--chart-4: oklch(0.885 0 180);
--chart-5: oklch(0.822 0.058 264.185);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.013 260.809);
--foreground: oklch(0.983 0.003 264.541);
--muted: oklch(0.203 0.024 263.81);
--muted-foreground: oklch(0.712 0.008 264.516);
--popover: oklch(0.138 0.013 260.809);
--popover-foreground: oklch(0.983 0.003 264.541);
--card: oklch(0.149 0.016 262.956);
--card-foreground: oklch(0.991 0.002 264.546);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.823 0.055 264.211);
--primary-foreground: oklch(0.298 0.077 262.644);
--secondary: oklch(0.275 0.01 264.403);
--secondary-foreground: oklch(0.807 0.011 264.504);
--accent: oklch(0.275 0.01 264.403);
--accent-foreground: oklch(0.807 0.011 264.504);
--destructive: oklch(0.672 0.207 39.722);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.823 0.055 264.211);
--chart-1: oklch(0.823 0.055 264.211);
--chart-2: oklch(0.275 0.01 264.403);
--chart-3: oklch(0.275 0.01 264.403);
--chart-4: oklch(0.305 0.011 264.394);
--chart-5: oklch(0.822 0.058 264.185);
}