Procedure is a shadcn/ui theme built around a light purple primary color (#fbf3fb) with light teal accents (#f3fbfb). The light mode uses a neutral background (#fefbfd). Dark mode keeps the light purple primary (#fbf3fb) on a purple-tinted background (#0e060e).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfdsnow | #0e060eblack |
| Foreground | #040104black | #ffffffwhite |
| Card | #fefbfdsnow | #0e060eblack |
| Card foreground | #040104black | #ffffffwhite |
| Popover | #fefbfdsnow | #0e060eblack |
| Popover foreground | #040104black | #ffffffwhite |
| Primary | #fbf3fbghostwhite | #fbf3fbghostwhite |
| Primary foreground | #8e2e8arebeccapurple | #8e2e8arebeccapurple |
| Secondary | #fbfbf3floralwhite | #fbfbf3floralwhite |
| Secondary foreground | #3f4115darkolivegreen | #3f4115darkolivegreen |
| Muted | #f5f6ealinen | #151509black |
| Muted foreground | #62644adarkolivegreen | #b4b59bdarkgray |
| Accent | #f3fbfbmintcream | #f3fbfbmintcream |
| Accent foreground | #153f41darkslategray | #153f41darkslategray |
| Destructive | #ac2206firebrick | #f6350eorangered |
| Destructive foreground | #feeae6linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fbf3fbghostwhite | #fbf3fbghostwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 6.66:1 | AA |
| Secondary button | 10.22:1 | AAA |
| Muted text | 5.58:1 | AA |
| Accent | 10.99:1 | AAA |
| Destructive | 6.06:1 | AA |
| Text on background | 19.95:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 6.66:1 | AA |
| Secondary button | 10.22:1 | AAA |
| Muted text | 8.75:1 | AAA |
| Accent | 10.99:1 | AAA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use Procedure in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 327.071);
--foreground: oklch(0.085 0.024 328.736);
--muted: oklch(0.968 0.016 109.009);
--muted-foreground: oklch(0.494 0.039 110.14);
--popover: oklch(0.991 0.003 327.071);
--popover-foreground: oklch(0.085 0.024 328.736);
--card: oklch(0.991 0.003 327.071);
--card-foreground: oklch(0.085 0.024 328.736);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.974 0.013 327.159);
--primary-foreground: oklch(0.48 0.169 329.913);
--secondary: oklch(0.986 0.01 108.902);
--secondary-foreground: oklch(0.364 0.064 111.857);
--accent: oklch(0.982 0.008 200.792);
--accent-foreground: oklch(0.341 0.046 200.033);
--destructive: oklch(0.484 0.177 32.356);
--destructive-foreground: oklch(0.953 0.022 31.101);
--ring: oklch(0.974 0.013 327.159);
--chart-1: oklch(0.974 0.013 327.159);
--chart-2: oklch(0.986 0.01 108.902);
--chart-3: oklch(0.982 0.008 200.792);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.973 0.014 327.166);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.022 328.292);
--foreground: oklch(1 0 180);
--muted: oklch(0.192 0.022 110.762);
--muted-foreground: oklch(0.766 0.036 109.561);
--popover: oklch(0.14 0.022 328.292);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.14 0.022 328.292);
--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.974 0.013 327.159);
--primary-foreground: oklch(0.48 0.169 329.913);
--secondary: oklch(0.986 0.01 108.902);
--secondary-foreground: oklch(0.364 0.064 111.857);
--accent: oklch(0.982 0.008 200.792);
--accent-foreground: oklch(0.341 0.046 200.033);
--destructive: oklch(0.632 0.232 32.281);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.974 0.013 327.159);
--chart-1: oklch(0.974 0.013 327.159);
--chart-2: oklch(0.986 0.01 108.902);
--chart-3: oklch(0.982 0.008 200.792);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.973 0.014 327.166);
}