Flip-flops is a shadcn/ui theme built around a vivid pink primary color (#e21258) with vivid teal accents (#12e29d). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the vivid pink primary (#e21258) on a pink-tinted background (#0f0609).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f9snow | #0f0609black |
| Foreground | #080204black | #fcf8f9snow |
| Card | #faf4f6whitesmoke | #12070bblack |
| Card foreground | #040102black | #fdfbfcsnow |
| Popover | #faf4f6whitesmoke | #12070bblack |
| Popover foreground | #040102black | #fdfbfcsnow |
| Primary | #e21258crimson | #e21258crimson |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #12e29dmediumspringgreen | #12e29dmediumspringgreen |
| Secondary foreground | #03261ablack | #03261ablack |
| Muted | #dfe7e4gainsboro | #18201dblack |
| Muted foreground | #49504edarkslategray | #afb6b4darkgray |
| Accent | #12e29dmediumspringgreen | #12e29dmediumspringgreen |
| Accent foreground | #03261ablack | #03261ablack |
| Destructive | #7f0e0amaroon | #ef3f39tomato |
| Destructive foreground | #fac4c2pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e21258crimson | #e21258crimson |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.51:1 | AAA |
| Text on card | 19.19:1 | AAA |
| Primary button | 4.69:1 | AA |
| Secondary button | 9.59:1 | AAA |
| Muted text | 6.56:1 | AA |
| Accent | 9.59:1 | AAA |
| Destructive | 6.95:1 | AA |
| Text on background | 19.00:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 4.69:1 | AA |
| Secondary button | 9.59:1 | AAA |
| Muted text | 8.05:1 | AAA |
| Accent | 9.59:1 | AAA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use Flip-flops in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 354.726);
--foreground: oklch(0.105 0.019 354.233);
--muted: oklch(0.921 0.009 174.297);
--muted-foreground: oklch(0.423 0.009 173.987);
--popover: oklch(0.973 0.007 354.797);
--popover-foreground: oklch(0.084 0.015 354.233);
--card: oklch(0.973 0.007 354.797);
--card-foreground: oklch(0.084 0.015 354.233);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.588 0.228 11.854);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.809 0.175 161.987);
--secondary-foreground: oklch(0.239 0.046 166.583);
--accent: oklch(0.809 0.175 161.987);
--accent-foreground: oklch(0.239 0.046 166.583);
--destructive: oklch(0.383 0.146 28.771);
--destructive-foreground: oklch(0.867 0.063 20.727);
--ring: oklch(0.588 0.228 11.854);
--chart-1: oklch(0.588 0.228 11.854);
--chart-2: oklch(0.809 0.175 161.987);
--chart-3: oklch(0.809 0.175 161.987);
--chart-4: oklch(0.836 0.179 162.353);
--chart-5: oklch(0.593 0.232 12.583);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.019 355.709);
--foreground: oklch(0.982 0.005 354.726);
--muted: oklch(0.235 0.012 172.939);
--muted-foreground: oklch(0.769 0.007 174.304);
--popover: oklch(0.149 0.021 357.581);
--popover-foreground: oklch(0.991 0.002 354.656);
--card: oklch(0.149 0.021 357.581);
--card-foreground: oklch(0.991 0.002 354.656);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.588 0.228 11.854);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.809 0.175 161.987);
--secondary-foreground: oklch(0.239 0.046 166.583);
--accent: oklch(0.809 0.175 161.987);
--accent-foreground: oklch(0.239 0.046 166.583);
--destructive: oklch(0.631 0.213 27.312);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.588 0.228 11.854);
--chart-1: oklch(0.588 0.228 11.854);
--chart-2: oklch(0.809 0.175 161.987);
--chart-3: oklch(0.809 0.175 161.987);
--chart-4: oklch(0.836 0.179 162.353);
--chart-5: oklch(0.593 0.232 12.583);
}