French is a shadcn/ui theme built around a deep red primary color (#251314) with deep orange accents (#251b13). The light mode uses a neutral background (#fdfbfb). Dark mode keeps the deep red primary (#251314) on a red-tinted background (#0a0506).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfbsnow | #0a0506black |
| Foreground | #160304black | #faf5f5whitesmoke |
| Card | #fdfbfbsnow | #0a0506black |
| Card foreground | #160304black | #faf5f5whitesmoke |
| Popover | #fdfbfbsnow | #0a0506black |
| Popover foreground | #160304black | #faf5f5whitesmoke |
| Primary | #251314black | #251314black |
| Primary foreground | #cc9ea0rosybrown | #cc9ea0rosybrown |
| Secondary | #25131dblack | #25131dblack |
| Secondary foreground | #cc9eb7silver | #cc9eb7silver |
| Muted | #ddd5d9gainsboro | #2a2227darkslategray |
| Muted foreground | #4c4248darkslategray | #bdb3b8silver |
| Accent | #251b13black | #251b13black |
| Accent foreground | #ccb49etan | #ccb49etan |
| Destructive | #af1204firebrick | #fa1e0ared |
| Destructive foreground | #fee8e6mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #251314black | #251314black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.49:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 7.57:1 | AAA |
| Secondary button | 7.67:1 | AAA |
| Muted text | 6.67:1 | AA |
| Accent | 8.48:1 | AAA |
| Destructive | 6.15:1 | AA |
| Text on background | 18.72:1 | AAA |
| Text on card | 18.72:1 | AAA |
| Primary button | 7.57:1 | AAA |
| Secondary button | 7.67:1 | AAA |
| Muted text | 7.58:1 | AAA |
| Accent | 8.48:1 | AAA |
| Destructive | 3.99:1 | AA Large |
Paste this into your globals.css to use French in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 14.831);
--foreground: oklch(0.141 0.038 20.31);
--muted: oklch(0.88 0.011 343.756);
--muted-foreground: oklch(0.393 0.016 344.443);
--popover: oklch(0.991 0.002 14.831);
--popover-foreground: oklch(0.141 0.038 20.31);
--card: oklch(0.991 0.002 14.831);
--card-foreground: oklch(0.141 0.038 20.31);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.213 0.029 17.608);
--primary-foreground: oklch(0.742 0.055 16.235);
--secondary: oklch(0.216 0.033 346.955);
--secondary-foreground: oklch(0.749 0.063 345.445);
--accent: oklch(0.233 0.021 62.708);
--accent-foreground: oklch(0.784 0.041 63.376);
--destructive: oklch(0.479 0.188 30.186);
--destructive-foreground: oklch(0.949 0.025 23.852);
--ring: oklch(0.213 0.029 17.608);
--chart-1: oklch(0.213 0.029 17.608);
--chart-2: oklch(0.216 0.033 346.955);
--chart-3: oklch(0.233 0.021 62.708);
--chart-4: oklch(0.247 0.04 347.225);
--chart-5: oklch(0.212 0.032 17.949);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.01 15.935);
--foreground: oklch(0.973 0.006 14.904);
--muted: oklch(0.264 0.015 344.816);
--muted-foreground: oklch(0.775 0.014 343.876);
--popover: oklch(0.126 0.01 15.935);
--popover-foreground: oklch(0.973 0.006 14.904);
--card: oklch(0.126 0.01 15.935);
--card-foreground: oklch(0.973 0.006 14.904);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.213 0.029 17.608);
--primary-foreground: oklch(0.742 0.055 16.235);
--secondary: oklch(0.216 0.033 346.955);
--secondary-foreground: oklch(0.749 0.063 345.445);
--accent: oklch(0.233 0.021 62.708);
--accent-foreground: oklch(0.784 0.041 63.376);
--destructive: oklch(0.626 0.246 30.032);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.213 0.029 17.608);
--chart-1: oklch(0.213 0.029 17.608);
--chart-2: oklch(0.216 0.033 346.955);
--chart-3: oklch(0.233 0.021 62.708);
--chart-4: oklch(0.247 0.04 347.225);
--chart-5: oklch(0.212 0.032 17.949);
}