Permafrost Swordtail is a shadcn/ui theme built around a vivid light cyan primary color (#9fedf9) with vivid light red accents (#f9ab9f). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light cyan primary (#9fedf9) on a cyan-tinted background (#040a0b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040a0bblack |
| Foreground | #051315black | #fcfdfdwhite |
| Card | #ffffffwhite | #040a0bblack |
| Card foreground | #051315black | #fcfdfdwhite |
| Popover | #ffffffwhite | #040a0bblack |
| Popover foreground | #051315black | #fcfdfdwhite |
| Primary | #9fedf9paleturquoise | #9fedf9paleturquoise |
| Primary foreground | #065460darkslategray | #065460darkslategray |
| Secondary | #f9ab9flightpink | #f9ab9flightpink |
| Secondary foreground | #601206maroon | #601206maroon |
| Muted | #e8d2cegainsboro | #311a17black |
| Muted foreground | #4a4140darkslategray | #bfb7b5silver |
| Accent | #f9ab9flightpink | #f9ab9flightpink |
| Accent foreground | #601206maroon | #601206maroon |
| Destructive | #e21603red | #fc2f1dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #eff0f0whitesmoke | #1d2020black |
| Input | #eff0f0whitesmoke | #1d2020black |
| Ring | #9fedf9paleturquoise | #9fedf9paleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.91:1 | AAA |
| Text on card | 18.91:1 | AAA |
| Primary button | 6.53:1 | AA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 6.85:1 | AA |
| Accent | 7.15:1 | AAA |
| Destructive | 4.82:1 | AA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 6.53:1 | AA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 8.25:1 | AAA |
| Accent | 7.15:1 | AAA |
| Destructive | 3.78:1 | AA Large |
Paste this into your globals.css to use Permafrost Swordtail in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.173 0.021 207.617);
--muted: oklch(0.881 0.025 28.104);
--muted-foreground: oklch(0.385 0.012 28.116);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.173 0.021 207.617);
--card: oklch(1 0 180);
--card-foreground: oklch(0.173 0.021 207.617);
--border: oklch(0.955 0.001 207.927);
--input: oklch(0.955 0.001 207.927);
--primary: oklch(0.9 0.079 208.042);
--primary-foreground: oklch(0.411 0.07 211.813);
--secondary: oklch(0.813 0.095 28.971);
--secondary-foreground: oklch(0.322 0.113 31.873);
--accent: oklch(0.813 0.095 28.971);
--accent-foreground: oklch(0.322 0.113 31.873);
--destructive: oklch(0.579 0.23 30.047);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.9 0.079 208.042);
--chart-1: oklch(0.9 0.079 208.042);
--chart-2: oklch(0.813 0.095 28.971);
--chart-3: oklch(0.813 0.095 28.971);
--chart-4: oklch(0.84 0.08 28.714);
--chart-5: oklch(0.902 0.081 208.065);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.012 205.628);
--foreground: oklch(0.993 0.001 207.929);
--muted: oklch(0.248 0.036 29.353);
--muted-foreground: oklch(0.785 0.01 27.998);
--popover: oklch(0.139 0.012 205.628);
--popover-foreground: oklch(0.993 0.001 207.929);
--card: oklch(0.139 0.012 205.628);
--card-foreground: oklch(0.993 0.001 207.929);
--border: oklch(0.24 0.004 207.87);
--input: oklch(0.24 0.004 207.87);
--primary: oklch(0.9 0.079 208.042);
--primary-foreground: oklch(0.411 0.07 211.813);
--secondary: oklch(0.813 0.095 28.971);
--secondary-foreground: oklch(0.322 0.113 31.873);
--accent: oklch(0.813 0.095 28.971);
--accent-foreground: oklch(0.322 0.113 31.873);
--destructive: oklch(0.639 0.238 30.046);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.9 0.079 208.042);
--chart-1: oklch(0.9 0.079 208.042);
--chart-2: oklch(0.813 0.095 28.971);
--chart-3: oklch(0.813 0.095 28.971);
--chart-4: oklch(0.84 0.08 28.714);
--chart-5: oklch(0.902 0.081 208.065);
}