Inborn is a shadcn/ui theme built around a vivid blue primary color (#5fb2f2) with vivid green accents (#b2f25f). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#5fb2f2) on a neutral background (#030508).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030508black |
| Foreground | #000000black | #fcfcfdwhite |
| Card | #fcfcfcsnow | #04080bblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #04080bblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #5fb2f2cornflowerblue | #5fb2f2cornflowerblue |
| Primary foreground | #02111cblack | #02111cblack |
| Secondary | #f25fb2hotpink | #f25fb2hotpink |
| Secondary foreground | #1c0211black | #1c0211black |
| Muted | #e1dbdegainsboro | #241e22black |
| Muted foreground | #433d40darkslategray | #c2bcc0silver |
| Accent | #b2f25fgreenyellow | #b2f25fgreenyellow |
| Accent foreground | #111c02black | #111c02black |
| Destructive | #b8180afirebrick | #e41e0cred |
| Destructive foreground | #fef6f5lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5fb2f2cornflowerblue | #5fb2f2cornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 8.31:1 | AAA |
| Secondary button | 6.60:1 | AA |
| Muted text | 7.76:1 | AAA |
| Accent | 13.23:1 | AAA |
| Destructive | 6.20:1 | AA |
| Text on background | 19.87:1 | AAA |
| Text on card | 20.08:1 | AAA |
| Primary button | 8.31:1 | AAA |
| Secondary button | 6.60:1 | AA |
| Muted text | 8.75:1 | AAA |
| Accent | 13.23:1 | AAA |
| Destructive | 4.68:1 | AA |
Paste this into your globals.css to use Inborn in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.897 0.008 342.018);
--muted-foreground: oklch(0.366 0.011 342.488);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.738 0.124 243.71);
--primary-foreground: oklch(0.17 0.033 240.474);
--secondary: oklch(0.697 0.2 348.447);
--secondary-foreground: oklch(0.158 0.055 347.635);
--accent: oklch(0.889 0.188 129.417);
--accent-foreground: oklch(0.21 0.05 128.721);
--destructive: oklch(0.501 0.193 30.089);
--destructive-foreground: oklch(0.98 0.009 23.672);
--ring: oklch(0.738 0.124 243.71);
--chart-1: oklch(0.738 0.124 243.71);
--chart-2: oklch(0.697 0.2 348.447);
--chart-3: oklch(0.889 0.188 129.417);
--chart-4: oklch(0.718 0.184 347.61);
--chart-5: oklch(0.739 0.127 243.885);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.114 0.011 233.789);
--foreground: oklch(0.992 0.001 240.292);
--muted: oklch(0.244 0.011 342.856);
--muted-foreground: oklch(0.802 0.009 342.066);
--popover: oklch(0.131 0.012 234.191);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.131 0.012 234.191);
--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.738 0.124 243.71);
--primary-foreground: oklch(0.17 0.033 240.474);
--secondary: oklch(0.697 0.2 348.447);
--secondary-foreground: oklch(0.158 0.055 347.635);
--accent: oklch(0.889 0.188 129.417);
--accent-foreground: oklch(0.21 0.05 128.721);
--destructive: oklch(0.585 0.228 30.073);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.738 0.124 243.71);
--chart-1: oklch(0.738 0.124 243.71);
--chart-2: oklch(0.697 0.2 348.447);
--chart-3: oklch(0.889 0.188 129.417);
--chart-4: oklch(0.718 0.184 347.61);
--chart-5: oklch(0.739 0.127 243.885);
}