Presentation is a shadcn/ui theme built around a vivid light red primary color (#f9c7cf) with neutral gray accents (#cecacb). The light mode uses a neutral background (#fefbfb). Dark mode keeps the vivid light red primary (#f9c7cf) on a neutral background (#070304).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #070304black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fefbfbsnow | #070304black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefbfbsnow | #070304black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #f9c7cfpink | #f9c7cfpink |
| Primary foreground | #820d1emaroon | #820d1emaroon |
| Secondary | #cecacblightgrey | #2c2123darkslategray |
| Secondary foreground | #353132darkslategray | #c8b6b9silver |
| Muted | #eeececlinen | #131111black |
| Muted foreground | #5a5354dimgray | #aca5a6darkgray |
| Accent | #cecacblightgrey | #2c2123darkslategray |
| Accent foreground | #353132darkslategray | #c8b6b9silver |
| Destructive | #a4130efirebrick | #ed322ccrimson |
| Destructive foreground | #fde8e8mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f9c7cfpink | #f9c7cfpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.40:1 | AAA |
| Text on card | 20.40:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 7.89:1 | AAA |
| Muted text | 6.38:1 | AA |
| Accent | 7.89:1 | AAA |
| Destructive | 6.66:1 | AA |
| Text on background | 20.51:1 | AAA |
| Text on card | 20.51:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 8.06:1 | AAA |
| Muted text | 7.79:1 | AAA |
| Accent | 8.06:1 | AAA |
| Destructive | 4.12:1 | AA Large |
Paste this into your globals.css to use Presentation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 6.675);
--foreground: oklch(0 0 0);
--muted: oklch(0.945 0.002 6.658);
--muted-foreground: oklch(0.45 0.009 7.109);
--popover: oklch(0.99 0.003 6.675);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.99 0.003 6.675);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.877 0.058 8.238);
--primary-foreground: oklch(0.39 0.148 21.388);
--secondary: oklch(0.842 0.005 6.733);
--secondary-foreground: oklch(0.317 0.006 7.063);
--accent: oklch(0.842 0.005 6.733);
--accent-foreground: oklch(0.317 0.006 7.063);
--destructive: oklch(0.46 0.178 28.897);
--destructive-foreground: oklch(0.948 0.023 19.949);
--ring: oklch(0.877 0.058 8.238);
--chart-1: oklch(0.877 0.058 8.238);
--chart-2: oklch(0.842 0.005 6.733);
--chart-3: oklch(0.842 0.005 6.733);
--chart-4: oklch(0.866 0.004 6.708);
--chart-5: oklch(0.876 0.06 8.302);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.013 7.116);
--foreground: oklch(1 0 180);
--muted: oklch(0.179 0.004 7.097);
--muted-foreground: oklch(0.728 0.008 6.876);
--popover: oklch(0.108 0.013 7.116);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.108 0.013 7.116);
--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.877 0.058 8.238);
--primary-foreground: oklch(0.39 0.148 21.388);
--secondary: oklch(0.261 0.017 8.191);
--secondary-foreground: oklch(0.793 0.021 7.248);
--accent: oklch(0.261 0.017 8.191);
--accent-foreground: oklch(0.793 0.021 7.248);
--destructive: oklch(0.616 0.222 28.059);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.877 0.058 8.238);
--chart-1: oklch(0.877 0.058 8.238);
--chart-2: oklch(0.261 0.017 8.191);
--chart-3: oklch(0.261 0.017 8.191);
--chart-4: oklch(0.29 0.02 8.271);
--chart-5: oklch(0.876 0.06 8.302);
}