Abandoned is a shadcn/ui theme built around a deep orange primary color (#45220c) with muted orange accents (#c9bdb6). The light mode uses a neutral background (#fefcfb). Dark mode keeps the deep orange primary (#45220c) on a neutral background (#040201).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #040201black |
| Foreground | #050201black | #fdfcfcsnow |
| Card | #fefcfbsnow | #040201black |
| Card foreground | #050201black | #fdfcfcsnow |
| Popover | #fefcfbsnow | #040201black |
| Popover foreground | #050201black | #fdfcfcsnow |
| Primary | #45220cmaroon | #45220cmaroon |
| Primary foreground | #edb897burlywood | #edb897burlywood |
| Secondary | #d1cecclightgrey | #302d2cdarkslategray |
| Secondary foreground | #393532darkslategray | #c9c6c5silver |
| Muted | #f3ece8linen | #17110cblack |
| Muted foreground | #695c54dimgray | #ab9e96darkgray |
| Accent | #c9bdb6silver | #473e38darkslategray |
| Accent foreground | #2c2521darkslategray | #ddd8d4gainsboro |
| Destructive | #d52801firebrick | #fe3001orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #45220cmaroon | #45220cmaroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.22:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 7.98:1 | AAA |
| Secondary button | 7.75:1 | AAA |
| Muted text | 5.50:1 | AA |
| Accent | 8.20:1 | AAA |
| Destructive | 5.07:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 7.98:1 | AAA |
| Secondary button | 8.01:1 | AAA |
| Muted text | 7.19:1 | AAA |
| Accent | 7.36:1 | AAA |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Abandoned in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 54.476);
--foreground: oklch(0.092 0.015 67.249);
--muted: oklch(0.947 0.009 54.374);
--muted-foreground: oklch(0.484 0.021 53.928);
--popover: oklch(0.992 0.002 54.476);
--popover-foreground: oklch(0.092 0.015 67.249);
--card: oklch(0.992 0.002 54.476);
--card-foreground: oklch(0.092 0.015 67.249);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.296 0.063 49.937);
--primary-foreground: oklch(0.822 0.076 53.239);
--secondary: oklch(0.853 0.005 54.424);
--secondary-foreground: oklch(0.331 0.007 54.215);
--accent: oklch(0.806 0.017 54.221);
--accent-foreground: oklch(0.271 0.013 53.844);
--destructive: oklch(0.564 0.211 32.388);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.296 0.063 49.937);
--chart-1: oklch(0.296 0.063 49.937);
--chart-2: oklch(0.853 0.005 54.424);
--chart-3: oklch(0.806 0.017 54.221);
--chart-4: oklch(0.877 0.004 54.44);
--chart-5: oklch(0.298 0.065 49.583);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.092 0.008 61.084);
--foreground: oklch(0.992 0.001 54.492);
--muted: oklch(0.183 0.014 53.488);
--muted-foreground: oklch(0.709 0.019 54.144);
--popover: oklch(0.092 0.008 61.084);
--popover-foreground: oklch(0.992 0.001 54.492);
--card: oklch(0.092 0.008 61.084);
--card-foreground: oklch(0.992 0.001 54.492);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.296 0.063 49.937);
--primary-foreground: oklch(0.822 0.076 53.239);
--secondary: oklch(0.301 0.004 54.317);
--secondary-foreground: oklch(0.829 0.004 54.441);
--accent: oklch(0.372 0.016 53.912);
--accent-foreground: oklch(0.885 0.008 54.383);
--destructive: oklch(0.642 0.242 32.158);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.296 0.063 49.937);
--chart-1: oklch(0.296 0.063 49.937);
--chart-2: oklch(0.301 0.004 54.317);
--chart-3: oklch(0.372 0.016 53.912);
--chart-4: oklch(0.331 0.005 54.311);
--chart-5: oklch(0.298 0.065 49.583);
}