Original is a shadcn/ui theme built around a near-white primary color (#ffffff) with near-white accents (#ffffff). The light mode uses a neutral background (#fefbfb). Dark mode keeps the near-white primary (#ffffff) on a red-tinted background (#0e0606).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #0e0606black |
| Foreground | #110303black | #faf5f5whitesmoke |
| Card | #fdf6f6snow | #120808black |
| Card foreground | #0d0202black | #fbf8f8snow |
| Popover | #fefbfbsnow | #0e0606black |
| Popover foreground | #110303black | #faf5f5whitesmoke |
| Primary | #ffffffwhite | #ffffffwhite |
| Primary foreground | #333333darkslategray | #333333darkslategray |
| Secondary | #ffffffwhite | #ffffffwhite |
| Secondary foreground | #333333darkslategray | #333333darkslategray |
| Muted | #f2e8e8linen | #170d0dblack |
| Muted foreground | #685050dimgray | #af9797rosybrown |
| Accent | #ffffffwhite | #ffffffwhite |
| Accent foreground | #333333darkslategray | #333333darkslategray |
| Destructive | #61240amaroon | #ea6a34tomato |
| Destructive foreground | #f6bfa7lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ffffffwhite | #ffffffwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.62:1 | AAA |
| Text on card | 19.24:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 12.63:1 | AAA |
| Muted text | 6.13:1 | AA |
| Accent | 12.63:1 | AAA |
| Destructive | 7.31:1 | AAA |
| Text on background | 18.55:1 | AAA |
| Text on card | 18.72:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 12.63:1 | AAA |
| Muted text | 7.00:1 | AAA |
| Accent | 12.63:1 | AAA |
| Destructive | 6.61:1 | AA |
Paste this into your globals.css to use Original in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 17.221);
--foreground: oklch(0.129 0.032 22.66);
--muted: oklch(0.939 0.011 17.35);
--muted-foreground: oklch(0.456 0.032 18.402);
--popover: oklch(0.99 0.004 17.221);
--popover-foreground: oklch(0.129 0.032 22.66);
--card: oklch(0.98 0.008 17.285);
--card-foreground: oklch(0.115 0.028 22.416);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(1 0 180);
--secondary-foreground: oklch(0.321 0 180);
--accent: oklch(1 0 180);
--accent-foreground: oklch(0.321 0 180);
--destructive: oklch(0.347 0.095 41.063);
--destructive-foreground: oklch(0.848 0.071 44.316);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(1 0 180);
--chart-3: oklch(1 0 180);
--chart-4: oklch(1.023 0 180);
--chart-5: oklch(1 0 180);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.017 19.445);
--foreground: oklch(0.974 0.005 17.241);
--muted: oklch(0.172 0.017 18.997);
--muted-foreground: oklch(0.699 0.028 17.854);
--popover: oklch(0.136 0.017 19.445);
--popover-foreground: oklch(0.974 0.005 17.241);
--card: oklch(0.148 0.019 19.639);
--card-foreground: oklch(0.983 0.003 17.213);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(1 0 180);
--secondary-foreground: oklch(0.321 0 180);
--accent: oklch(1 0 180);
--accent-foreground: oklch(0.321 0 180);
--destructive: oklch(0.672 0.172 41.857);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(1 0 180);
--chart-3: oklch(1 0 180);
--chart-4: oklch(1.023 0 180);
--chart-5: oklch(1 0 180);
}