Adored is a shadcn/ui theme built around a light red primary color (#eededd) with light teal accents (#ddedee). The light mode uses a neutral background (#fdf7f6). Dark mode keeps the light red primary (#eededd) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f6snow | #000000black |
| Foreground | #160403black | #fbf9f9snow |
| Card | #fdf7f6snow | #000000black |
| Card foreground | #160403black | #fbf9f9snow |
| Popover | #fdf7f6snow | #000000black |
| Popover foreground | #160403black | #fbf9f9snow |
| Primary | #eededdgainsboro | #eededdgainsboro |
| Primary foreground | #653534saddlebrown | #653534saddlebrown |
| Secondary | #ddedeelavender | #ddedeelavender |
| Secondary foreground | #112122black | #112122black |
| Muted | #e6f4f4whitesmoke | #0b1919black |
| Muted foreground | #445a5adarkslategray | #a5bbbbdarkgray |
| Accent | #ddedeelavender | #ddedeelavender |
| Accent foreground | #112122black | #112122black |
| Destructive | #d44802orangered | #f75402orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eededdgainsboro | #eededdgainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.78:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 7.61:1 | AAA |
| Secondary button | 13.81:1 | AAA |
| Muted text | 6.51:1 | AA |
| Accent | 13.81:1 | AAA |
| Destructive | 4.43:1 | AA Large |
| Text on background | 20.02:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 7.61:1 | AAA |
| Secondary button | 13.81:1 | AAA |
| Muted text | 8.96:1 | AAA |
| Accent | 13.81:1 | AAA |
| Destructive | 3.36:1 | AA Large |
Paste this into your globals.css to use Adored in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.007 18.474);
--foreground: oklch(0.142 0.037 24.713);
--muted: oklch(0.957 0.014 198.138);
--muted-foreground: oklch(0.449 0.026 197.543);
--popover: oklch(0.98 0.007 18.474);
--popover-foreground: oklch(0.142 0.037 24.713);
--card: oklch(0.98 0.007 18.474);
--card-foreground: oklch(0.142 0.037 24.713);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.912 0.018 18.663);
--primary-foreground: oklch(0.39 0.069 21.757);
--secondary: oklch(0.935 0.017 198.094);
--secondary-foreground: oklch(0.235 0.022 197.151);
--accent: oklch(0.935 0.017 198.094);
--accent-foreground: oklch(0.235 0.022 197.151);
--destructive: oklch(0.591 0.187 39.494);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.912 0.018 18.663);
--chart-1: oklch(0.912 0.018 18.663);
--chart-2: oklch(0.935 0.017 198.094);
--chart-3: oklch(0.935 0.017 198.094);
--chart-4: oklch(0.955 0.012 198.177);
--chart-5: oklch(0.911 0.019 18.693);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.002 18.395);
--muted: oklch(0.199 0.019 197.109);
--muted-foreground: oklch(0.775 0.024 197.915);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.002 18.395);
--card: oklch(0 0 0);
--card-foreground: oklch(0.983 0.002 18.395);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.912 0.018 18.663);
--primary-foreground: oklch(0.39 0.069 21.757);
--secondary: oklch(0.935 0.017 198.094);
--secondary-foreground: oklch(0.235 0.022 197.151);
--accent: oklch(0.935 0.017 198.094);
--accent-foreground: oklch(0.235 0.022 197.151);
--destructive: oklch(0.663 0.211 39.148);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.912 0.018 18.663);
--chart-1: oklch(0.912 0.018 18.663);
--chart-2: oklch(0.935 0.017 198.094);
--chart-3: oklch(0.935 0.017 198.094);
--chart-4: oklch(0.955 0.012 198.177);
--chart-5: oklch(0.911 0.019 18.693);
}