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.
Saint is a shadcn/ui theme built around a light cyan primary color (#c0e2e7) with neutral gray accents (#e2e4e4). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the light cyan primary (#c0e2e7) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #010304black |
| Foreground | #030b0dblack | #f5f9f9whitesmoke |
| Card | #f8fbfcghostwhite | #030707black |
| Card foreground | #020809black | #f9fbfbghostwhite |
| Popover | #fcfdfdwhite | #010304black |
| Popover foreground | #030b0dblack | #f5f9f9whitesmoke |
| Primary | #c0e2e7powderblue | #c0e2e7powderblue |
| Primary foreground | #204e55darkslategray | #204e55darkslategray |
| Secondary | #e2e4e4gainsboro | #1b1d1dblack |
| Secondary foreground | #464d4edarkslategray | #b1b8b9silver |
| Muted | #d5e0e1gainsboro | #1e282adarkslategray |
| Muted foreground | #4c5657darkslategray | #a8b2b3darkgray |
| Accent | #e2e4e4gainsboro | #1b1d1dblack |
| Accent foreground | #464d4edarkslategray | #b1b8b9silver |
| Destructive | #6f1f02maroon | #ec4204orangered |
| Destructive foreground | #febca5lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c0e2e7powderblue | #c0e2e7powderblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.48:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 6.69:1 | AA |
| Secondary button | 6.75:1 | AA |
| Muted text | 5.60:1 | AA |
| Accent | 6.75:1 | AA |
| Destructive | 6.95:1 | AA |
| Text on background | 19.44:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 6.69:1 | AA |
| Secondary button | 8.40:1 | AAA |
| Muted text | 6.95:1 | AA |
| Accent | 8.40:1 | AAA |
| Destructive | 3.93:1 | AA Large |
Paste this into your globals.css to use Saint in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 207.926);
--foreground: oklch(0.141 0.017 205.361);
--muted: oklch(0.898 0.012 207.882);
--muted-foreground: oklch(0.444 0.013 207.844);
--popover: oklch(0.993 0.002 207.926);
--popover-foreground: oklch(0.141 0.017 205.361);
--card: oklch(0.987 0.003 207.918);
--card-foreground: oklch(0.123 0.015 204.378);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.89 0.036 207.836);
--primary-foreground: oklch(0.395 0.051 208.821);
--secondary: oklch(0.917 0.003 207.921);
--secondary-foreground: oklch(0.414 0.008 207.86);
--accent: oklch(0.917 0.003 207.921);
--accent-foreground: oklch(0.414 0.008 207.86);
--destructive: oklch(0.364 0.118 37.66);
--destructive-foreground: oklch(0.85 0.083 40.856);
--ring: oklch(0.89 0.036 207.836);
--chart-1: oklch(0.89 0.036 207.836);
--chart-2: oklch(0.917 0.003 207.921);
--chart-3: oklch(0.917 0.003 207.921);
--chart-4: oklch(0.94 0.002 207.924);
--chart-5: oklch(0.891 0.039 207.837);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.008 205.428);
--foreground: oklch(0.979 0.004 207.917);
--muted: oklch(0.268 0.015 207.855);
--muted-foreground: oklch(0.755 0.011 207.875);
--popover: oklch(0.096 0.008 205.428);
--popover-foreground: oklch(0.979 0.004 207.917);
--card: oklch(0.121 0.01 205.428);
--card-foreground: oklch(0.986 0.002 207.922);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.89 0.036 207.836);
--primary-foreground: oklch(0.395 0.051 208.821);
--secondary: oklch(0.229 0.004 207.871);
--secondary-foreground: oklch(0.777 0.007 207.894);
--accent: oklch(0.229 0.004 207.871);
--accent-foreground: oklch(0.777 0.007 207.894);
--destructive: oklch(0.625 0.214 35.663);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.89 0.036 207.836);
--chart-1: oklch(0.89 0.036 207.836);
--chart-2: oklch(0.229 0.004 207.871);
--chart-3: oklch(0.229 0.004 207.871);
--chart-4: oklch(0.262 0.005 207.868);
--chart-5: oklch(0.891 0.039 207.837);
}