Immediate is a shadcn/ui theme built around a muted light teal primary color (#dfe7e5) with muted light yellow accents (#e7e5df). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light teal primary (#dfe7e5) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #05100cblack | #fcfdfdwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #05100cblack | #fcfdfdwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #05100cblack | #fcfdfdwhite |
| Primary | #dfe7e5gainsboro | #dfe7e5gainsboro |
| Primary foreground | #40544edarkslategray | #40544edarkslategray |
| Secondary | #e5dfe7gainsboro | #e5dfe7gainsboro |
| Secondary foreground | #4e4054darkslategray | #4e4054darkslategray |
| Muted | #f4eef7whitesmoke | #0f0811black |
| Muted foreground | #454446darkslategray | #bab9bbsilver |
| Accent | #e7e5dfgainsboro | #e7e5dfgainsboro |
| Accent foreground | #544e40darkolivegreen | #544e40darkolivegreen |
| Destructive | #621704maroon | #f8603atomato |
| Destructive foreground | #fbb09dlightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dfe7e5gainsboro | #dfe7e5gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.33:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 6.42:1 | AA |
| Secondary button | 7.33:1 | AAA |
| Muted text | 8.47:1 | AAA |
| Accent | 6.53:1 | AA |
| Destructive | 7.17:1 | AAA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 6.42:1 | AA |
| Secondary button | 7.33:1 | AAA |
| Muted text | 10.10:1 | AAA |
| Accent | 6.53:1 | AA |
| Destructive | 6.72:1 | AA |
Paste this into your globals.css to use Immediate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.158 0.018 174.337);
--muted: oklch(0.956 0.014 315.968);
--muted-foreground: oklch(0.389 0.003 315.997);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.158 0.018 174.337);
--card: oklch(1 0 180);
--card-foreground: oklch(0.158 0.018 174.337);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.921 0.009 176.372);
--primary-foreground: oklch(0.428 0.028 174.627);
--secondary: oklch(0.91 0.012 315.974);
--secondary-foreground: oklch(0.393 0.039 315.665);
--accent: oklch(0.921 0.008 87.463);
--accent-foreground: oklch(0.426 0.024 87.566);
--destructive: oklch(0.331 0.112 34.706);
--destructive-foreground: oklch(0.823 0.094 34.595);
--ring: oklch(0.921 0.009 176.372);
--chart-1: oklch(0.921 0.009 176.372);
--chart-2: oklch(0.91 0.012 315.974);
--chart-3: oklch(0.921 0.008 87.463);
--chart-4: oklch(0.935 0.009 315.988);
--chart-5: oklch(0.922 0.011 176.312);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.994 0.002 176.599);
--muted: oklch(0.149 0.023 315.616);
--muted-foreground: oklch(0.788 0.002 316.012);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.994 0.002 176.599);
--card: oklch(0 0 0);
--card-foreground: oklch(0.994 0.002 176.599);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.921 0.009 176.372);
--primary-foreground: oklch(0.428 0.028 174.627);
--secondary: oklch(0.91 0.012 315.974);
--secondary-foreground: oklch(0.393 0.039 315.665);
--accent: oklch(0.921 0.008 87.463);
--accent-foreground: oklch(0.426 0.024 87.566);
--destructive: oklch(0.68 0.194 35.104);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.921 0.009 176.372);
--chart-1: oklch(0.921 0.009 176.372);
--chart-2: oklch(0.91 0.012 315.974);
--chart-3: oklch(0.921 0.008 87.463);
--chart-4: oklch(0.935 0.009 315.988);
--chart-5: oklch(0.922 0.011 176.312);
}