Retouching is a shadcn/ui theme built around a light yellow primary color (#e4e6bc) with light indigo accents (#bebce6). The light mode uses a neutral background (#fdfdf7). Dark mode keeps the light yellow primary (#e4e6bc) on a yellow-tinted background (#0f1005).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdf7snow | #0f1005black |
| Foreground | #090901black | #f9f9f6whitesmoke |
| Card | #fcfcf3floralwhite | #131406black |
| Card foreground | #040401black | #fbfbf9snow |
| Popover | #fcfcf3floralwhite | #131406black |
| Popover foreground | #040401black | #fbfbf9snow |
| Primary | #e4e6bcpalegoldenrod | #e4e6bcpalegoldenrod |
| Primary foreground | #4f521edarkolivegreen | #4f521edarkolivegreen |
| Secondary | #bebce6lightsteelblue | #bebce6lightsteelblue |
| Secondary foreground | #211e52midnightblue | #211e52midnightblue |
| Muted | #d6d6dcgainsboro | #232329darkslategray |
| Muted foreground | #403f50darkslategray | #b0afc0silver |
| Accent | #bebce6lightsteelblue | #bebce6lightsteelblue |
| Accent foreground | #211e52midnightblue | #211e52midnightblue |
| Destructive | #cb3a01firebrick | #fe500borangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e4e6bcpalegoldenrod | #e4e6bcpalegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.56:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 6.39:1 | AA |
| Secondary button | 8.40:1 | AAA |
| Muted text | 7.08:1 | AAA |
| Accent | 8.40:1 | AAA |
| Destructive | 5.06:1 | AA |
| Text on background | 18.18:1 | AAA |
| Text on card | 17.97:1 | AAA |
| Primary button | 6.39:1 | AA |
| Secondary button | 8.40:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 8.40:1 | AAA |
| Destructive | 3.30:1 | AA Large |
Paste this into your globals.css to use Retouching in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.008 108.864);
--foreground: oklch(0.135 0.024 110.923);
--muted: oklch(0.877 0.008 288.532);
--muted-foreground: oklch(0.375 0.029 287.195);
--popover: oklch(0.988 0.012 108.942);
--popover-foreground: oklch(0.107 0.019 110.923);
--card: oklch(0.988 0.012 108.942);
--card-foreground: oklch(0.107 0.019 110.923);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.913 0.056 109.806);
--primary-foreground: oklch(0.424 0.073 111.773);
--secondary: oklch(0.811 0.059 287.292);
--secondary-foreground: oklch(0.273 0.091 280.711);
--accent: oklch(0.811 0.059 287.292);
--accent-foreground: oklch(0.273 0.091 280.711);
--destructive: oklch(0.561 0.189 36.593);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.913 0.056 109.806);
--chart-1: oklch(0.913 0.056 109.806);
--chart-2: oklch(0.811 0.059 287.292);
--chart-3: oklch(0.811 0.059 287.292);
--chart-4: oklch(0.843 0.049 287.596);
--chart-5: oklch(0.917 0.059 109.868);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.167 0.023 110.904);
--foreground: oklch(0.981 0.004 108.793);
--muted: oklch(0.26 0.011 287.875);
--muted-foreground: oklch(0.76 0.024 288.104);
--popover: oklch(0.184 0.026 111.126);
--popover-foreground: oklch(0.987 0.003 108.765);
--card: oklch(0.184 0.026 111.126);
--card-foreground: oklch(0.987 0.003 108.765);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.913 0.056 109.806);
--primary-foreground: oklch(0.424 0.073 111.773);
--secondary: oklch(0.811 0.059 287.292);
--secondary-foreground: oklch(0.273 0.091 280.711);
--accent: oklch(0.811 0.059 287.292);
--accent-foreground: oklch(0.273 0.091 280.711);
--destructive: oklch(0.669 0.219 37.134);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.913 0.056 109.806);
--chart-1: oklch(0.913 0.056 109.806);
--chart-2: oklch(0.811 0.059 287.292);
--chart-3: oklch(0.811 0.059 287.292);
--chart-4: oklch(0.843 0.049 287.596);
--chart-5: oklch(0.917 0.059 109.868);
}