French is a shadcn/ui theme built around a light green primary color (#ceedcf) with light purple accents (#edceec). The light mode uses a neutral background (#fbfefb). Dark mode keeps the light green primary (#ceedcf) on a green-tinted background (#060e06).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #060e06black |
| Foreground | #041104black | #f6f8f6whitesmoke |
| Card | #f6fdf7mintcream | #081208black |
| Card foreground | #030d03black | #f9fbf9mintcream |
| Popover | #f6fdf7mintcream | #081208black |
| Popover foreground | #030d03black | #f9fbf9mintcream |
| Primary | #ceedcfgainsboro | #ceedcfgainsboro |
| Primary foreground | #091a0ablack | #091a0ablack |
| Secondary | #edceecgainsboro | #edceecgainsboro |
| Secondary foreground | #652463purple | #652463purple |
| Muted | #f4e7f3whitesmoke | #180b18black |
| Muted foreground | #594658dimgray | #b9a6b9darkgray |
| Accent | #edceecgainsboro | #edceecgainsboro |
| Accent foreground | #652463purple | #652463purple |
| Destructive | #d15715chocolate | #df5c16chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ceedcfgainsboro | #ceedcfgainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.02:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 14.34:1 | AAA |
| Secondary button | 7.39:1 | AAA |
| Muted text | 7.17:1 | AAA |
| Accent | 7.39:1 | AAA |
| Destructive | 4.14:1 | AA Large |
| Text on background | 18.30:1 | AAA |
| Text on card | 18.37:1 | AAA |
| Primary button | 14.34:1 | AAA |
| Secondary button | 7.39:1 | AAA |
| Muted text | 8.36:1 | AAA |
| Accent | 7.39:1 | AAA |
| Destructive | 3.69:1 | AA Large |
Paste this into your globals.css to use French in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.006 146.49);
--foreground: oklch(0.159 0.036 144.592);
--muted: oklch(0.941 0.022 326.742);
--muted-foreground: oklch(0.419 0.039 327.305);
--popover: oklch(0.988 0.012 146.438);
--popover-foreground: oklch(0.141 0.031 144.73);
--card: oklch(0.988 0.012 146.438);
--card-foreground: oklch(0.141 0.031 144.73);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.917 0.052 146.032);
--primary-foreground: oklch(0.199 0.039 144.626);
--secondary: oklch(0.887 0.053 327.042);
--secondary-foreground: oklch(0.384 0.124 328.998);
--accent: oklch(0.887 0.053 327.042);
--accent-foreground: oklch(0.384 0.124 328.998);
--destructive: oklch(0.605 0.17 43.285);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.917 0.052 146.032);
--chart-1: oklch(0.917 0.052 146.032);
--chart-2: oklch(0.887 0.053 327.042);
--chart-3: oklch(0.887 0.053 327.042);
--chart-4: oklch(0.913 0.04 326.916);
--chart-5: oklch(0.918 0.055 146);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.153 0.022 145.356);
--foreground: oklch(0.978 0.004 146.51);
--muted: oklch(0.176 0.033 328.021);
--muted-foreground: oklch(0.749 0.034 326.921);
--popover: oklch(0.168 0.026 145.187);
--popover-foreground: oklch(0.985 0.002 146.52);
--card: oklch(0.168 0.026 145.187);
--card-foreground: oklch(0.985 0.002 146.52);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.917 0.052 146.032);
--primary-foreground: oklch(0.199 0.039 144.626);
--secondary: oklch(0.887 0.053 327.042);
--secondary-foreground: oklch(0.384 0.124 328.998);
--accent: oklch(0.887 0.053 327.042);
--accent-foreground: oklch(0.384 0.124 328.998);
--destructive: oklch(0.634 0.179 43.186);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.917 0.052 146.032);
--chart-1: oklch(0.917 0.052 146.032);
--chart-2: oklch(0.887 0.053 327.042);
--chart-3: oklch(0.887 0.053 327.042);
--chart-4: oklch(0.913 0.04 326.916);
--chart-5: oklch(0.918 0.055 146);
}