Simple Dark Soft is a shadcn/ui theme built around a near-white primary color (#f0f0f0) with muted blue accents (#464d53). The light mode uses a blue-tinted background (#232629). Dark mode keeps the near-white primary (#f0f0f0) on a blue-tinted background (#232629).
| Token | Light | Dark |
|---|---|---|
| Background | #232629darkslategray | #232629darkslategray |
| Foreground | #dbdbdbgainsboro | #dbdbdbgainsboro |
| Card | #1e2124black | #1e2124black |
| Card foreground | #e8e8e8lavender | #e8e8e8lavender |
| Popover | #1c1f21black | #1c1f21black |
| Popover foreground | #f5f5f5whitesmoke | #f5f5f5whitesmoke |
| Primary | #f0f0f0whitesmoke | #f0f0f0whitesmoke |
| Primary foreground | #575757dimgray | #575757dimgray |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #2b3036darkslategray | #2b3036darkslategray |
| Muted foreground | #a6b0b9darkgray | #a6b0b9darkgray |
| Accent | #464d53darkslategray | #464d53darkslategray |
| Accent foreground | #e3e5e8gainsboro | #e3e5e8gainsboro |
| Destructive | #da3016firebrick | #da3016firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #333333darkslategray | #333333darkslategray |
| Input | #3b3b3bdarkslategray | #3b3b3bdarkslategray |
| Ring | #f0f0f0whitesmoke | #f0f0f0whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 10.95:1 | AAA |
| Text on card | 13.17:1 | AAA |
| Primary button | 6.32:1 | AA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 6.01:1 | AA |
| Accent | 6.83:1 | AA |
| Destructive | 4.75:1 | AA |
| Text on background | 10.95:1 | AAA |
| Text on card | 13.17:1 | AAA |
| Primary button | 6.32:1 | AA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 6.01:1 | AA |
| Accent | 6.83:1 | AA |
| Destructive | 4.75:1 | AA |
Paste this into your globals.css to use Simple Dark Soft in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.268 0.007 248.098);
--foreground: oklch(0.892 0 180);
--muted: oklch(0.308 0.013 248.257);
--muted-foreground: oklch(0.753 0.017 248.058);
--popover: oklch(0.236 0.006 248.081);
--popover-foreground: oklch(0.97 0 180);
--card: oklch(0.247 0.006 248.087);
--card-foreground: oklch(0.931 0 180);
--border: oklch(0.321 0 180);
--input: oklch(0.351 0 167.471);
--primary: oklch(0.954 0 180);
--primary-foreground: oklch(0.456 0 180);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.415 0.013 248.14);
--accent-foreground: oklch(0.922 0.004 247.862);
--destructive: oklch(0.579 0.209 31.553);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.954 0 180);
--chart-1: oklch(0.954 0 180);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.415 0.013 248.14);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.954 0.001 17.175);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.268 0.007 248.098);
--foreground: oklch(0.892 0 180);
--muted: oklch(0.308 0.013 248.257);
--muted-foreground: oklch(0.753 0.017 248.058);
--popover: oklch(0.236 0.006 248.081);
--popover-foreground: oklch(0.97 0 180);
--card: oklch(0.247 0.006 248.087);
--card-foreground: oklch(0.931 0 180);
--border: oklch(0.321 0 180);
--input: oklch(0.351 0 167.471);
--primary: oklch(0.954 0 180);
--primary-foreground: oklch(0.456 0 180);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.415 0.013 248.14);
--accent-foreground: oklch(0.922 0.004 247.862);
--destructive: oklch(0.579 0.209 31.553);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.954 0 180);
--chart-1: oklch(0.954 0 180);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.415 0.013 248.14);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.954 0.001 17.175);
}