Response is a shadcn/ui theme built around a red primary color (#dba3a3) with muted light red accents (#dacece). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the red primary (#dba3a3) on a red-tinted background (#0e0707).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f8snow | #0e0707black |
| Foreground | #0c0303black | #faf5f5whitesmoke |
| Card | #fcf8f8snow | #0e0707black |
| Card foreground | #0c0303black | #faf5f5whitesmoke |
| Popover | #fcf8f8snow | #0e0707black |
| Popover foreground | #0c0303black | #faf5f5whitesmoke |
| Primary | #dba3a3tan | #dba3a3tan |
| Primary foreground | #371515black | #371515black |
| Secondary | #dacecelightgrey | #1a1919black |
| Secondary foreground | #433232darkslategray | #b3b2b2darkgray |
| Muted | #efdcdcmistyrose | #231010black |
| Muted foreground | #685e5edimgray | #a19797darkgray |
| Accent | #dacecelightgrey | #1a1919black |
| Accent foreground | #433232darkslategray | #b3b2b2darkgray |
| Destructive | #692302maroon | #f65104orangered |
| Destructive foreground | #febda0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dba3a3tan | #dba3a3tan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.29:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 7.83:1 | AAA |
| Muted text | 4.76:1 | AA |
| Accent | 7.83:1 | AAA |
| Destructive | 7.05:1 | AAA |
| Text on background | 18.52:1 | AAA |
| Text on card | 18.52:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 8.28:1 | AAA |
| Muted text | 6.40:1 | AA |
| Accent | 8.28:1 | AAA |
| Destructive | 3.44:1 | AA Large |
Paste this into your globals.css to use Response in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.005 17.242);
--foreground: oklch(0.119 0.021 20.618);
--muted: oklch(0.91 0.02 17.531);
--muted-foreground: oklch(0.493 0.013 17.595);
--popover: oklch(0.981 0.005 17.242);
--popover-foreground: oklch(0.119 0.021 20.618);
--card: oklch(0.981 0.005 17.242);
--card-foreground: oklch(0.119 0.021 20.618);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.769 0.067 18.717);
--primary-foreground: oklch(0.249 0.054 21.744);
--secondary: oklch(0.86 0.014 17.42);
--secondary-foreground: oklch(0.337 0.024 18.405);
--accent: oklch(0.86 0.014 17.42);
--accent-foreground: oklch(0.337 0.024 18.405);
--destructive: oklch(0.359 0.109 40.887);
--destructive-foreground: oklch(0.851 0.085 45.943);
--ring: oklch(0.769 0.067 18.717);
--chart-1: oklch(0.769 0.067 18.717);
--chart-2: oklch(0.86 0.014 17.42);
--chart-3: oklch(0.86 0.014 17.42);
--chart-4: oklch(0.885 0.011 17.365);
--chart-5: oklch(0.767 0.072 18.845);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.014 19.072);
--foreground: oklch(0.974 0.005 17.25);
--muted: oklch(0.201 0.031 20.159);
--muted-foreground: oklch(0.684 0.012 17.444);
--popover: oklch(0.137 0.014 19.072);
--popover-foreground: oklch(0.974 0.005 17.25);
--card: oklch(0.137 0.014 19.072);
--card-foreground: oklch(0.974 0.005 17.25);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.769 0.067 18.717);
--primary-foreground: oklch(0.249 0.054 21.744);
--secondary: oklch(0.215 0.001 17.219);
--secondary-foreground: oklch(0.764 0.002 17.196);
--accent: oklch(0.215 0.001 17.219);
--accent-foreground: oklch(0.764 0.002 17.196);
--destructive: oklch(0.657 0.212 38.279);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.769 0.067 18.717);
--chart-1: oklch(0.769 0.067 18.717);
--chart-2: oklch(0.215 0.001 17.219);
--chart-3: oklch(0.215 0.001 17.219);
--chart-4: oklch(0.248 0.001 17.225);
--chart-5: oklch(0.767 0.072 18.845);
}