Worried is a shadcn/ui theme built around a deep orange primary color (#201008) with muted light orange accents (#d2cac6). The light mode uses a neutral background (#fcf9f8). Dark mode keeps the deep orange primary (#201008) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf9f8snow | #000000black |
| Foreground | #080402black | #f9f7f5whitesmoke |
| Card | #fcf9f8snow | #000000black |
| Card foreground | #080402black | #f9f7f5whitesmoke |
| Popover | #fcf9f8snow | #000000black |
| Popover foreground | #080402black | #f9f7f5whitesmoke |
| Primary | #201008black | #201008black |
| Primary foreground | #de9c7ddarksalmon | #de9c7ddarksalmon |
| Secondary | #e2e0dfgainsboro | #1e1815black |
| Secondary foreground | #4b4644darkslategray | #c0aea5darkgray |
| Muted | #f4eeeblinen | #140e0bblack |
| Muted foreground | #535150darkslategray | #afadacdarkgray |
| Accent | #d2cac6lightgrey | #30231cblack |
| Accent foreground | #39312ddarkslategray | #d0b9afsilver |
| Destructive | #a2390bsaddlebrown | #f06428chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #201008black | #201008black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.50:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 7.05:1 | AAA |
| Muted text | 6.87:1 | AA |
| Accent | 7.86:1 | AAA |
| Destructive | 6.73:1 | AA |
| Text on background | 19.65:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 8.58:1 | AAA |
| Accent | 8.14:1 | AAA |
| Destructive | 6.57:1 | AA |
Paste this into your globals.css to use Worried in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.003 46.819);
--foreground: oklch(0.114 0.015 56.589);
--muted: oklch(0.953 0.008 46.764);
--muted-foreground: oklch(0.437 0.003 46.769);
--popover: oklch(0.984 0.003 46.819);
--popover-foreground: oklch(0.114 0.015 56.589);
--card: oklch(0.984 0.003 46.819);
--card-foreground: oklch(0.114 0.015 56.589);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.194 0.031 45.512);
--primary-foreground: oklch(0.749 0.09 45.76);
--secondary: oklch(0.908 0.003 46.824);
--secondary-foreground: oklch(0.399 0.008 46.648);
--accent: oklch(0.844 0.01 46.726);
--accent-foreground: oklch(0.32 0.013 46.449);
--destructive: oklch(0.489 0.149 39.428);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.194 0.031 45.512);
--chart-1: oklch(0.194 0.031 45.512);
--chart-2: oklch(0.908 0.003 46.824);
--chart-3: oklch(0.844 0.01 46.726);
--chart-4: oklch(0.931 0.002 46.833);
--chart-5: oklch(0.195 0.033 45.592);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.977 0.003 46.818);
--muted: oklch(0.169 0.012 46.166);
--muted-foreground: oklch(0.749 0.003 46.812);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.977 0.003 46.818);
--card: oklch(0 0 0);
--card-foreground: oklch(0.977 0.003 46.818);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.194 0.031 45.512);
--primary-foreground: oklch(0.749 0.09 45.76);
--secondary: oklch(0.215 0.011 46.352);
--secondary-foreground: oklch(0.763 0.024 46.531);
--accent: oklch(0.269 0.024 46.034);
--accent-foreground: oklch(0.803 0.03 46.473);
--destructive: oklch(0.672 0.186 40.992);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.194 0.031 45.512);
--chart-1: oklch(0.194 0.031 45.512);
--chart-2: oklch(0.215 0.011 46.352);
--chart-3: oklch(0.269 0.024 46.034);
--chart-4: oklch(0.247 0.014 46.313);
--chart-5: oklch(0.195 0.033 45.592);
}