Screamer is a shadcn/ui theme built around a vivid blue primary color (#135eae) with vivid indigo accents (#1613ae). The light mode uses a neutral background (#f7fafc). Dark mode keeps the vivid blue primary (#135eae) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fafcghostwhite | #000000black |
| Foreground | #000000black | #fcfcfdwhite |
| Card | #f7fafcghostwhite | #000000black |
| Card foreground | #000000black | #fcfcfdwhite |
| Popover | #f7fafcghostwhite | #000000black |
| Popover foreground | #000000black | #fcfcfdwhite |
| Primary | #135eaedarkcyan | #135eaedarkcyan |
| Primary foreground | #f6fafeghostwhite | #f6fafeghostwhite |
| Secondary | #13acaelightseagreen | #13acaelightseagreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dee3e3gainsboro | #1c2121black |
| Muted foreground | #3b4444darkslategray | #bbc4c4silver |
| Accent | #1613aemediumblue | #1613aemediumblue |
| Accent foreground | #f6f6feghostwhite | #f6f6feghostwhite |
| Destructive | #b32914firebrick | #e8452cchocolate |
| Destructive foreground | #fefbfasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #135eaedarkcyan | #135eaedarkcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.03:1 | AAA |
| Text on card | 20.03:1 | AAA |
| Primary button | 6.15:1 | AA |
| Secondary button | 2.78:1 | Fail |
| Muted text | 7.72:1 | AAA |
| Accent | 11.19:1 | AAA |
| Destructive | 6.28:1 | AA |
| Text on background | 20.48:1 | AAA |
| Text on card | 20.48:1 | AAA |
| Primary button | 6.15:1 | AA |
| Secondary button | 2.78:1 | Fail |
| Muted text | 9.13:1 | AAA |
| Accent | 11.19:1 | AAA |
| Destructive | 3.96:1 | AA Large |
Paste this into your globals.css to use Screamer in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 249.691);
--foreground: oklch(0 0 0);
--muted: oklch(0.912 0.006 198.266);
--muted-foreground: oklch(0.379 0.012 197.921);
--popover: oklch(0.983 0.004 249.691);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.004 249.691);
--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.485 0.145 254.546);
--primary-foreground: oklch(0.983 0.007 249.717);
--secondary: oklch(0.676 0.112 196.769);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.358 0.223 267.803);
--accent-foreground: oklch(0.975 0.011 286.965);
--destructive: oklch(0.503 0.177 31.626);
--destructive-foreground: oklch(0.991 0.004 27.952);
--ring: oklch(0.485 0.145 254.546);
--chart-1: oklch(0.485 0.145 254.546);
--chart-2: oklch(0.676 0.112 196.769);
--chart-3: oklch(0.358 0.223 267.803);
--chart-4: oklch(0.715 0.119 196.774);
--chart-5: oklch(0.487 0.15 254.879);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 249.659);
--muted: oklch(0.243 0.008 197.892);
--muted-foreground: oklch(0.812 0.01 198.185);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.001 249.659);
--card: oklch(0 0 0);
--card-foreground: oklch(0.992 0.001 249.659);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.485 0.145 254.546);
--primary-foreground: oklch(0.983 0.007 249.717);
--secondary: oklch(0.676 0.112 196.769);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.358 0.223 267.803);
--accent-foreground: oklch(0.975 0.011 286.965);
--destructive: oklch(0.623 0.203 31.629);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.485 0.145 254.546);
--chart-1: oklch(0.485 0.145 254.546);
--chart-2: oklch(0.676 0.112 196.769);
--chart-3: oklch(0.358 0.223 267.803);
--chart-4: oklch(0.715 0.119 196.774);
--chart-5: oklch(0.487 0.15 254.879);
}