Sunset is a shadcn/ui theme built around a vivid light pink primary color (#fca6cb) with vivid light blue accents (#a6cbfc). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light pink primary (#fca6cb) on a neutral background (#040102).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040102black |
| Foreground | #0c0407black | #ffffffwhite |
| Card | #ffffffwhite | #040102black |
| Card foreground | #0c0407black | #ffffffwhite |
| Popover | #ffffffwhite | #040102black |
| Popover foreground | #0c0407black | #ffffffwhite |
| Primary | #fca6cblightpink | #fca6cblightpink |
| Primary foreground | #6c0431maroon | #6c0431maroon |
| Secondary | #cbfca6palegoldenrod | #cbfca6palegoldenrod |
| Secondary foreground | #040a00black | #040a00black |
| Muted | #dfead7gainsboro | #1d2815black |
| Muted foreground | #5f6d54dimgray | #9cab92darkseagreen |
| Accent | #a6cbfclightblue | #a6cbfclightblue |
| Accent foreground | #04316cmidnightblue | #04316cmidnightblue |
| Destructive | #c14615chocolate | #eb7647coral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fca6cblightpink | #fca6cblightpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 6.75:1 | AA |
| Secondary button | 17.16:1 | AAA |
| Muted text | 4.43:1 | AA Large |
| Accent | 7.59:1 | AAA |
| Destructive | 5.06:1 | AA |
| Text on background | 20.77:1 | AAA |
| Text on card | 20.77:1 | AAA |
| Primary button | 6.75:1 | AA |
| Secondary button | 17.16:1 | AAA |
| Muted text | 6.33:1 | AA |
| Accent | 7.59:1 | AAA |
| Destructive | 7.18:1 | AAA |
Paste this into your globals.css to use Sunset in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.122 0.022 348.659);
--muted: oklch(0.923 0.027 131.343);
--muted-foreground: oklch(0.517 0.042 131.84);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.122 0.022 348.659);
--card: oklch(1 0 180);
--card-foreground: oklch(0.122 0.022 348.659);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.82 0.11 352.21);
--primary-foreground: oklch(0.345 0.135 3.972);
--secondary: oklch(0.937 0.121 132.358);
--secondary-foreground: oklch(0.132 0.033 128.96);
--accent: oklch(0.834 0.079 255.299);
--accent-foreground: oklch(0.325 0.113 257.76);
--destructive: oklch(0.558 0.167 39.006);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.82 0.11 352.21);
--chart-1: oklch(0.82 0.11 352.21);
--chart-2: oklch(0.937 0.121 132.358);
--chart-3: oklch(0.834 0.079 255.299);
--chart-4: oklch(0.946 0.102 132.109);
--chart-5: oklch(0.82 0.113 352.325);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.016 348.397);
--foreground: oklch(1 0 180);
--muted: oklch(0.26 0.036 132.455);
--muted-foreground: oklch(0.722 0.039 131.573);
--popover: oklch(0.084 0.016 348.397);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.084 0.016 348.397);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.82 0.11 352.21);
--primary-foreground: oklch(0.345 0.135 3.972);
--secondary: oklch(0.937 0.121 132.358);
--secondary-foreground: oklch(0.132 0.033 128.96);
--accent: oklch(0.834 0.079 255.299);
--accent-foreground: oklch(0.325 0.113 257.76);
--destructive: oklch(0.692 0.157 41.392);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.82 0.11 352.21);
--chart-1: oklch(0.82 0.11 352.21);
--chart-2: oklch(0.937 0.121 132.358);
--chart-3: oklch(0.834 0.079 255.299);
--chart-4: oklch(0.946 0.102 132.109);
--chart-5: oklch(0.82 0.113 352.325);
}