Fitting is a shadcn/ui theme built around a muted light pink primary color (#f3ecee) with muted light teal accents (#ecf3f1). The light mode uses a neutral background (#fdf7f8). Dark mode keeps the muted light pink primary (#f3ecee) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f8snow | #000000black |
| Foreground | #0c0406black | #fcf8f9snow |
| Card | #fcf2f5lavenderblush | #030303black |
| Card foreground | #080204black | #fdfcfcsnow |
| Popover | #fdf7f8snow | #000000black |
| Popover foreground | #0c0406black | #fcf8f9snow |
| Primary | #f3eceelinen | #f3eceelinen |
| Primary foreground | #69444edimgray | #69444edimgray |
| Secondary | #ecf3f1whitesmoke | #ecf3f1whitesmoke |
| Secondary foreground | #1c2b27darkslategray | #1c2b27darkslategray |
| Muted | #dde9e6gainsboro | #16221fblack |
| Muted foreground | #57756ddimgray | #8aa8a0darkseagreen |
| Accent | #ecf3f1whitesmoke | #ecf3f1whitesmoke |
| Accent foreground | #1c2b27darkslategray | #1c2b27darkslategray |
| Destructive | #902f0esaddlebrown | #ed6f45tomato |
| Destructive foreground | #fbdfd5antiquewhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f3eceelinen | #f3eceelinen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.11:1 | AAA |
| Text on card | 18.82:1 | AAA |
| Primary button | 7.13:1 | AAA |
| Secondary button | 13.10:1 | AAA |
| Muted text | 4.03:1 | AA Large |
| Accent | 13.10:1 | AAA |
| Destructive | 6.41:1 | AA |
| Text on background | 19.93:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 7.13:1 | AAA |
| Secondary button | 13.10:1 | AAA |
| Muted text | 6.40:1 | AA |
| Accent | 13.10:1 | AAA |
| Destructive | 6.95:1 | AA |
Paste this into your globals.css to use Fitting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.007 359);
--foreground: oklch(0.121 0.02 358.805);
--muted: oklch(0.923 0.013 178.387);
--muted-foreground: oklch(0.537 0.038 176.581);
--popover: oklch(0.981 0.007 359);
--popover-foreground: oklch(0.121 0.02 358.805);
--card: oklch(0.971 0.011 359.111);
--card-foreground: oklch(0.106 0.017 358.638);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.95 0.007 359.001);
--primary-foreground: oklch(0.433 0.052 2.067);
--secondary: oklch(0.959 0.007 178.567);
--secondary-foreground: oklch(0.275 0.022 176.273);
--accent: oklch(0.959 0.007 178.567);
--accent-foreground: oklch(0.275 0.022 176.273);
--destructive: oklch(0.445 0.138 37.118);
--destructive-foreground: oklch(0.923 0.034 39.324);
--ring: oklch(0.95 0.007 359.001);
--chart-1: oklch(0.95 0.007 359.001);
--chart-2: oklch(0.959 0.007 178.567);
--chart-3: oklch(0.959 0.007 178.567);
--chart-4: oklch(0.979 0.004 178.678);
--chart-5: oklch(0.949 0.008 359.033);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.004 358.896);
--muted: oklch(0.239 0.017 176.558);
--muted-foreground: oklch(0.707 0.036 177.243);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.004 358.896);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.991 0.002 358.839);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.95 0.007 359.001);
--primary-foreground: oklch(0.433 0.052 2.067);
--secondary: oklch(0.959 0.007 178.567);
--secondary-foreground: oklch(0.275 0.022 176.273);
--accent: oklch(0.959 0.007 178.567);
--accent-foreground: oklch(0.275 0.022 176.273);
--destructive: oklch(0.685 0.165 38.716);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.95 0.007 359.001);
--chart-1: oklch(0.95 0.007 359.001);
--chart-2: oklch(0.959 0.007 178.567);
--chart-3: oklch(0.959 0.007 178.567);
--chart-4: oklch(0.979 0.004 178.678);
--chart-5: oklch(0.949 0.008 359.033);
}