Flip-flops is a shadcn/ui theme built around a vivid light pink primary color (#fec3ea) with muted light pink accents (#d5c3cf). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the vivid light pink primary (#fec3ea) on a neutral background (#080206).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #080206black |
| Foreground | #090106black | #fbf9fasnow |
| Card | #fdfcfdwhite | #080206black |
| Card foreground | #090106black | #fbf9fasnow |
| Popover | #fdfcfdwhite | #080206black |
| Popover foreground | #090106black | #fbf9fasnow |
| Primary | #fec3eapink | #fec3eapink |
| Primary foreground | #8d025epurple | #8d025epurple |
| Secondary | #d5c3cfthistle | #362631darkslategray |
| Secondary foreground | #3c2a36darkslategray | #d1bdcathistle |
| Muted | #f1e9efwhitesmoke | #160e13black |
| Muted foreground | #473e44darkslategray | #c1b8besilver |
| Accent | #d5c3cfthistle | #362631darkslategray |
| Accent foreground | #3c2a36darkslategray | #d1bdcathistle |
| Destructive | #911a08darkred | #f5563dtomato |
| Destructive foreground | #fcd5cfbisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fec3eapink | #fec3eapink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.10:1 | AAA |
| Text on card | 20.10:1 | AAA |
| Primary button | 6.16:1 | AA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 8.64:1 | AAA |
| Accent | 7.94:1 | AAA |
| Destructive | 6.58:1 | AA |
| Text on background | 19.58:1 | AAA |
| Text on card | 19.58:1 | AAA |
| Primary button | 6.16:1 | AA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 9.83:1 | AAA |
| Accent | 8.03:1 | AAA |
| Destructive | 6.26:1 | AA |
Paste this into your globals.css to use Flip-flops in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 337.312);
--foreground: oklch(0.103 0.033 337.857);
--muted: oklch(0.942 0.012 337.518);
--muted-foreground: oklch(0.374 0.016 338.12);
--popover: oklch(0.991 0.002 337.312);
--popover-foreground: oklch(0.103 0.033 337.857);
--card: oklch(0.991 0.002 337.312);
--card-foreground: oklch(0.103 0.033 337.857);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.881 0.084 339.091);
--primary-foreground: oklch(0.426 0.177 348.431);
--secondary: oklch(0.835 0.026 337.889);
--secondary-foreground: oklch(0.311 0.034 339.33);
--accent: oklch(0.835 0.026 337.889);
--accent-foreground: oklch(0.311 0.034 339.33);
--destructive: oklch(0.427 0.157 31.496);
--destructive-foreground: oklch(0.904 0.046 28.274);
--ring: oklch(0.881 0.084 339.091);
--chart-1: oklch(0.881 0.084 339.091);
--chart-2: oklch(0.835 0.026 337.889);
--chart-3: oklch(0.835 0.026 337.889);
--chart-4: oklch(0.861 0.022 337.778);
--chart-5: oklch(0.88 0.087 339.146);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.021 337.649);
--foreground: oklch(0.984 0.002 337.311);
--muted: oklch(0.176 0.018 339.233);
--muted-foreground: oklch(0.792 0.013 337.605);
--popover: oklch(0.107 0.021 337.649);
--popover-foreground: oklch(0.984 0.002 337.311);
--card: oklch(0.107 0.021 337.649);
--card-foreground: oklch(0.984 0.002 337.311);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.881 0.084 339.091);
--primary-foreground: oklch(0.426 0.177 348.431);
--secondary: oklch(0.291 0.031 339.283);
--secondary-foreground: oklch(0.819 0.029 337.967);
--accent: oklch(0.291 0.031 339.283);
--accent-foreground: oklch(0.819 0.029 337.967);
--destructive: oklch(0.664 0.199 31.431);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.881 0.084 339.091);
--chart-1: oklch(0.881 0.084 339.091);
--chart-2: oklch(0.291 0.031 339.283);
--chart-3: oklch(0.291 0.031 339.283);
--chart-4: oklch(0.32 0.035 339.351);
--chart-5: oklch(0.88 0.087 339.146);
}