Scheduling is a shadcn/ui theme built around a muted deep green primary color (#131614) with muted deep purple accents (#161315). The light mode uses a neutral background (#fbfdfc). Dark mode keeps the muted deep green primary (#131614) on a green-tinted background (#050b06).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfcwhite | #050b06black |
| Foreground | #031608black | #f6f8f7whitesmoke |
| Card | #fbfdfcwhite | #050b06black |
| Card foreground | #031608black | #f6f8f7whitesmoke |
| Popover | #fbfdfcwhite | #050b06black |
| Popover foreground | #031608black | #f6f8f7whitesmoke |
| Primary | #131614black | #131614black |
| Primary foreground | #a7b4aadarkgray | #a7b4aadarkgray |
| Secondary | #161315black | #161315black |
| Secondary foreground | #b4a7b1darkgray | #b4a7b1darkgray |
| Muted | #e2d0ddgainsboro | #2f1d2bdarkslategray |
| Muted foreground | #443c42darkslategray | #c3bbc1silver |
| Accent | #161315black | #161315black |
| Accent foreground | #b4a7b1darkgray | #b4a7b1darkgray |
| Destructive | #5e2308maroon | #ed692cchocolate |
| Destructive foreground | #f7bca1lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #131614black | #131614black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.38:1 | AAA |
| Text on card | 18.38:1 | AAA |
| Primary button | 8.46:1 | AAA |
| Secondary button | 8.00:1 | AAA |
| Muted text | 7.24:1 | AAA |
| Accent | 8.00:1 | AAA |
| Destructive | 7.35:1 | AAA |
| Text on background | 18.65:1 | AAA |
| Text on card | 18.65:1 | AAA |
| Primary button | 8.46:1 | AAA |
| Secondary button | 8.00:1 | AAA |
| Muted text | 8.38:1 | AAA |
| Accent | 8.00:1 | AAA |
| Destructive | 6.64:1 | AA |
Paste this into your globals.css to use Scheduling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 153.826);
--foreground: oklch(0.18 0.04 150.812);
--muted: oklch(0.876 0.026 334.374);
--muted-foreground: oklch(0.366 0.014 334.517);
--popover: oklch(0.994 0.003 153.826);
--popover-foreground: oklch(0.18 0.04 150.812);
--card: oklch(0.994 0.003 153.826);
--card-foreground: oklch(0.18 0.04 150.812);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.196 0.007 153.254);
--primary-foreground: oklch(0.757 0.02 153.42);
--secondary: oklch(0.191 0.007 334.494);
--secondary-foreground: oklch(0.742 0.02 334.331);
--accent: oklch(0.191 0.007 334.494);
--accent-foreground: oklch(0.742 0.02 334.331);
--destructive: oklch(0.34 0.093 42.084);
--destructive-foreground: oklch(0.843 0.077 46.01);
--ring: oklch(0.196 0.007 153.254);
--chart-1: oklch(0.196 0.007 153.254);
--chart-2: oklch(0.191 0.007 334.494);
--chart-3: oklch(0.191 0.007 334.494);
--chart-4: oklch(0.224 0.009 334.57);
--chart-5: oklch(0.197 0.01 153.019);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.016 153.379);
--foreground: oklch(0.978 0.003 153.827);
--muted: oklch(0.26 0.035 336.017);
--muted-foreground: oklch(0.801 0.012 334.121);
--popover: oklch(0.138 0.016 153.379);
--popover-foreground: oklch(0.978 0.003 153.827);
--card: oklch(0.138 0.016 153.379);
--card-foreground: oklch(0.978 0.003 153.827);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.196 0.007 153.254);
--primary-foreground: oklch(0.757 0.02 153.42);
--secondary: oklch(0.191 0.007 334.494);
--secondary-foreground: oklch(0.742 0.02 334.331);
--accent: oklch(0.191 0.007 334.494);
--accent-foreground: oklch(0.742 0.02 334.331);
--destructive: oklch(0.674 0.178 42.551);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.196 0.007 153.254);
--chart-1: oklch(0.196 0.007 153.254);
--chart-2: oklch(0.191 0.007 334.494);
--chart-3: oklch(0.191 0.007 334.494);
--chart-4: oklch(0.224 0.009 334.57);
--chart-5: oklch(0.197 0.01 153.019);
}