Resolution is a shadcn/ui theme built around a vivid light red primary color (#fac9bd) with vivid light yellow accents (#fae8bd). The light mode uses a neutral background (#fdf8f7). Dark mode keeps the vivid light red primary (#fac9bd) on a red-tinted background (#0b0604).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf8f7snow | #0b0604black |
| Foreground | #160704black | #f8f7f7whitesmoke |
| Card | #fdf8f7snow | #0b0604black |
| Card foreground | #160704black | #f8f7f7whitesmoke |
| Popover | #fdf8f7snow | #0b0604black |
| Popover foreground | #160704black | #f8f7f7whitesmoke |
| Primary | #fac9bdpink | #fac9bdpink |
| Primary foreground | #7b2009maroon | #7b2009maroon |
| Secondary | #fabdcfpink | #fabdcfpink |
| Secondary foreground | #7b092bmaroon | #7b092bmaroon |
| Muted | #edd9dfgainsboro | #261218black |
| Muted foreground | #6c5a60dimgray | #a59398rosybrown |
| Accent | #fae8bdbisque | #fae8bdbisque |
| Accent foreground | #1c1502black | #1c1502black |
| Destructive | #9a2a04saddlebrown | #fa6938tomato |
| Destructive foreground | #feddd2blanchedalmond | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fac9bdpink | #fac9bdpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.69:1 | AAA |
| Text on card | 18.69:1 | AAA |
| Primary button | 6.88:1 | AA |
| Secondary button | 6.89:1 | AA |
| Muted text | 4.77:1 | AA |
| Accent | 14.93:1 | AAA |
| Destructive | 6.10:1 | AA |
| Text on background | 18.87:1 | AAA |
| Text on card | 18.87:1 | AAA |
| Primary button | 6.88:1 | AA |
| Secondary button | 6.89:1 | AA |
| Muted text | 6.10:1 | AA |
| Accent | 14.93:1 | AAA |
| Destructive | 7.12:1 | AAA |
Paste this into your globals.css to use Resolution in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.006 34.307);
--foreground: oklch(0.153 0.028 39.763);
--muted: oklch(0.903 0.023 357.379);
--muted-foreground: oklch(0.489 0.025 358.067);
--popover: oklch(0.983 0.006 34.307);
--popover-foreground: oklch(0.153 0.028 39.763);
--card: oklch(0.983 0.006 34.307);
--card-foreground: oklch(0.153 0.028 39.763);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.875 0.059 34.384);
--primary-foreground: oklch(0.39 0.129 34.369);
--secondary: oklch(0.858 0.074 359.041);
--secondary-foreground: oklch(0.377 0.144 12.726);
--accent: oklch(0.934 0.059 87.556);
--accent-foreground: oklch(0.199 0.036 88.066);
--destructive: oklch(0.457 0.154 35.871);
--destructive-foreground: oklch(0.922 0.039 39.305);
--ring: oklch(0.875 0.059 34.384);
--chart-1: oklch(0.875 0.059 34.384);
--chart-2: oklch(0.858 0.074 359.041);
--chart-3: oklch(0.934 0.059 87.556);
--chart-4: oklch(0.888 0.057 358.456);
--chart-5: oklch(0.875 0.061 34.393);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.012 39.027);
--foreground: oklch(0.977 0.002 34.315);
--muted: oklch(0.214 0.034 1.025);
--muted-foreground: oklch(0.679 0.023 357.595);
--popover: oklch(0.128 0.012 39.027);
--popover-foreground: oklch(0.977 0.002 34.315);
--card: oklch(0.128 0.012 39.027);
--card-foreground: oklch(0.977 0.002 34.315);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.875 0.059 34.384);
--primary-foreground: oklch(0.39 0.129 34.369);
--secondary: oklch(0.858 0.074 359.041);
--secondary-foreground: oklch(0.377 0.144 12.726);
--accent: oklch(0.934 0.059 87.556);
--accent-foreground: oklch(0.199 0.036 88.066);
--destructive: oklch(0.694 0.189 38.225);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.875 0.059 34.384);
--chart-1: oklch(0.875 0.059 34.384);
--chart-2: oklch(0.858 0.074 359.041);
--chart-3: oklch(0.934 0.059 87.556);
--chart-4: oklch(0.888 0.057 358.456);
--chart-5: oklch(0.875 0.061 34.393);
}