Welcome is a shadcn/ui theme built around a vivid light red primary color (#fadad1) with muted light red accents (#dcd3d0). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the vivid light red primary (#fadad1) on a red-tinted background (#0f0805).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #0f0805black |
| Foreground | #040201black | #ffffffwhite |
| Card | #fbf9f8snow | #130907black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fdfcfcsnow | #0f0805black |
| Popover foreground | #040201black | #ffffffwhite |
| Primary | #fadad1bisque | #fadad1bisque |
| Primary foreground | #8b2b0esaddlebrown | #8b2b0esaddlebrown |
| Secondary | #dcd3d0lightgrey | #28211fblack |
| Secondary foreground | #463935darkslategray | #c5b8b5silver |
| Muted | #f1efeewhitesmoke | #110e0eblack |
| Muted foreground | #493f3cdarkslategray | #c3b9b6silver |
| Accent | #dcd3d0lightgrey | #28211fblack |
| Accent foreground | #463935darkslategray | #c5b8b5silver |
| Destructive | #661b00maroon | #ff662etomato |
| Destructive foreground | #ffb499lightsalmon | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fadad1bisque | #fadad1bisque |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.22:1 | AAA |
| Text on card | 20.03:1 | AAA |
| Primary button | 6.55:1 | AA |
| Secondary button | 7.53:1 | AAA |
| Muted text | 8.89:1 | AAA |
| Accent | 7.53:1 | AAA |
| Destructive | 7.10:1 | AAA |
| Text on background | 19.89:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 6.55:1 | AA |
| Secondary button | 8.17:1 | AAA |
| Muted text | 9.98:1 | AAA |
| Accent | 8.17:1 | AAA |
| Destructive | 7.17:1 | AAA |
Paste this into your globals.css to use Welcome in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.001 37.736);
--foreground: oklch(0.088 0.013 46.542);
--muted: oklch(0.953 0.003 37.728);
--muted-foreground: oklch(0.376 0.015 37.61);
--popover: oklch(0.992 0.001 37.736);
--popover-foreground: oklch(0.088 0.013 46.542);
--card: oklch(0.984 0.003 37.729);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.913 0.038 37.608);
--primary-foreground: oklch(0.432 0.136 36.215);
--secondary: oklch(0.874 0.01 37.687);
--secondary-foreground: oklch(0.356 0.02 37.594);
--accent: oklch(0.874 0.01 37.687);
--accent-foreground: oklch(0.356 0.02 37.594);
--destructive: oklch(0.343 0.112 37.993);
--destructive-foreground: oklch(0.835 0.095 40.811);
--ring: oklch(0.913 0.038 37.608);
--chart-1: oklch(0.913 0.038 37.608);
--chart-2: oklch(0.874 0.01 37.687);
--chart-3: oklch(0.874 0.01 37.687);
--chart-4: oklch(0.898 0.008 37.698);
--chart-5: oklch(0.913 0.04 37.605);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.016 42.093);
--foreground: oklch(1 0 180);
--muted: oklch(0.169 0.004 37.643);
--muted-foreground: oklch(0.794 0.012 37.673);
--popover: oklch(0.142 0.016 42.093);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.155 0.019 40.063);
--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.913 0.038 37.608);
--primary-foreground: oklch(0.432 0.136 36.215);
--secondary: oklch(0.256 0.011 37.607);
--secondary-foreground: oklch(0.793 0.015 37.662);
--accent: oklch(0.256 0.011 37.607);
--accent-foreground: oklch(0.793 0.015 37.662);
--destructive: oklch(0.697 0.199 38.83);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.913 0.038 37.608);
--chart-1: oklch(0.913 0.038 37.608);
--chart-2: oklch(0.256 0.011 37.607);
--chart-3: oklch(0.256 0.011 37.607);
--chart-4: oklch(0.287 0.013 37.604);
--chart-5: oklch(0.913 0.04 37.605);
}