Pug is a shadcn/ui theme built around a light teal primary color (#e6faf4) with light yellow accents (#faf4e6). The light mode uses a neutral background (#ffffff). Dark mode keeps the light teal primary (#e6faf4) on a teal-tinted background (#040c09).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040c09black |
| Foreground | #030d0ablack | #ffffffwhite |
| Card | #ffffffwhite | #040c09black |
| Card foreground | #030d0ablack | #ffffffwhite |
| Popover | #ffffffwhite | #040c09black |
| Popover foreground | #030d0ablack | #ffffffwhite |
| Primary | #e6faf4honeydew | #e6faf4honeydew |
| Primary foreground | #0c3b2edarkslategray | #0c3b2edarkslategray |
| Secondary | #f4e6falavender | #f4e6falavender |
| Secondary foreground | #6f1d90rebeccapurple | #6f1d90rebeccapurple |
| Muted | #efeaf1whitesmoke | #130e15black |
| Muted foreground | #5e5e5edimgray | #a1a1a1darkgray |
| Accent | #faf4e6oldlace | #faf4e6oldlace |
| Accent foreground | #3b2e0cdarkolivegreen | #3b2e0cdarkolivegreen |
| Destructive | #c55016chocolate | #e86a2cchocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e6faf4honeydew | #e6faf4honeydew |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.70:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 11.48:1 | AAA |
| Secondary button | 7.76:1 | AAA |
| Muted text | 5.45:1 | AA |
| Accent | 12.10:1 | AAA |
| Destructive | 4.61:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 11.48:1 | AAA |
| Secondary button | 7.76:1 | AAA |
| Muted text | 7.35:1 | AAA |
| Accent | 12.10:1 | AAA |
| Destructive | 6.53:1 | AA |
Paste this into your globals.css to use Pug in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.145 0.02 176.96);
--muted: oklch(0.942 0.01 316.576);
--muted-foreground: oklch(0.483 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.145 0.02 176.96);
--card: oklch(1 0 180);
--card-foreground: oklch(0.145 0.02 176.96);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.968 0.022 177.028);
--primary-foreground: oklch(0.318 0.055 169.945);
--secondary: oklch(0.941 0.031 316.513);
--secondary-foreground: oklch(0.422 0.18 313.982);
--accent: oklch(0.968 0.02 88.912);
--accent-foreground: oklch(0.308 0.052 86.972);
--destructive: oklch(0.579 0.163 42.431);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.968 0.022 177.028);
--chart-1: oklch(0.968 0.022 177.028);
--chart-2: oklch(0.941 0.031 316.513);
--chart-3: oklch(0.968 0.02 88.912);
--chart-4: oklch(0.971 0.015 316.562);
--chart-5: oklch(0.969 0.023 176.997);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.016 177.448);
--foreground: oklch(1 0 180);
--muted: oklch(0.175 0.016 316.344);
--muted-foreground: oklch(0.708 0 158.199);
--popover: oklch(0.142 0.016 177.448);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.142 0.016 177.448);
--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.968 0.022 177.028);
--primary-foreground: oklch(0.318 0.055 169.945);
--secondary: oklch(0.941 0.031 316.513);
--secondary-foreground: oklch(0.422 0.18 313.982);
--accent: oklch(0.968 0.02 88.912);
--accent-foreground: oklch(0.308 0.052 86.972);
--destructive: oklch(0.668 0.172 43.964);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.968 0.022 177.028);
--chart-1: oklch(0.968 0.022 177.028);
--chart-2: oklch(0.941 0.031 316.513);
--chart-3: oklch(0.968 0.02 88.912);
--chart-4: oklch(0.971 0.015 316.562);
--chart-5: oklch(0.969 0.023 176.997);
}