Originality is a shadcn/ui theme built around a neutral gray primary color (#696f67) with neutral gray accents (#676f69). The light mode uses a neutral background (#fcfefb). Dark mode keeps the neutral gray primary (#696f67) on a neutral background (#040703).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #040703black |
| Foreground | #091306black | #fafaf9snow |
| Card | #f8fcf7mintcream | #060b04black |
| Card foreground | #070f05black | #fcfdfcwhite |
| Popover | #f8fcf7mintcream | #060b04black |
| Popover foreground | #070f05black | #fcfdfcwhite |
| Primary | #696f67dimgray | #696f67dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #6d6f67dimgray | #6d6f67dimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dce1d0gainsboro | #2a2f1edarkslategray |
| Muted foreground | #5c644adarkolivegreen | #aeb59bdarkgray |
| Accent | #676f69dimgray | #676f69dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #941610darkred | #ea4139tomato |
| Destructive foreground | #fbdcdamistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #696f67dimgray | #696f67dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.65:1 | AAA |
| Text on card | 18.83:1 | AAA |
| Primary button | 5.14:1 | AA |
| Secondary button | 5.07:1 | AA |
| Muted text | 4.66:1 | AA |
| Accent | 5.15:1 | AA |
| Destructive | 6.88:1 | AA |
| Text on background | 19.36:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 5.14:1 | AA |
| Secondary button | 5.07:1 | AA |
| Muted text | 6.51:1 | AA |
| Accent | 5.15:1 | AA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Originality in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 138.892);
--foreground: oklch(0.173 0.031 138.366);
--muted: oklch(0.902 0.023 119.745);
--muted-foreground: oklch(0.488 0.041 120.773);
--popover: oklch(0.988 0.008 138.894);
--popover-foreground: oklch(0.158 0.026 137.81);
--card: oklch(0.988 0.008 138.894);
--card-foreground: oklch(0.158 0.026 137.81);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.535 0.015 138.902);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.538 0.013 119.732);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.534 0.014 154.7);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.429 0.161 29.061);
--destructive-foreground: oklch(0.919 0.035 21.402);
--ring: oklch(0.535 0.015 138.902);
--chart-1: oklch(0.535 0.015 138.902);
--chart-2: oklch(0.538 0.013 119.732);
--chart-3: oklch(0.534 0.014 154.7);
--chart-4: oklch(0.565 0.014 119.735);
--chart-5: oklch(0.54 0.027 138.913);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.018 137.475);
--foreground: oklch(0.986 0.002 138.891);
--muted: oklch(0.294 0.03 121.103);
--muted-foreground: oklch(0.761 0.037 120.146);
--popover: oklch(0.14 0.021 137.507);
--popover-foreground: oklch(0.993 0.001 138.891);
--card: oklch(0.14 0.021 137.507);
--card-foreground: oklch(0.993 0.001 138.891);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.535 0.015 138.902);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.538 0.013 119.732);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.534 0.014 154.7);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.625 0.207 27.851);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.535 0.015 138.902);
--chart-1: oklch(0.535 0.015 138.902);
--chart-2: oklch(0.538 0.013 119.732);
--chart-3: oklch(0.534 0.014 154.7);
--chart-4: oklch(0.565 0.014 119.735);
--chart-5: oklch(0.54 0.027 138.913);
}