app 1 is a shadcn/ui theme built around a red primary color (#cd9e93) with muted light red accents (#ede9e8). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#cd9e93) on a neutral background (#040201).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040201black |
| Foreground | #160703black | #fbf9f8snow |
| Card | #ffffffwhite | #040201black |
| Card foreground | #160703black | #fbf9f8snow |
| Popover | #ffffffwhite | #040201black |
| Popover foreground | #160703black | #fbf9f8snow |
| Primary | #cd9e93rosybrown | #cd9e93rosybrown |
| Primary foreground | #1f120eblack | #1f120eblack |
| Secondary | #ede9e8linen | #3a2f2cdarkslategray |
| Secondary foreground | #5b4c48darkolivegreen | #d3c8c5lightgrey |
| Muted | #f3eae7linen | #180e0cblack |
| Muted foreground | #504b49darkslategray | #b6b1afdarkgray |
| Accent | #ede9e8linen | #3a2f2cdarkslategray |
| Accent foreground | #5b4c48darkolivegreen | #d3c8c5lightgrey |
| Destructive | #712704maroon | #f75e18orangered |
| Destructive foreground | #fcc5abnavajowhite | #000000black |
| Border | #e8e4e3gainsboro | #211d1cblack |
| Input | #e8e4e3gainsboro | #211d1cblack |
| Ring | #cd9e93rosybrown | #cd9e93rosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.70:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 7.76:1 | AAA |
| Secondary button | 6.78:1 | AA |
| Muted text | 7.23:1 | AAA |
| Accent | 6.78:1 | AA |
| Destructive | 6.88:1 | AA |
| Text on background | 19.74:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 7.76:1 | AAA |
| Secondary button | 7.92:1 | AAA |
| Muted text | 8.93:1 | AAA |
| Accent | 7.92:1 | AAA |
| Destructive | 6.56:1 | AA |
Paste this into your globals.css to use app 1 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.152 0.031 40.94);
--muted: oklch(0.943 0.011 34.301);
--muted-foreground: oklch(0.416 0.007 34.298);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.152 0.031 40.94);
--card: oklch(1 0 180);
--card-foreground: oklch(0.152 0.031 40.94);
--border: oklch(0.922 0.004 34.31);
--input: oklch(0.922 0.004 34.31);
--primary: oklch(0.741 0.059 34.43);
--primary-foreground: oklch(0.199 0.024 34.631);
--secondary: oklch(0.937 0.004 34.309);
--secondary-foreground: oklch(0.43 0.022 34.338);
--accent: oklch(0.937 0.004 34.309);
--accent-foreground: oklch(0.43 0.022 34.338);
--destructive: oklch(0.379 0.113 40.806);
--destructive-foreground: oklch(0.866 0.072 46.08);
--ring: oklch(0.741 0.059 34.43);
--chart-1: oklch(0.741 0.059 34.43);
--chart-2: oklch(0.937 0.004 34.309);
--chart-3: oklch(0.937 0.004 34.309);
--chart-4: oklch(0.961 0.003 34.312);
--chart-5: oklch(0.74 0.064 34.458);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.088 0.011 40.716);
--foreground: oklch(0.984 0.003 34.312);
--muted: oklch(0.177 0.018 34.519);
--muted-foreground: oklch(0.763 0.006 34.305);
--popover: oklch(0.088 0.011 40.716);
--popover-foreground: oklch(0.984 0.003 34.312);
--card: oklch(0.088 0.011 40.716);
--card-foreground: oklch(0.984 0.003 34.312);
--border: oklch(0.235 0.006 34.299);
--input: oklch(0.235 0.006 34.299);
--primary: oklch(0.741 0.059 34.43);
--primary-foreground: oklch(0.199 0.024 34.631);
--secondary: oklch(0.316 0.018 34.349);
--secondary-foreground: oklch(0.84 0.013 34.298);
--accent: oklch(0.316 0.018 34.349);
--accent-foreground: oklch(0.84 0.013 34.298);
--destructive: oklch(0.674 0.2 40.56);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.741 0.059 34.43);
--chart-1: oklch(0.741 0.059 34.43);
--chart-2: oklch(0.316 0.018 34.349);
--chart-3: oklch(0.316 0.018 34.349);
--chart-4: oklch(0.345 0.02 34.353);
--chart-5: oklch(0.74 0.064 34.458);
}