Our is a shadcn/ui theme built around a cyan primary color (#48c3e5) with red accents (#e56a48). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the cyan primary (#48c3e5) on a cyan-tinted background (#060d0f).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #060d0fblack |
| Foreground | #061114black | #f9fbfbghostwhite |
| Card | #f7fcfdghostwhite | #071012black |
| Card foreground | #050d10black | #fcfdfdwhite |
| Popover | #f7fcfdghostwhite | #071012black |
| Popover foreground | #050d10black | #fcfdfdwhite |
| Primary | #48c3e5mediumturquoise | #48c3e5mediumturquoise |
| Primary foreground | #000000black | #000000black |
| Secondary | #e56a48tomato | #e56a48tomato |
| Secondary foreground | #000000black | #000000black |
| Muted | #f0ebealinen | #15100fblack |
| Muted foreground | #5e5e5edimgray | #a1a1a1darkgray |
| Accent | #e56a48tomato | #e56a48tomato |
| Accent foreground | #000000black | #000000black |
| Destructive | #781e07maroon | #f13f13orangered |
| Destructive foreground | #fbc4b7lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #48c3e5mediumturquoise | #48c3e5mediumturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.78:1 | AAA |
| Text on card | 18.90:1 | AAA |
| Primary button | 10.20:1 | AAA |
| Secondary button | 6.48:1 | AA |
| Muted text | 5.50:1 | AA |
| Accent | 6.48:1 | AA |
| Destructive | 6.87:1 | AA |
| Text on background | 18.89:1 | AAA |
| Text on card | 18.87:1 | AAA |
| Primary button | 10.20:1 | AAA |
| Secondary button | 6.48:1 | AA |
| Muted text | 7.30:1 | AAA |
| Accent | 6.48:1 | AA |
| Destructive | 3.83:1 | AA Large |
Paste this into your globals.css to use Our in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 216.024);
--foreground: oklch(0.167 0.018 216.371);
--muted: oklch(0.945 0.005 35.992);
--muted-foreground: oklch(0.483 0 180);
--popover: oklch(0.987 0.006 216.036);
--popover-foreground: oklch(0.152 0.016 214.97);
--card: oklch(0.987 0.006 216.036);
--card-foreground: oklch(0.152 0.016 214.97);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.763 0.117 219.857);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.667 0.161 36.367);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.667 0.161 36.367);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.382 0.129 34.28);
--destructive-foreground: oklch(0.866 0.066 34.416);
--ring: oklch(0.763 0.117 219.857);
--chart-1: oklch(0.763 0.117 219.857);
--chart-2: oklch(0.667 0.161 36.367);
--chart-3: oklch(0.667 0.161 36.367);
--chart-4: oklch(0.688 0.149 36.395);
--chart-5: oklch(0.767 0.12 220.124);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.151 0.013 215.164);
--foreground: oklch(0.985 0.002 216.02);
--muted: oklch(0.179 0.008 35.946);
--muted-foreground: oklch(0.708 0 158.199);
--popover: oklch(0.165 0.015 216.419);
--popover-foreground: oklch(0.993 0.001 216.016);
--card: oklch(0.165 0.015 216.419);
--card-foreground: oklch(0.993 0.001 216.016);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.763 0.117 219.857);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.667 0.161 36.367);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.667 0.161 36.367);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.632 0.22 33.833);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.763 0.117 219.857);
--chart-1: oklch(0.763 0.117 219.857);
--chart-2: oklch(0.667 0.161 36.367);
--chart-3: oklch(0.667 0.161 36.367);
--chart-4: oklch(0.688 0.149 36.395);
--chart-5: oklch(0.767 0.12 220.124);
}