Outset is a shadcn/ui theme built around a near-white primary color (#fdfdf7) with near-white accents (#fdf7fd). The light mode uses a neutral background (#fdfdf7). Dark mode keeps the near-white primary (#fdfdf7) on a neutral background (#040401).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdf7snow | #040401black |
| Foreground | #080902black | #ffffffwhite |
| Card | #fcfcf2floralwhite | #080802black |
| Card foreground | #040401black | #ffffffwhite |
| Popover | #fcfcf2floralwhite | #080802black |
| Popover foreground | #040401black | #ffffffwhite |
| Primary | #fdfdf7snow | #fdfdf7snow |
| Primary foreground | #484a11darkolivegreen | #484a11darkolivegreen |
| Secondary | #f7fdfdmintcream | #f7fdfdmintcream |
| Secondary foreground | #11484adarkslategray | #11484adarkslategray |
| Muted | #dce9eagainsboro | #152223black |
| Muted foreground | #546869dimgray | #96aaabdarkgray |
| Accent | #fdf7fdsnow | #fdf7fdsnow |
| Accent foreground | #9d2597darkmagenta | #9d2597darkmagenta |
| Destructive | #b73c0bfirebrick | #f14e0eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fdfdf7snow | #fdfdf7snow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.60:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 9.08:1 | AAA |
| Secondary button | 9.94:1 | AAA |
| Muted text | 4.74:1 | AA |
| Accent | 6.31:1 | AA |
| Destructive | 5.74:1 | AA |
| Text on background | 20.52:1 | AAA |
| Text on card | 20.07:1 | AAA |
| Primary button | 9.08:1 | AAA |
| Secondary button | 9.94:1 | AAA |
| Muted text | 6.69:1 | AA |
| Accent | 6.31:1 | AA |
| Destructive | 3.59:1 | AA Large |
Paste this into your globals.css to use Outset in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.009 108.872);
--foreground: oklch(0.133 0.021 110.747);
--muted: oklch(0.925 0.014 200.705);
--muted-foreground: oklch(0.5 0.024 200.37);
--popover: oklch(0.989 0.013 108.953);
--popover-foreground: oklch(0.106 0.017 110.747);
--card: oklch(0.989 0.013 108.953);
--card-foreground: oklch(0.106 0.017 110.747);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.992 0.008 108.864);
--primary-foreground: oklch(0.396 0.077 112.242);
--secondary: oklch(0.989 0.006 200.811);
--secondary-foreground: oklch(0.367 0.055 200.186);
--accent: oklch(0.982 0.01 327.135);
--accent-foreground: oklch(0.501 0.198 330.287);
--destructive: oklch(0.529 0.168 37.937);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.992 0.008 108.864);
--chart-1: oklch(0.992 0.008 108.864);
--chart-2: oklch(0.989 0.006 200.811);
--chart-3: oklch(0.982 0.01 327.135);
--chart-4: oklch(1.006 0.003 20.929);
--chart-5: oklch(0.993 0.009 108.872);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.104 0.015 110.537);
--foreground: oklch(1 0 180);
--muted: oklch(0.242 0.018 200.135);
--muted-foreground: oklch(0.723 0.022 200.538);
--popover: oklch(0.131 0.019 110.537);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.131 0.019 110.537);
--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.992 0.008 108.864);
--primary-foreground: oklch(0.396 0.077 112.242);
--secondary: oklch(0.989 0.006 200.811);
--secondary-foreground: oklch(0.367 0.055 200.186);
--accent: oklch(0.982 0.01 327.135);
--accent-foreground: oklch(0.501 0.198 330.287);
--destructive: oklch(0.646 0.209 37.542);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.992 0.008 108.864);
--chart-1: oklch(0.992 0.008 108.864);
--chart-2: oklch(0.989 0.006 200.811);
--chart-3: oklch(0.982 0.01 327.135);
--chart-4: oklch(1.006 0.003 20.929);
--chart-5: oklch(0.993 0.009 108.872);
}