Emotional is a shadcn/ui theme built around a cyan primary color (#38798f) with green accents (#798f38). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the cyan primary (#38798f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fbfdghostwhite | #000000black |
| Foreground | #030a0cblack | #ffffffwhite |
| Card | #f3f9fbaliceblue | #030303black |
| Card foreground | #020708black | #ffffffwhite |
| Popover | #f3f9fbaliceblue | #030303black |
| Popover foreground | #020708black | #ffffffwhite |
| Primary | #38798fsteelblue | #38798fsteelblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #8f3879rebeccapurple | #8f3879rebeccapurple |
| Secondary foreground | #fefbfdsnow | #fefbfdsnow |
| Muted | #f1eef0whitesmoke | #110e10black |
| Muted foreground | #6e5368dimgray | #ac91a5darkgray |
| Accent | #798f38olivedrab | #798f38olivedrab |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #bb3707firebrick | #f75e26tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #38798fsteelblue | #38798fsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.19:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 4.86:1 | AA |
| Secondary button | 6.78:1 | AA |
| Muted text | 5.89:1 | AA |
| Accent | 3.61:1 | AA Large |
| Destructive | 5.73:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 4.86:1 | AA |
| Secondary button | 6.78:1 | AA |
| Muted text | 6.71:1 | AA |
| Accent | 3.61:1 | AA Large |
| Destructive | 6.59:1 | AA |
Paste this into your globals.css to use Emotional in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.005 219.541);
--foreground: oklch(0.137 0.015 215.451);
--muted: oklch(0.953 0.004 333.94);
--muted-foreground: oklch(0.479 0.047 335.447);
--popover: oklch(0.979 0.007 219.559);
--popover-foreground: oklch(0.119 0.013 214.488);
--card: oklch(0.979 0.007 219.559);
--card-foreground: oklch(0.119 0.013 214.488);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.544 0.075 222.664);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.483 0.142 338.526);
--secondary-foreground: oklch(0.991 0.003 333.932);
--accent: oklch(0.615 0.117 121.738);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.53 0.176 36.497);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.544 0.075 222.664);
--chart-1: oklch(0.544 0.075 222.664);
--chart-2: oklch(0.483 0.142 338.526);
--chart-3: oklch(0.615 0.117 121.738);
--chart-4: oklch(0.51 0.151 338.564);
--chart-5: oklch(0.548 0.078 223.021);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.168 0.006 334.421);
--muted-foreground: oklch(0.686 0.043 334.897);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.544 0.075 222.664);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.483 0.142 338.526);
--secondary-foreground: oklch(0.991 0.003 333.932);
--accent: oklch(0.615 0.117 121.738);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.675 0.199 38.493);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.544 0.075 222.664);
--chart-1: oklch(0.544 0.075 222.664);
--chart-2: oklch(0.483 0.142 338.526);
--chart-3: oklch(0.615 0.117 121.738);
--chart-4: oklch(0.51 0.151 338.564);
--chart-5: oklch(0.548 0.078 223.021);
}