Real is a shadcn/ui theme built around a light teal primary color (#e9fcf9) with light red accents (#fce9ec). The light mode uses a neutral background (#fbfefe). Dark mode keeps the light teal primary (#e9fcf9) on a teal-tinted background (#05100e).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #05100eblack |
| Foreground | #061311black | #fcfdfdwhite |
| Card | #f7fdfcmintcream | #061412black |
| Card foreground | #050f0eblack | #ffffffwhite |
| Popover | #f7fdfcmintcream | #061412black |
| Popover foreground | #050f0eblack | #ffffffwhite |
| Primary | #e9fcf9azure | #e9fcf9azure |
| Primary foreground | #0a423adarkslategray | #0a423adarkslategray |
| Secondary | #fce9eclinen | #fce9eclinen |
| Secondary foreground | #9a182cbrown | #9a182cbrown |
| Muted | #ecdfe1gainsboro | #201315black |
| Muted foreground | #664d51dimgray | #b2999drosybrown |
| Accent | #fce9eclinen | #fce9eclinen |
| Accent foreground | #9a182cbrown | #9a182cbrown |
| Destructive | #8d1207darkred | #e01c0bred |
| Destructive foreground | #fccec9pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e9fcf9azure | #e9fcf9azure |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.67:1 | AAA |
| Text on card | 18.88:1 | AAA |
| Primary button | 10.62:1 | AAA |
| Secondary button | 7.07:1 | AAA |
| Muted text | 5.90:1 | AA |
| Accent | 7.07:1 | AAA |
| Destructive | 6.65:1 | AA |
| Text on background | 18.99:1 | AAA |
| Text on card | 18.85:1 | AAA |
| Primary button | 10.62:1 | AAA |
| Secondary button | 7.07:1 | AAA |
| Muted text | 6.81:1 | AA |
| Accent | 7.07:1 | AAA |
| Destructive | 4.83:1 | AA |
Paste this into your globals.css to use Real in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 186.507);
--foreground: oklch(0.175 0.02 183.722);
--muted: oklch(0.914 0.015 7);
--muted-foreground: oklch(0.447 0.034 8.503);
--popover: oklch(0.989 0.007 186.418);
--popover-foreground: oklch(0.159 0.017 184.488);
--card: oklch(0.989 0.007 186.418);
--card-foreground: oklch(0.159 0.017 184.488);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.975 0.02 186.074);
--primary-foreground: oklch(0.343 0.057 180.131);
--secondary: oklch(0.949 0.021 7.138);
--secondary-foreground: oklch(0.447 0.163 20.044);
--accent: oklch(0.949 0.021 7.138);
--accent-foreground: oklch(0.447 0.163 20.044);
--destructive: oklch(0.413 0.158 30.156);
--destructive-foreground: oklch(0.89 0.054 24.269);
--ring: oklch(0.975 0.02 186.074);
--chart-1: oklch(0.975 0.02 186.074);
--chart-2: oklch(0.949 0.021 7.138);
--chart-3: oklch(0.949 0.021 7.138);
--chart-4: oklch(0.98 0.008 6.803);
--chart-5: oklch(0.976 0.021 186.053);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.16 0.018 184.384);
--foreground: oklch(0.993 0.001 186.573);
--muted: oklch(0.205 0.022 9.325);
--muted-foreground: oklch(0.707 0.03 7.656);
--popover: oklch(0.176 0.021 183.598);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.176 0.021 183.598);
--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.975 0.02 186.074);
--primary-foreground: oklch(0.343 0.057 180.131);
--secondary: oklch(0.949 0.021 7.138);
--secondary-foreground: oklch(0.447 0.163 20.044);
--accent: oklch(0.949 0.021 7.138);
--accent-foreground: oklch(0.447 0.163 20.044);
--destructive: oklch(0.578 0.226 30.064);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.975 0.02 186.074);
--chart-1: oklch(0.975 0.02 186.074);
--chart-2: oklch(0.949 0.021 7.138);
--chart-3: oklch(0.949 0.021 7.138);
--chart-4: oklch(0.98 0.008 6.803);
--chart-5: oklch(0.976 0.021 186.053);
}