Concentrate is a shadcn/ui theme built around a light cyan primary color (#f0f9fa) with light green accents (#f9faf0). The light mode uses a neutral background (#ffffff). Dark mode keeps the light cyan primary (#f0f9fa) on a cyan-tinted background (#040f10).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040f10black |
| Foreground | #010404black | #f8fbfbghostwhite |
| Card | #ffffffwhite | #040f10black |
| Card foreground | #010404black | #f8fbfbghostwhite |
| Popover | #ffffffwhite | #040f10black |
| Popover foreground | #010404black | #f8fbfbghostwhite |
| Primary | #f0f9faaliceblue | #f0f9faaliceblue |
| Primary foreground | #14383ddarkslategray | #14383ddarkslategray |
| Secondary | #faf0f9lavenderblush | #faf0f9lavenderblush |
| Secondary foreground | #8a2e7frebeccapurple | #8a2e7frebeccapurple |
| Muted | #e5cde2gainsboro | #321a2fdarkslategray |
| Muted foreground | #4e3b4cdarkslategray | #c4b1c2silver |
| Accent | #f9faf0floralwhite | #f9faf0floralwhite |
| Accent foreground | #383d14darkolivegreen | #383d14darkolivegreen |
| Destructive | #ad210bfirebrick | #f02d0forangered |
| Destructive foreground | #feeeecseashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f0f9faaliceblue | #f0f9faaliceblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.57:1 | AAA |
| Text on card | 20.57:1 | AAA |
| Primary button | 11.78:1 | AAA |
| Secondary button | 6.78:1 | AA |
| Muted text | 6.88:1 | AA |
| Accent | 10.79:1 | AAA |
| Destructive | 6.24:1 | AA |
| Text on background | 18.68:1 | AAA |
| Text on card | 18.68:1 | AAA |
| Primary button | 11.78:1 | AAA |
| Secondary button | 6.78:1 | AA |
| Muted text | 7.83:1 | AAA |
| Accent | 10.79:1 | AAA |
| Destructive | 4.13:1 | AA Large |
Paste this into your globals.css to use Concentrate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.098 0.012 203.138);
--muted: oklch(0.874 0.038 329.634);
--muted-foreground: oklch(0.381 0.038 330.249);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.098 0.012 203.138);
--card: oklch(1 0 180);
--card-foreground: oklch(0.098 0.012 203.138);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.975 0.01 206.383);
--primary-foreground: oklch(0.318 0.042 207.033);
--secondary: oklch(0.965 0.016 329.326);
--secondary-foreground: oklch(0.466 0.158 332.748);
--accent: oklch(0.981 0.013 112.037);
--accent-foreground: oklch(0.346 0.061 115.236);
--destructive: oklch(0.484 0.178 31.456);
--destructive-foreground: oklch(0.961 0.017 28.031);
--ring: oklch(0.975 0.01 206.383);
--chart-1: oklch(0.975 0.01 206.383);
--chart-2: oklch(0.965 0.016 329.326);
--chart-3: oklch(0.981 0.013 112.037);
--chart-4: oklch(0.991 0.004 329.18);
--chart-5: oklch(0.975 0.01 206.38);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.018 205.284);
--foreground: oklch(0.986 0.003 206.423);
--muted: oklch(0.261 0.051 331.224);
--muted-foreground: oklch(0.78 0.032 329.603);
--popover: oklch(0.157 0.018 205.284);
--popover-foreground: oklch(0.986 0.003 206.423);
--card: oklch(0.157 0.018 205.284);
--card-foreground: oklch(0.986 0.003 206.423);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.975 0.01 206.383);
--primary-foreground: oklch(0.318 0.042 207.033);
--secondary: oklch(0.965 0.016 329.326);
--secondary-foreground: oklch(0.466 0.158 332.748);
--accent: oklch(0.981 0.013 112.037);
--accent-foreground: oklch(0.346 0.061 115.236);
--destructive: oklch(0.616 0.23 31.331);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.975 0.01 206.383);
--chart-1: oklch(0.975 0.01 206.383);
--chart-2: oklch(0.965 0.016 329.326);
--chart-3: oklch(0.981 0.013 112.037);
--chart-4: oklch(0.991 0.004 329.18);
--chart-5: oklch(0.975 0.01 206.38);
}