Atmosphere is a shadcn/ui theme built around a muted blue primary color (#67829e) with muted orange accents (#9e8267). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the muted blue primary (#67829e) on a neutral background (#030507).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #030507black |
| Foreground | #000000black | #fcfcfdwhite |
| Card | #f7fafdghostwhite | #04080bblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7fafdghostwhite | #04080bblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #67829eslategray | #67829eslategray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #9e8267gray | #9e8267gray |
| Secondary foreground | #000000black | #000000black |
| Muted | #e9dbcegainsboro | #312416black |
| Muted foreground | #585450dimgray | #afaba7darkgray |
| Accent | #9e8267gray | #9e8267gray |
| Accent foreground | #000000black | #000000black |
| Destructive | #c54002firebrick | #e34a02orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #67829eslategray | #67829eslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.51:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 3.99:1 | AA Large |
| Secondary button | 5.83:1 | AA |
| Muted text | 5.54:1 | AA |
| Accent | 5.83:1 | AA |
| Destructive | 5.12:1 | AA |
| Text on background | 19.90:1 | AAA |
| Text on card | 20.12:1 | AAA |
| Primary button | 3.99:1 | AA Large |
| Secondary button | 5.83:1 | AA |
| Muted text | 6.61:1 | AA |
| Accent | 5.83:1 | AA |
| Destructive | 4.00:1 | AA Large |
Paste this into your globals.css to use Atmosphere in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 247.848);
--foreground: oklch(0 0 0);
--muted: oklch(0.9 0.024 67.521);
--muted-foreground: oklch(0.449 0.009 67.603);
--popover: oklch(0.983 0.005 247.876);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.005 247.876);
--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.596 0.053 248.728);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.625 0.052 66.642);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.625 0.052 66.642);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.557 0.179 38.641);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.596 0.053 248.728);
--chart-1: oklch(0.596 0.053 248.728);
--chart-2: oklch(0.625 0.052 66.642);
--chart-3: oklch(0.625 0.052 66.642);
--chart-4: oklch(0.649 0.048 66.803);
--chart-5: oklch(0.595 0.06 248.865);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.113 0.009 241.747);
--foreground: oklch(0.992 0.001 247.833);
--muted: oklch(0.271 0.031 65.888);
--muted-foreground: oklch(0.743 0.008 67.707);
--popover: oklch(0.129 0.011 241.915);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.129 0.011 241.915);
--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.596 0.053 248.728);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.625 0.052 66.642);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.625 0.052 66.642);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.618 0.2 38.308);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.596 0.053 248.728);
--chart-1: oklch(0.596 0.053 248.728);
--chart-2: oklch(0.625 0.052 66.642);
--chart-3: oklch(0.625 0.052 66.642);
--chart-4: oklch(0.649 0.048 66.803);
--chart-5: oklch(0.595 0.06 248.865);
}