Rheumatism is a shadcn/ui theme built around a muted violet primary color (#ac97ba) with muted green accents (#a4ba97). The light mode uses a neutral background (#fdfbfd). Dark mode keeps the muted violet primary (#ac97ba) on a violet-tinted background (#09030c).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfdsnow | #09030cblack |
| Foreground | #0f0415black | #fdfcfdwhite |
| Card | #fdfbfdsnow | #09030cblack |
| Card foreground | #0f0415black | #fdfcfdwhite |
| Popover | #fdfbfdsnow | #09030cblack |
| Popover foreground | #0f0415black | #fdfcfdwhite |
| Primary | #ac97badarkgray | #ac97badarkgray |
| Primary foreground | #100c12black | #100c12black |
| Secondary | #a4ba97darkseagreen | #a4ba97darkseagreen |
| Secondary foreground | #0f120cblack | #0f120cblack |
| Muted | #deebd5gainsboro | #1c2a14black |
| Muted foreground | #3f413edarkslategray | #bfc1besilver |
| Accent | #a4ba97darkseagreen | #a4ba97darkseagreen |
| Accent foreground | #0f120cblack | #0f120cblack |
| Destructive | #9d1f10firebrick | #d92a17firebrick |
| Destructive foreground | #fce6e3mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ac97badarkgray | #ac97badarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.49:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 7.28:1 | AAA |
| Secondary button | 9.01:1 | AAA |
| Muted text | 8.34:1 | AAA |
| Accent | 9.01:1 | AAA |
| Destructive | 6.67:1 | AA |
| Text on background | 19.89:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 7.28:1 | AAA |
| Secondary button | 9.01:1 | AAA |
| Muted text | 8.36:1 | AAA |
| Accent | 9.01:1 | AAA |
| Destructive | 4.89:1 | AA |
Paste this into your globals.css to use Rheumatism in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 312.965);
--foreground: oklch(0.14 0.043 312.085);
--muted: oklch(0.925 0.033 133.233);
--muted-foreground: oklch(0.373 0.005 133.073);
--popover: oklch(0.991 0.003 312.965);
--popover-foreground: oklch(0.14 0.043 312.085);
--card: oklch(0.991 0.003 312.965);
--card-foreground: oklch(0.14 0.043 312.085);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.707 0.055 312.457);
--primary-foreground: oklch(0.163 0.014 312.403);
--secondary: oklch(0.762 0.054 133.494);
--secondary-foreground: oklch(0.177 0.014 133.544);
--accent: oklch(0.762 0.054 133.494);
--accent-foreground: oklch(0.177 0.014 133.544);
--destructive: oklch(0.453 0.164 30.494);
--destructive-foreground: oklch(0.942 0.025 25.224);
--ring: oklch(0.707 0.055 312.457);
--chart-1: oklch(0.707 0.055 312.457);
--chart-2: oklch(0.762 0.054 133.494);
--chart-3: oklch(0.762 0.054 133.494);
--chart-4: oklch(0.784 0.049 133.431);
--chart-5: oklch(0.703 0.063 312.374);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.026 314.558);
--foreground: oklch(0.992 0.002 312.973);
--muted: oklch(0.264 0.043 134.343);
--muted-foreground: oklch(0.807 0.004 133.019);
--popover: oklch(0.119 0.026 314.558);
--popover-foreground: oklch(0.992 0.002 312.973);
--card: oklch(0.119 0.026 314.558);
--card-foreground: oklch(0.992 0.002 312.973);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.707 0.055 312.457);
--primary-foreground: oklch(0.163 0.014 312.403);
--secondary: oklch(0.762 0.054 133.494);
--secondary-foreground: oklch(0.177 0.014 133.544);
--accent: oklch(0.762 0.054 133.494);
--accent-foreground: oklch(0.177 0.014 133.544);
--destructive: oklch(0.573 0.211 30.518);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.707 0.055 312.457);
--chart-1: oklch(0.707 0.055 312.457);
--chart-2: oklch(0.762 0.054 133.494);
--chart-3: oklch(0.762 0.054 133.494);
--chart-4: oklch(0.784 0.049 133.431);
--chart-5: oklch(0.703 0.063 312.374);
}