Reliability is a shadcn/ui theme built around a light purple primary color (#dfb3ea) with light teal accents (#b3eadf). The light mode uses a neutral background (#fdfbfd). Dark mode keeps the light purple primary (#dfb3ea) on a neutral background (#060307).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfdsnow | #060307black |
| Foreground | #070209black | #ffffffwhite |
| Card | #fbf8fcghostwhite | #0a040bblack |
| Card foreground | #040104black | #ffffffwhite |
| Popover | #fdfbfdsnow | #060307black |
| Popover foreground | #070209black | #ffffffwhite |
| Primary | #dfb3eathistle | #dfb3eathistle |
| Primary foreground | #481754indigo | #481754indigo |
| Secondary | #eadfb3wheat | #eadfb3wheat |
| Secondary foreground | #544817darkolivegreen | #544817darkolivegreen |
| Muted | #f1f0e9linen | #16140eblack |
| Muted foreground | #69644fdimgray | #b0ab96darkgray |
| Accent | #b3eadfpowderblue | #b3eadfpowderblue |
| Accent foreground | #175448darkslategray | #175448darkslategray |
| Destructive | #d04a16chocolate | #ec7546coral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dfb3eathistle | #dfb3eathistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.02:1 | AAA |
| Text on card | 19.69:1 | AAA |
| Primary button | 7.71:1 | AAA |
| Secondary button | 6.78:1 | AA |
| Muted text | 5.19:1 | AA |
| Accent | 6.57:1 | AA |
| Destructive | 4.49:1 | AA Large |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 7.71:1 | AAA |
| Secondary button | 6.78:1 | AA |
| Muted text | 7.96:1 | AAA |
| Accent | 6.57:1 | AA |
| Destructive | 7.19:1 | AAA |
Paste this into your globals.css to use Reliability in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 319.445);
--foreground: oklch(0.103 0.031 321.843);
--muted: oklch(0.954 0.009 95.147);
--muted-foreground: oklch(0.5 0.032 95.64);
--popover: oklch(0.991 0.003 319.445);
--popover-foreground: oklch(0.103 0.031 321.843);
--card: oklch(0.982 0.006 319.446);
--card-foreground: oklch(0.082 0.024 321.843);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.824 0.09 319.464);
--primary-foreground: oklch(0.312 0.113 318.96);
--secondary: oklch(0.902 0.059 95.651);
--secondary-foreground: oklch(0.403 0.068 95.022);
--accent: oklch(0.897 0.058 181.277);
--accent-foreground: oklch(0.404 0.065 176.763);
--destructive: oklch(0.588 0.178 38.795);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.824 0.09 319.464);
--chart-1: oklch(0.824 0.09 319.464);
--chart-2: oklch(0.902 0.059 95.651);
--chart-3: oklch(0.897 0.058 181.277);
--chart-4: oklch(0.917 0.05 95.574);
--chart-5: oklch(0.822 0.094 319.464);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.109 0.018 320.834);
--foreground: oklch(1 0 180);
--muted: oklch(0.193 0.013 95.677);
--muted-foreground: oklch(0.74 0.029 95.452);
--popover: oklch(0.109 0.018 320.834);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.124 0.02 320.763);
--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.824 0.09 319.464);
--primary-foreground: oklch(0.312 0.113 318.96);
--secondary: oklch(0.902 0.059 95.651);
--secondary-foreground: oklch(0.403 0.068 95.022);
--accent: oklch(0.897 0.058 181.277);
--accent-foreground: oklch(0.404 0.065 176.763);
--destructive: oklch(0.693 0.159 41.347);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.824 0.09 319.464);
--chart-1: oklch(0.824 0.09 319.464);
--chart-2: oklch(0.902 0.059 95.651);
--chart-3: oklch(0.897 0.058 181.277);
--chart-4: oklch(0.917 0.05 95.574);
--chart-5: oklch(0.822 0.094 319.464);
}