Flippant is a shadcn/ui theme built around a light pink primary color (#e8d3dd) with light teal accents (#d3e8df). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the light pink primary (#e8d3dd) on a pink-tinted background (#0c0407).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fasnow | #0c0407black |
| Foreground | #15040cblack | #fbf8fasnow |
| Card | #fbf4f7lavenderblush | #10050ablack |
| Card foreground | #11040ablack | #fdfcfcsnow |
| Popover | #fbf4f7lavenderblush | #10050ablack |
| Popover foreground | #11040ablack | #fdfcfcsnow |
| Primary | #e8d3ddgainsboro | #e8d3ddgainsboro |
| Primary foreground | #5b2f43darkslategray | #5b2f43darkslategray |
| Secondary | #d3e8dfgainsboro | #d3e8dfgainsboro |
| Secondary foreground | #2f5b47darkslategray | #2f5b47darkslategray |
| Muted | #d8eee4gainsboro | #11271dblack |
| Muted foreground | #4d5b55darkslategray | #a4b2acdarkgray |
| Accent | #d3e8dfgainsboro | #d3e8dfgainsboro |
| Accent foreground | #2f5b47darkslategray | #2f5b47darkslategray |
| Destructive | #9c2f07saddlebrown | #ef480borangered |
| Destructive foreground | #fde2d8mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e8d3ddgainsboro | #e8d3ddgainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.87:1 | AAA |
| Text on card | 18.52:1 | AAA |
| Primary button | 7.67:1 | AAA |
| Secondary button | 6.06:1 | AA |
| Muted text | 5.87:1 | AA |
| Accent | 6.06:1 | AA |
| Destructive | 6.04:1 | AA |
| Text on background | 19.25:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 7.67:1 | AAA |
| Secondary button | 6.06:1 | AA |
| Muted text | 7.14:1 | AAA |
| Accent | 6.06:1 | AA |
| Destructive | 3.75:1 | AA Large |
Paste this into your globals.css to use Flippant in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 347.968);
--foreground: oklch(0.146 0.035 351.73);
--muted: oklch(0.93 0.027 166.98);
--muted-foreground: oklch(0.457 0.019 166.587);
--popover: oklch(0.973 0.008 348.048);
--popover-foreground: oklch(0.133 0.031 349.75);
--card: oklch(0.973 0.008 348.048);
--card-foreground: oklch(0.133 0.031 349.75);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.888 0.027 348.617);
--primary-foreground: oklch(0.368 0.069 352.644);
--secondary: oklch(0.914 0.026 167.009);
--secondary-foreground: oklch(0.433 0.06 163.077);
--accent: oklch(0.914 0.026 167.009);
--accent-foreground: oklch(0.433 0.06 163.077);
--destructive: oklch(0.466 0.151 37.037);
--destructive-foreground: oklch(0.932 0.033 41.073);
--ring: oklch(0.888 0.027 348.617);
--chart-1: oklch(0.888 0.027 348.617);
--chart-2: oklch(0.914 0.026 167.009);
--chart-3: oklch(0.914 0.026 167.009);
--chart-4: oklch(0.934 0.02 167.214);
--chart-5: oklch(0.887 0.029 348.692);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.022 347.758);
--foreground: oklch(0.983 0.004 347.916);
--muted: oklch(0.252 0.035 163.063);
--muted-foreground: oklch(0.75 0.017 167.162);
--popover: oklch(0.136 0.025 349.452);
--popover-foreground: oklch(0.991 0.002 347.864);
--card: oklch(0.136 0.025 349.452);
--card-foreground: oklch(0.991 0.002 347.864);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.888 0.027 348.617);
--primary-foreground: oklch(0.368 0.069 352.644);
--secondary: oklch(0.914 0.026 167.009);
--secondary-foreground: oklch(0.433 0.06 163.077);
--accent: oklch(0.914 0.026 167.009);
--accent-foreground: oklch(0.433 0.06 163.077);
--destructive: oklch(0.636 0.212 36.376);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.888 0.027 348.617);
--chart-1: oklch(0.888 0.027 348.617);
--chart-2: oklch(0.914 0.026 167.009);
--chart-3: oklch(0.914 0.026 167.009);
--chart-4: oklch(0.934 0.02 167.214);
--chart-5: oklch(0.887 0.029 348.692);
}