Satire is a shadcn/ui theme built around a vivid light yellow primary color (#f5f9b3) with vivid light purple accents (#f9b3f5). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light yellow primary (#f5f9b3) on a neutral background (#040401).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040401black |
| Foreground | #080802black | #fbfbf9snow |
| Card | #ffffffwhite | #040401black |
| Card foreground | #080802black | #fbfbf9snow |
| Popover | #ffffffwhite | #040401black |
| Popover foreground | #080802black | #fbfbf9snow |
| Primary | #f5f9b3palegoldenrod | #f5f9b3palegoldenrod |
| Primary foreground | #121301black | #121301black |
| Secondary | #b3f5f9paleturquoise | #b3f5f9paleturquoise |
| Secondary foreground | #011213black | #011213black |
| Muted | #eaf5f6whitesmoke | #091515black |
| Muted foreground | #587274dimgray | #8ba5a7darkgray |
| Accent | #f9b3f5plum | #f9b3f5plum |
| Accent foreground | #72096bpurple | #72096bpurple |
| Destructive | #b93c0efirebrick | #ef5e2achocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f5f9b3palegoldenrod | #f5f9b3palegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.07:1 | AAA |
| Text on card | 20.07:1 | AAA |
| Primary button | 17.06:1 | AAA |
| Secondary button | 15.77:1 | AAA |
| Muted text | 4.63:1 | AA |
| Accent | 6.51:1 | AA |
| Destructive | 5.66:1 | AA |
| Text on background | 19.85:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 17.06:1 | AAA |
| Secondary button | 15.77:1 | AAA |
| Muted text | 7.12:1 | AAA |
| Accent | 6.51:1 | AA |
| Destructive | 6.30:1 | AA |
Paste this into your globals.css to use Satire in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.131 0.019 111.201);
--muted: oklch(0.962 0.012 202.081);
--muted-foreground: oklch(0.533 0.031 201.7);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.131 0.019 111.201);
--card: oklch(1 0 180);
--card-foreground: oklch(0.131 0.019 111.201);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.963 0.089 111.155);
--primary-foreground: oklch(0.18 0.036 112.514);
--secondary: oklch(0.927 0.066 201.633);
--secondary-foreground: oklch(0.166 0.025 200.537);
--accent: oklch(0.853 0.117 328.807);
--accent-foreground: oklch(0.386 0.168 331.589);
--destructive: oklch(0.532 0.169 37.336);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.963 0.089 111.155);
--chart-1: oklch(0.963 0.089 111.155);
--chart-2: oklch(0.927 0.066 201.633);
--chart-3: oklch(0.853 0.117 328.807);
--chart-4: oklch(0.94 0.054 201.706);
--chart-5: oklch(0.966 0.092 111.203);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.101 0.011 110.803);
--foreground: oklch(0.987 0.002 109.516);
--muted: oklch(0.184 0.017 201.556);
--muted-foreground: oklch(0.703 0.03 201.815);
--popover: oklch(0.101 0.011 110.803);
--popover-foreground: oklch(0.987 0.002 109.516);
--card: oklch(0.101 0.011 110.803);
--card-foreground: oklch(0.987 0.002 109.516);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.963 0.089 111.155);
--primary-foreground: oklch(0.18 0.036 112.514);
--secondary: oklch(0.927 0.066 201.633);
--secondary-foreground: oklch(0.166 0.025 200.537);
--accent: oklch(0.853 0.117 328.807);
--accent-foreground: oklch(0.386 0.168 331.589);
--destructive: oklch(0.663 0.19 38.786);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.963 0.089 111.155);
--chart-1: oklch(0.963 0.089 111.155);
--chart-2: oklch(0.927 0.066 201.633);
--chart-3: oklch(0.853 0.117 328.807);
--chart-4: oklch(0.94 0.054 201.706);
--chart-5: oklch(0.966 0.092 111.203);
}