Disciplinary Vast Escape is a shadcn/ui theme built around a yellow primary color (#d3c692) with neutral gray accents (#cccccc). The light mode uses a neutral background (#fcfbf8). Dark mode keeps the yellow primary (#d3c692) on a yellow-tinted background (#0b0a04).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbf8snow | #0b0a04black |
| Foreground | #050401black | #fcfbf8snow |
| Card | #fcfbf8snow | #0b0a04black |
| Card foreground | #050401black | #fcfbf8snow |
| Popover | #fcfbf8snow | #0b0a04black |
| Popover foreground | #050401black | #fcfbf8snow |
| Primary | #d3c692tan | #d3c692tan |
| Primary foreground | #24200fblack | #24200fblack |
| Secondary | #cccccclightgrey | #201f1eblack |
| Secondary foreground | #333333darkslategray | #bab9b5silver |
| Muted | #f7ededlinen | #121008black |
| Muted foreground | #524c4cdarkslategray | #b3b2addarkgray |
| Accent | #cccccclightgrey | #201f1eblack |
| Accent foreground | #333333darkslategray | #bab9b5silver |
| Destructive | #5d2109maroon | #e04e15chocolate |
| Destructive foreground | #f6baa2lightpink | #ffffffwhite |
| Border | #e4e3e2gainsboro | #222220black |
| Input | #e4e3e2gainsboro | #222220black |
| Ring | #d3c692tan | #d3c692tan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.80:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 9.49:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 7.33:1 | AAA |
| Accent | 7.86:1 | AAA |
| Destructive | 7.39:1 | AAA |
| Text on background | 19.17:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 9.49:1 | AAA |
| Secondary button | 8.38:1 | AAA |
| Muted text | 8.97:1 | AAA |
| Accent | 8.38:1 | AAA |
| Destructive | 3.97:1 | AA Large |
Paste this into your globals.css to use Disciplinary Vast Escape in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.004 95.083);
--foreground: oklch(0.103 0.017 100.574);
--muted: oklch(0.955 0.011 17.35);
--muted-foreground: oklch(0.422 0.008 17.492);
--popover: oklch(0.988 0.004 95.083);
--popover-foreground: oklch(0.103 0.017 100.574);
--card: oklch(0.988 0.004 95.083);
--card-foreground: oklch(0.103 0.017 100.574);
--border: oklch(0.917 0.002 95.058);
--input: oklch(0.917 0.002 95.058);
--primary: oklch(0.824 0.069 95.747);
--primary-foreground: oklch(0.243 0.03 95.751);
--secondary: oklch(0.845 0 164.055);
--secondary-foreground: oklch(0.321 0 180);
--accent: oklch(0.845 0 164.055);
--accent-foreground: oklch(0.321 0 180);
--destructive: oklch(0.335 0.095 39.794);
--destructive-foreground: oklch(0.837 0.078 42.546);
--ring: oklch(0.824 0.069 95.747);
--chart-1: oklch(0.824 0.069 95.747);
--chart-2: oklch(0.845 0 164.055);
--chart-3: oklch(0.845 0 164.055);
--chart-4: oklch(0.869 0 165.964);
--chart-5: oklch(0.828 0.074 95.764);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.014 98.383);
--foreground: oklch(0.988 0.004 95.081);
--muted: oklch(0.172 0.016 96.05);
--muted-foreground: oklch(0.763 0.007 95.145);
--popover: oklch(0.143 0.014 98.383);
--popover-foreground: oklch(0.988 0.004 95.081);
--card: oklch(0.143 0.014 98.383);
--card-foreground: oklch(0.988 0.004 95.081);
--border: oklch(0.251 0.003 95.173);
--input: oklch(0.251 0.003 95.173);
--primary: oklch(0.824 0.069 95.747);
--primary-foreground: oklch(0.243 0.03 95.751);
--secondary: oklch(0.24 0.003 95.17);
--secondary-foreground: oklch(0.785 0.005 95.107);
--accent: oklch(0.24 0.003 95.17);
--accent-foreground: oklch(0.785 0.005 95.107);
--destructive: oklch(0.619 0.191 38.451);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.824 0.069 95.747);
--chart-1: oklch(0.824 0.069 95.747);
--chart-2: oklch(0.24 0.003 95.17);
--chart-3: oklch(0.24 0.003 95.17);
--chart-4: oklch(0.272 0.003 95.178);
--chart-5: oklch(0.828 0.074 95.764);
}