Generate feedback colors (success, warning, error, and info) for shadcn/ui
Go to generatorUsed by 4k+ developers. Want me to build your product next? Let's work together.
Weekender is a shadcn/ui theme built around a muted light blue primary color (#e2e7ee) with muted light orange accents (#eee9e2). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the muted light blue primary (#e2e7ee) on a neutral background (#030507).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #030507black |
| Foreground | #03070cblack | #f9fafbghostwhite |
| Card | #fbfcfewhite | #030507black |
| Card foreground | #03070cblack | #f9fafbghostwhite |
| Popover | #fbfcfewhite | #030507black |
| Popover foreground | #03070cblack | #f9fafbghostwhite |
| Primary | #e2e7eelavender | #e2e7eelavender |
| Primary foreground | #394d65darkslategray | #394d65darkslategray |
| Secondary | #eee9e2linen | #eee9e2linen |
| Secondary foreground | #655139darkolivegreen | #655139darkolivegreen |
| Muted | #e7e3degainsboro | #211c18black |
| Muted foreground | #635a4fdimgray | #b0a79cdarkgray |
| Accent | #eee9e2linen | #eee9e2linen |
| Accent foreground | #655139darkolivegreen | #655139darkolivegreen |
| Destructive | #e42f01orangered | #e42f01orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e2e7eelavender | #e2e7eelavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.71:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 6.22:1 | AA |
| Muted text | 5.31:1 | AA |
| Accent | 6.22:1 | AA |
| Destructive | 4.45:1 | AA Large |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 6.22:1 | AA |
| Muted text | 7.10:1 | AAA |
| Accent | 6.22:1 | AA |
| Destructive | 4.45:1 | AA Large |
Paste this into your globals.css to use Weekender in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 253.238);
--foreground: oklch(0.126 0.016 245.227);
--muted: oklch(0.919 0.008 73.155);
--muted-foreground: oklch(0.474 0.02 72.831);
--popover: oklch(0.991 0.003 253.238);
--popover-foreground: oklch(0.126 0.016 245.227);
--card: oklch(0.991 0.003 253.238);
--card-foreground: oklch(0.126 0.016 245.227);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.927 0.011 253.301);
--primary-foreground: oklch(0.414 0.048 253.834);
--secondary: oklch(0.936 0.011 73.127);
--secondary-foreground: oklch(0.45 0.045 71.857);
--accent: oklch(0.936 0.011 73.127);
--accent-foreground: oklch(0.45 0.045 71.857);
--destructive: oklch(0.596 0.22 32.828);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.927 0.011 253.301);
--chart-1: oklch(0.927 0.011 253.301);
--chart-2: oklch(0.936 0.011 73.127);
--chart-3: oklch(0.936 0.011 73.127);
--chart-4: oklch(0.957 0.008 73.161);
--chart-5: oklch(0.926 0.013 253.309);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.111 0.01 246.604);
--foreground: oklch(0.984 0.002 253.236);
--muted: oklch(0.231 0.011 72.771);
--muted-foreground: oklch(0.732 0.018 73.015);
--popover: oklch(0.111 0.01 246.604);
--popover-foreground: oklch(0.984 0.002 253.236);
--card: oklch(0.111 0.01 246.604);
--card-foreground: oklch(0.984 0.002 253.236);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.927 0.011 253.301);
--primary-foreground: oklch(0.414 0.048 253.834);
--secondary: oklch(0.936 0.011 73.127);
--secondary-foreground: oklch(0.45 0.045 71.857);
--accent: oklch(0.936 0.011 73.127);
--accent-foreground: oklch(0.45 0.045 71.857);
--destructive: oklch(0.596 0.22 32.828);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.927 0.011 253.301);
--chart-1: oklch(0.927 0.011 253.301);
--chart-2: oklch(0.936 0.011 73.127);
--chart-3: oklch(0.936 0.011 73.127);
--chart-4: oklch(0.957 0.008 73.161);
--chart-5: oklch(0.926 0.013 253.309);
}