Screamer is a shadcn/ui theme built around a muted cyan primary color (#7ca2ab) with neutral gray accents (#cacdce). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the muted cyan primary (#7ca2ab) on a neutral background (#030607).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #030607black |
| Foreground | #000000black | #f8fbfbghostwhite |
| Card | #f7fcfdghostwhite | #05090ablack |
| Card foreground | #000000black | #fcfdfdwhite |
| Popover | #fbfdfewhite | #030607black |
| Popover foreground | #000000black | #f8fbfbghostwhite |
| Primary | #7ca2abcadetblue | #7ca2abcadetblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #cacdcelightgrey | #262626darkslategray |
| Secondary foreground | #313435darkslategray | #bfbfbfsilver |
| Muted | #d7dee0gainsboro | #281f1fblack |
| Muted foreground | #505b5edimgray | #afa1a1darkgray |
| Accent | #cacdcelightgrey | #262626darkslategray |
| Accent foreground | #313435darkslategray | #bfbfbfsilver |
| Destructive | #6b2c0asaddlebrown | #ee8044coral |
| Destructive foreground | #f8c9b0peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7ca2abcadetblue | #7ca2abcadetblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.62:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 7.62:1 | AAA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 5.13:1 | AA |
| Accent | 7.85:1 | AAA |
| Destructive | 7.00:1 | AAA |
| Text on background | 19.51:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 7.62:1 | AAA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 6.43:1 | AA |
| Accent | 8.20:1 | AAA |
| Destructive | 7.77:1 | AAA |
Paste this into your globals.css to use Screamer in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 214.324);
--foreground: oklch(0 0 0);
--muted: oklch(0.895 0.008 214.341);
--muted-foreground: oklch(0.462 0.015 214.45);
--popover: oklch(0.993 0.003 214.324);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.005 214.33);
--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.688 0.043 214.748);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.846 0.003 214.326);
--secondary-foreground: oklch(0.323 0.004 214.349);
--accent: oklch(0.846 0.003 214.326);
--accent-foreground: oklch(0.323 0.004 214.349);
--destructive: oklch(0.378 0.1 44.443);
--destructive-foreground: oklch(0.87 0.063 49.802);
--ring: oklch(0.688 0.043 214.748);
--chart-1: oklch(0.688 0.043 214.748);
--chart-2: oklch(0.846 0.003 214.326);
--chart-3: oklch(0.846 0.003 214.326);
--chart-4: oklch(0.87 0.002 214.324);
--chart-5: oklch(0.691 0.049 214.852);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.008 211.663);
--foreground: oklch(0.986 0.003 214.324);
--muted: oklch(0.251 0.013 18.073);
--muted-foreground: oklch(0.722 0.016 17.534);
--popover: oklch(0.119 0.008 211.663);
--popover-foreground: oklch(0.986 0.003 214.324);
--card: oklch(0.136 0.009 211.663);
--card-foreground: oklch(0.993 0.001 214.321);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.688 0.043 214.748);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.27 0 180);
--secondary-foreground: oklch(0.805 0 169.695);
--accent: oklch(0.27 0 180);
--accent-foreground: oklch(0.805 0 169.695);
--destructive: oklch(0.711 0.154 46.991);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.688 0.043 214.748);
--chart-1: oklch(0.688 0.043 214.748);
--chart-2: oklch(0.27 0 180);
--chart-3: oklch(0.27 0 180);
--chart-4: oklch(0.301 0 189.462);
--chart-5: oklch(0.691 0.049 214.852);
}