Parka is a shadcn/ui theme built around a near-black primary color (#040103) with muted light pink accents (#e2d5dd). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the near-black primary (#040103) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fbsnow | #000000black |
| Foreground | #080206black | #f9f6f8whitesmoke |
| Card | #fbf4f8lavenderblush | #030303black |
| Card foreground | #040103black | #fbf9fasnow |
| Popover | #fbf4f8lavenderblush | #030303black |
| Popover foreground | #040103black | #fbf9fasnow |
| Primary | #040103black | #040103black |
| Primary foreground | #d463adpalevioletred | #d463adpalevioletred |
| Secondary | #e2d5ddgainsboro | #352730darkslategray |
| Secondary foreground | #4f3646darkslategray | #d0becathistle |
| Muted | #eee2ealavender | #1d1119black |
| Muted foreground | #5e5e5edimgray | #a1a1a1darkgray |
| Accent | #e2d5ddgainsboro | #352730darkslategray |
| Accent foreground | #4f3646darkslategray | #d0becathistle |
| Destructive | #792102maroon | #fb4604orangered |
| Destructive foreground | #fec4aflightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #040103black | #040103black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.48:1 | AAA |
| Text on card | 19.16:1 | AAA |
| Primary button | 6.11:1 | AA |
| Secondary button | 7.57:1 | AAA |
| Muted text | 5.15:1 | AA |
| Accent | 7.57:1 | AAA |
| Destructive | 6.76:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.72:1 | AAA |
| Primary button | 6.11:1 | AA |
| Secondary button | 8.04:1 | AAA |
| Muted text | 7.09:1 | AAA |
| Accent | 8.04:1 | AAA |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use Parka in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.007 338.123);
--foreground: oklch(0.107 0.021 338.306);
--muted: oklch(0.924 0.017 338.367);
--muted-foreground: oklch(0.483 0 180);
--popover: oklch(0.973 0.01 338.194);
--popover-foreground: oklch(0.085 0.017 338.306);
--card: oklch(0.973 0.01 338.194);
--card-foreground: oklch(0.085 0.017 338.306);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.085 0.018 338.326);
--primary-foreground: oklch(0.659 0.166 342.87);
--secondary: oklch(0.885 0.019 338.426);
--secondary-foreground: oklch(0.367 0.044 340.328);
--accent: oklch(0.885 0.019 338.426);
--accent-foreground: oklch(0.367 0.044 340.328);
--destructive: oklch(0.386 0.126 37.338);
--destructive-foreground: oklch(0.866 0.073 40.891);
--ring: oklch(0.085 0.018 338.326);
--chart-1: oklch(0.085 0.018 338.326);
--chart-2: oklch(0.885 0.019 338.426);
--chart-3: oklch(0.885 0.019 338.426);
--chart-4: oklch(0.91 0.015 338.321);
--chart-5: oklch(0.084 0.019 338.345);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.005 338.087);
--muted: oklch(0.197 0.025 340.485);
--muted-foreground: oklch(0.708 0 158.199);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.984 0.003 338.052);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.984 0.003 338.052);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.085 0.018 338.326);
--primary-foreground: oklch(0.659 0.166 342.87);
--secondary: oklch(0.292 0.027 339.824);
--secondary-foreground: oklch(0.82 0.026 338.624);
--accent: oklch(0.292 0.027 339.824);
--accent-foreground: oklch(0.82 0.026 338.624);
--destructive: oklch(0.655 0.225 35.562);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.085 0.018 338.326);
--chart-1: oklch(0.085 0.018 338.326);
--chart-2: oklch(0.292 0.027 339.824);
--chart-3: oklch(0.292 0.027 339.824);
--chart-4: oklch(0.321 0.031 339.887);
--chart-5: oklch(0.084 0.019 338.345);
}