Methodology is a shadcn/ui theme built around a pink primary color (#d26596) with teal accents (#65d2a1). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#d26596) on a pink-tinted background (#0c0407).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0c0407black |
| Foreground | #050102black | #fdfbfcsnow |
| Card | #fcfcfcsnow | #0f050ablack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #0f050ablack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #d26596palevioletred | #d26596palevioletred |
| Primary foreground | #000000black | #000000black |
| Secondary | #65d2a1mediumaquamarine | #65d2a1mediumaquamarine |
| Secondary foreground | #010403black | #010403black |
| Muted | #eaf0edwhitesmoke | #0f1512black |
| Muted foreground | #616564dimgray | #9a9e9cdarkgray |
| Accent | #65d2a1mediumaquamarine | #65d2a1mediumaquamarine |
| Accent foreground | #010403black | #010403black |
| Destructive | #b0400cfirebrick | #e55310chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d26596palevioletred | #d26596palevioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.75:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 6.04:1 | AA |
| Secondary button | 11.08:1 | AAA |
| Muted text | 5.12:1 | AA |
| Accent | 11.08:1 | AAA |
| Destructive | 5.83:1 | AA |
| Text on background | 19.70:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 6.04:1 | AA |
| Secondary button | 11.08:1 | AAA |
| Muted text | 6.82:1 | AA |
| Accent | 11.08:1 | AAA |
| Destructive | 3.76:1 | AA Large |
Paste this into your globals.css to use Methodology in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.08 0.024 347.343);
--muted: oklch(0.95 0.007 167.609);
--muted-foreground: oklch(0.504 0.006 167.499);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.651 0.148 353.724);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.787 0.124 162.082);
--secondary-foreground: oklch(0.098 0.012 168.035);
--accent: oklch(0.787 0.124 162.082);
--accent-foreground: oklch(0.098 0.012 168.035);
--destructive: oklch(0.523 0.157 40.376);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.651 0.148 353.724);
--chart-1: oklch(0.651 0.148 353.724);
--chart-2: oklch(0.787 0.124 162.082);
--chart-3: oklch(0.787 0.124 162.082);
--chart-4: oklch(0.801 0.116 162.742);
--chart-5: oklch(0.651 0.155 354.066);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.021 347.737);
--foreground: oklch(0.991 0.002 347.879);
--muted: oklch(0.187 0.01 166.212);
--muted-foreground: oklch(0.694 0.005 167.603);
--popover: oklch(0.136 0.024 349.4);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.136 0.024 349.4);
--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.651 0.148 353.724);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.787 0.124 162.082);
--secondary-foreground: oklch(0.098 0.012 168.035);
--accent: oklch(0.787 0.124 162.082);
--accent-foreground: oklch(0.098 0.012 168.035);
--destructive: oklch(0.632 0.193 39.954);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.651 0.148 353.724);
--chart-1: oklch(0.651 0.148 353.724);
--chart-2: oklch(0.787 0.124 162.082);
--chart-3: oklch(0.787 0.124 162.082);
--chart-4: oklch(0.801 0.116 162.742);
--chart-5: oklch(0.651 0.155 354.066);
}