Experienced is a shadcn/ui theme built around a muted pink primary color (#9e7088) with muted blue accents (#70889e). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted pink primary (#9e7088) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #000000black | #f9f6f7whitesmoke |
| Card | #ffffffwhite | #000000black |
| Card foreground | #000000black | #f9f6f7whitesmoke |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #000000black | #f9f6f7whitesmoke |
| Primary | #9e7088gray | #9e7088gray |
| Primary foreground | #000000black | #000000black |
| Secondary | #889e70gray | #889e70gray |
| Secondary foreground | #000000black | #000000black |
| Muted | #edf3e8linen | #12170cblack |
| Muted foreground | #454842darkslategray | #babdb7silver |
| Accent | #70889elightslategray | #70889elightslategray |
| Accent foreground | #000000black | #000000black |
| Destructive | #b53f0dfirebrick | #ea5110orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9e7088gray | #9e7088gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 5.14:1 | AA |
| Secondary button | 7.16:1 | AAA |
| Muted text | 8.20:1 | AAA |
| Accent | 5.70:1 | AA |
| Destructive | 5.69:1 | AA |
| Text on background | 19.55:1 | AAA |
| Text on card | 19.55:1 | AAA |
| Primary button | 5.14:1 | AA |
| Secondary button | 7.16:1 | AAA |
| Muted text | 9.56:1 | AAA |
| Accent | 5.70:1 | AA |
| Destructive | 3.69:1 | AA Large |
Paste this into your globals.css to use Experienced in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.956 0.015 127.976);
--muted-foreground: oklch(0.396 0.01 128.08);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--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.6 0.066 346.917);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.67 0.069 129.084);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.616 0.043 246.771);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.53 0.162 39.241);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.6 0.066 346.917);
--chart-1: oklch(0.6 0.066 346.917);
--chart-2: oklch(0.67 0.069 129.084);
--chart-3: oklch(0.616 0.043 246.771);
--chart-4: oklch(0.692 0.064 128.946);
--chart-5: oklch(0.598 0.076 347.332);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.004 344.382);
--muted: oklch(0.196 0.022 129.211);
--muted-foreground: oklch(0.794 0.008 127.91);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.975 0.004 344.382);
--card: oklch(0 0 0);
--card-foreground: oklch(0.975 0.004 344.382);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.6 0.066 346.917);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.67 0.069 129.084);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.616 0.043 246.771);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.638 0.199 38.861);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.6 0.066 346.917);
--chart-1: oklch(0.6 0.066 346.917);
--chart-2: oklch(0.67 0.069 129.084);
--chart-3: oklch(0.616 0.043 246.771);
--chart-4: oklch(0.692 0.064 128.946);
--chart-5: oklch(0.598 0.076 347.332);
}