Experienced is a shadcn/ui theme built around a light yellow primary color (#f4f4c7) with light indigo accents (#c8c7f4). The light mode uses a neutral background (#fefefb). Dark mode keeps the light yellow primary (#f4f4c7) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #000000black |
| Foreground | #080803black | #fafaf5whitesmoke |
| Card | #fefefbwhite | #000000black |
| Card foreground | #080803black | #fafaf5whitesmoke |
| Popover | #fefefbwhite | #000000black |
| Popover foreground | #080803black | #fafaf5whitesmoke |
| Primary | #f4f4c7lemonchiffon | #f4f4c7lemonchiffon |
| Primary foreground | #1e1e06black | #1e1e06black |
| Secondary | #c8c7f4lightsteelblue | #c8c7f4lightsteelblue |
| Secondary foreground | #181674midnightblue | #181674midnightblue |
| Muted | #eaeaf5lavender | #0a0a15black |
| Muted foreground | #545454dimgray | #abababdarkgray |
| Accent | #c8c7f4lightsteelblue | #c8c7f4lightsteelblue |
| Accent foreground | #181674midnightblue | #181674midnightblue |
| Destructive | #cb0a06firebrick | #f81512red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f4f4c7lemonchiffon | #f4f4c7lemonchiffon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 14.99:1 | AAA |
| Secondary button | 9.22:1 | AAA |
| Muted text | 6.35:1 | AA |
| Accent | 9.22:1 | AAA |
| Destructive | 5.86:1 | AA |
| Text on background | 20.05:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 14.99:1 | AAA |
| Secondary button | 9.22:1 | AAA |
| Muted text | 8.57:1 | AAA |
| Accent | 9.22:1 | AAA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Experienced in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 107.241);
--foreground: oklch(0.129 0.016 109.072);
--muted: oklch(0.941 0.015 286.88);
--muted-foreground: oklch(0.446 0 180);
--popover: oklch(0.996 0.004 107.241);
--popover-foreground: oklch(0.129 0.016 109.072);
--card: oklch(0.996 0.004 107.241);
--card-foreground: oklch(0.129 0.016 109.072);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.956 0.058 108.244);
--primary-foreground: oklch(0.228 0.04 110.085);
--secondary: oklch(0.846 0.063 285.746);
--secondary-foreground: oklch(0.287 0.152 272.149);
--accent: oklch(0.846 0.063 285.746);
--accent-foreground: oklch(0.287 0.152 272.149);
--destructive: oklch(0.531 0.214 29.144);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.956 0.058 108.244);
--chart-1: oklch(0.956 0.058 108.244);
--chart-2: oklch(0.846 0.063 285.746);
--chart-3: oklch(0.846 0.063 285.746);
--chart-4: oklch(0.882 0.048 286.147);
--chart-5: oklch(0.959 0.061 108.284);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.006 107.285);
--muted: oklch(0.15 0.023 283.971);
--muted-foreground: oklch(0.741 0 171.254);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.006 107.285);
--card: oklch(0 0 0);
--card-foreground: oklch(0.983 0.006 107.285);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.956 0.058 108.244);
--primary-foreground: oklch(0.228 0.04 110.085);
--secondary: oklch(0.846 0.063 285.746);
--secondary-foreground: oklch(0.287 0.152 272.149);
--accent: oklch(0.846 0.063 285.746);
--accent-foreground: oklch(0.287 0.152 272.149);
--destructive: oklch(0.619 0.247 28.939);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.956 0.058 108.244);
--chart-1: oklch(0.956 0.058 108.244);
--chart-2: oklch(0.846 0.063 285.746);
--chart-3: oklch(0.846 0.063 285.746);
--chart-4: oklch(0.882 0.048 286.147);
--chart-5: oklch(0.959 0.061 108.284);
}