French is a shadcn/ui theme built around a light red primary color (#ebbcbc) with light indigo accents (#bcbceb). The light mode uses a neutral background (#fefbfb). Dark mode keeps the light red primary (#ebbcbc) on a neutral background (#070404).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #070404black |
| Foreground | #050101black | #fbf9f9snow |
| Card | #fdf7f7snow | #0a0505black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #fdf7f7snow | #0a0505black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #ebbcbclightpink | #ebbcbclightpink |
| Primary foreground | #5b1a1amaroon | #5b1a1amaroon |
| Secondary | #bcebbclightgrey | #bcebbclightgrey |
| Secondary foreground | #1a5b1adarkgreen | #1a5b1adarkgreen |
| Muted | #d0e7d0gainsboro | #182f18black |
| Muted foreground | #5d695ddimgray | #96a296darkgray |
| Accent | #bcbceblightsteelblue | #bcbceblightsteelblue |
| Accent foreground | #1a1a5bmidnightblue | #1a1a5bmidnightblue |
| Destructive | #772203maroon | #f94e10orangered |
| Destructive foreground | #fdc4aflightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ebbcbclightpink | #ebbcbclightpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.19:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 7.74:1 | AAA |
| Secondary button | 6.18:1 | AA |
| Muted text | 4.39:1 | AA Large |
| Accent | 8.57:1 | AAA |
| Destructive | 6.77:1 | AA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 7.74:1 | AAA |
| Secondary button | 6.18:1 | AA |
| Muted text | 5.39:1 | AA |
| Accent | 8.57:1 | AAA |
| Destructive | 3.42: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.003 17.204);
--foreground: oklch(0.078 0.021 23.261);
--muted: oklch(0.904 0.04 145.232);
--muted-foreground: oklch(0.508 0.024 145.218);
--popover: oklch(0.981 0.006 17.252);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.006 17.252);
--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.837 0.055 18.312);
--primary-foreground: oklch(0.324 0.095 24.086);
--secondary: oklch(0.896 0.081 144.86);
--secondary-foreground: oklch(0.415 0.117 143.116);
--accent: oklch(0.811 0.067 284.811);
--accent-foreground: oklch(0.268 0.112 275.76);
--destructive: oklch(0.385 0.124 37.444);
--destructive-foreground: oklch(0.866 0.071 40.896);
--ring: oklch(0.837 0.055 18.312);
--chart-1: oklch(0.837 0.055 18.312);
--chart-2: oklch(0.896 0.081 144.86);
--chart-3: oklch(0.811 0.067 284.811);
--chart-4: oklch(0.914 0.067 145.004);
--chart-5: oklch(0.835 0.058 18.385);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.109 0.009 18.664);
--foreground: oklch(0.983 0.003 17.204);
--muted: oklch(0.28 0.052 144.044);
--muted-foreground: oklch(0.698 0.022 145.336);
--popover: oklch(0.125 0.011 18.664);
--popover-foreground: oklch(0.991 0.001 17.181);
--card: oklch(0.125 0.011 18.664);
--card-foreground: oklch(0.991 0.001 17.181);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.837 0.055 18.312);
--primary-foreground: oklch(0.324 0.095 24.086);
--secondary: oklch(0.896 0.081 144.86);
--secondary-foreground: oklch(0.415 0.117 143.116);
--accent: oklch(0.811 0.067 284.811);
--accent-foreground: oklch(0.268 0.112 275.76);
--destructive: oklch(0.659 0.216 36.759);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.837 0.055 18.312);
--chart-1: oklch(0.837 0.055 18.312);
--chart-2: oklch(0.896 0.081 144.86);
--chart-3: oklch(0.811 0.067 284.811);
--chart-4: oklch(0.914 0.067 145.004);
--chart-5: oklch(0.835 0.058 18.385);
}