Shout is a shadcn/ui theme built around a light orange primary color (#dcbca7) with light violet accents (#bca7dc). The light mode uses a neutral background (#fefcfb). Dark mode keeps the light orange primary (#dcbca7) on a neutral background (#040201).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #040201black |
| Foreground | #150b05black | #fcf9f8snow |
| Card | #fefcfbsnow | #040201black |
| Card foreground | #150b05black | #fcf9f8snow |
| Popover | #fefcfbsnow | #040201black |
| Popover foreground | #150b05black | #fcf9f8snow |
| Primary | #dcbca7tan | #dcbca7tan |
| Primary foreground | #3a2517darkslategray | #3a2517darkslategray |
| Secondary | #a7dcbcsilver | #a7dcbcsilver |
| Secondary foreground | #173a25darkslategray | #173a25darkslategray |
| Muted | #e8f2echoneydew | #0d1711black |
| Muted foreground | #454a47darkslategray | #b5bab7silver |
| Accent | #bca7dclightsteelblue | #bca7dclightsteelblue |
| Accent foreground | #25173amidnightblue | #25173amidnightblue |
| Destructive | #c42b08firebrick | #f5350aorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dcbca7tan | #dcbca7tan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.98:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 8.08:1 | AAA |
| Secondary button | 8.16:1 | AAA |
| Muted text | 7.89:1 | AAA |
| Accent | 7.70:1 | AAA |
| Destructive | 5.69:1 | AA |
| Text on background | 19.74:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 8.08:1 | AAA |
| Secondary button | 8.16:1 | AAA |
| Muted text | 9.32:1 | AAA |
| Accent | 7.70:1 | AAA |
| Destructive | 3.89:1 | AA Large |
Paste this into your globals.css to use Shout in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 54.48);
--foreground: oklch(0.161 0.022 56.728);
--muted: oklch(0.952 0.013 159.165);
--muted-foreground: oklch(0.404 0.009 158.938);
--popover: oklch(0.992 0.002 54.48);
--popover-foreground: oklch(0.161 0.022 56.728);
--card: oklch(0.992 0.002 54.48);
--card-foreground: oklch(0.161 0.022 56.728);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.817 0.047 53.743);
--primary-foreground: oklch(0.287 0.04 52.356);
--secondary: oklch(0.849 0.071 157.451);
--secondary-foreground: oklch(0.317 0.057 154.404);
--accent: oklch(0.765 0.077 302.134);
--accent-foreground: oklch(0.243 0.066 299.15);
--destructive: oklch(0.534 0.193 32.851);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.817 0.047 53.743);
--chart-1: oklch(0.817 0.047 53.743);
--chart-2: oklch(0.849 0.071 157.451);
--chart-3: oklch(0.765 0.077 302.134);
--chart-4: oklch(0.868 0.062 157.766);
--chart-5: oklch(0.817 0.05 53.689);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.092 0.008 61.084);
--foreground: oklch(0.985 0.003 54.459);
--muted: oklch(0.191 0.019 157.058);
--muted-foreground: oklch(0.785 0.008 159.24);
--popover: oklch(0.092 0.008 61.084);
--popover-foreground: oklch(0.985 0.003 54.459);
--card: oklch(0.092 0.008 61.084);
--card-foreground: oklch(0.985 0.003 54.459);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.817 0.047 53.743);
--primary-foreground: oklch(0.287 0.04 52.356);
--secondary: oklch(0.849 0.071 157.451);
--secondary-foreground: oklch(0.317 0.057 154.404);
--accent: oklch(0.765 0.077 302.134);
--accent-foreground: oklch(0.243 0.066 299.15);
--destructive: oklch(0.63 0.23 32.658);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.817 0.047 53.743);
--chart-1: oklch(0.817 0.047 53.743);
--chart-2: oklch(0.849 0.071 157.451);
--chart-3: oklch(0.765 0.077 302.134);
--chart-4: oklch(0.868 0.062 157.766);
--chart-5: oklch(0.817 0.05 53.689);
}