Flip-flops is a shadcn/ui theme built around a cyan primary color (#268292) with green accents (#829226). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the cyan primary (#268292) on a cyan-tinted background (#050e0f).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfcghostwhite | #050e0fblack |
| Foreground | #030f11black | #ffffffwhite |
| Card | #f8fbfcghostwhite | #050e0fblack |
| Card foreground | #030f11black | #ffffffwhite |
| Popover | #f8fbfcghostwhite | #050e0fblack |
| Popover foreground | #030f11black | #ffffffwhite |
| Primary | #268292darkcyan | #268292darkcyan |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #922682darkmagenta | #922682darkmagenta |
| Secondary foreground | #fbeff9lavenderblush | #fbeff9lavenderblush |
| Muted | #eeddeblavender | #22111fblack |
| Muted foreground | #5a4e58dimgray | #b1a5afdarkgray |
| Accent | #829226olivedrab | #829226olivedrab |
| Accent foreground | #000000black | #000000black |
| Destructive | #8e0e0bdarkred | #ee332fcrimson |
| Destructive foreground | #fbd1d0pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #268292darkcyan | #268292darkcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.70:1 | AAA |
| Text on card | 18.70:1 | AAA |
| Primary button | 4.49:1 | AA Large |
| Secondary button | 6.68:1 | AA |
| Muted text | 6.07:1 | AA |
| Accent | 6.08:1 | AA |
| Destructive | 6.85:1 | AA |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 4.49:1 | AA Large |
| Secondary button | 6.68:1 | AA |
| Muted text | 7.59:1 | AAA |
| Accent | 6.08:1 | AA |
| Destructive | 4.07: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.986 0.003 209.46);
--foreground: oklch(0.157 0.02 208.291);
--muted: oklch(0.915 0.026 330.613);
--muted-foreground: oklch(0.44 0.022 330.881);
--popover: oklch(0.986 0.003 209.46);
--popover-foreground: oklch(0.157 0.02 208.291);
--card: oklch(0.986 0.003 209.46);
--card-foreground: oklch(0.157 0.02 208.291);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.56 0.086 212.038);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.473 0.175 334.813);
--secondary-foreground: oklch(0.964 0.019 330.494);
--accent: oklch(0.626 0.131 117.851);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.412 0.16 28.528);
--destructive-foreground: oklch(0.896 0.048 19.234);
--ring: oklch(0.56 0.086 212.038);
--chart-1: oklch(0.56 0.086 212.038);
--chart-2: oklch(0.473 0.175 334.813);
--chart-3: oklch(0.626 0.131 117.851);
--chart-4: oklch(0.5 0.187 334.85);
--chart-5: oklch(0.566 0.089 212.309);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.153 0.014 208.555);
--foreground: oklch(1 0 180);
--muted: oklch(0.208 0.038 332.401);
--muted-foreground: oklch(0.735 0.019 330.585);
--popover: oklch(0.153 0.014 208.555);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.153 0.014 208.555);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.56 0.086 212.038);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.473 0.175 334.813);
--secondary-foreground: oklch(0.964 0.019 330.494);
--accent: oklch(0.626 0.131 117.851);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.619 0.223 27.388);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.56 0.086 212.038);
--chart-1: oklch(0.56 0.086 212.038);
--chart-2: oklch(0.473 0.175 334.813);
--chart-3: oklch(0.626 0.131 117.851);
--chart-4: oklch(0.5 0.187 334.85);
--chart-5: oklch(0.566 0.089 212.309);
}