Subsidence is a shadcn/ui theme built around a pink primary color (#9f567e) with neutral gray accents (#dad8d9). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the pink primary (#9f567e) on a neutral background (#040203).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fasnow | #040203black |
| Foreground | #0c0408black | #ffffffwhite |
| Card | #faf5f8whitesmoke | #070305black |
| Card foreground | #080205black | #ffffffwhite |
| Popover | #fcf8fasnow | #040203black |
| Popover foreground | #0c0408black | #ffffffwhite |
| Primary | #9f567egray | #9f567egray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dad8d9gainsboro | #24191fblack |
| Secondary foreground | #423e40darkslategray | #c4abb9silver |
| Muted | #efdce6mistyrose | #23101ablack |
| Muted foreground | #715b67dimgray | #a48e9arosybrown |
| Accent | #dad8d9gainsboro | #24191fblack |
| Accent foreground | #423e40darkslategray | #c4abb9silver |
| Destructive | #c54d16chocolate | #e86b30chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9f567egray | #9f567egray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.24:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 5.12:1 | AA |
| Secondary button | 7.39:1 | AAA |
| Muted text | 4.73:1 | AA |
| Accent | 7.39:1 | AAA |
| Destructive | 4.69:1 | AA |
| Text on background | 20.74:1 | AAA |
| Text on card | 20.49:1 | AAA |
| Primary button | 5.12:1 | AA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 5.95:1 | AA |
| Accent | 7.99:1 | AAA |
| Destructive | 6.56:1 | AA |
Paste this into your globals.css to use Subsidence in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.005 342.736);
--foreground: oklch(0.123 0.022 342.819);
--muted: oklch(0.913 0.025 343.271);
--muted-foreground: oklch(0.497 0.035 344.243);
--popover: oklch(0.983 0.005 342.736);
--popover-foreground: oklch(0.123 0.022 342.819);
--card: oklch(0.974 0.007 342.796);
--card-foreground: oklch(0.107 0.019 342.587);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.551 0.109 347.116);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.883 0.003 342.702);
--secondary-foreground: oklch(0.368 0.006 343.033);
--accent: oklch(0.883 0.003 342.702);
--accent-foreground: oklch(0.368 0.006 343.033);
--destructive: oklch(0.575 0.165 41.22);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.551 0.109 347.116);
--chart-1: oklch(0.551 0.109 347.116);
--chart-2: oklch(0.883 0.003 342.702);
--chart-3: oklch(0.883 0.003 342.702);
--chart-4: oklch(0.907 0.002 342.683);
--chart-5: oklch(0.551 0.119 347.566);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.011 342.595);
--foreground: oklch(1 0 180);
--muted: oklch(0.205 0.036 346.608);
--muted-foreground: oklch(0.67 0.032 343.748);
--popover: oklch(0.087 0.011 342.595);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.109 0.014 342.595);
--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.551 0.109 347.116);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.23 0.021 344.689);
--secondary-foreground: oklch(0.767 0.035 343.713);
--accent: oklch(0.23 0.021 344.689);
--accent-foreground: oklch(0.767 0.035 343.713);
--destructive: oklch(0.67 0.171 42.967);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.551 0.109 347.116);
--chart-1: oklch(0.551 0.109 347.116);
--chart-2: oklch(0.23 0.021 344.689);
--chart-3: oklch(0.23 0.021 344.689);
--chart-4: oklch(0.261 0.025 344.827);
--chart-5: oklch(0.551 0.119 347.566);
}