Then Blue et une Nuit is a shadcn/ui theme built around a vivid blue primary color (#2b53ff) with muted light blue accents (#f3f4f6). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#2b53ff) on a neutral background (#1b1b1f).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #1b1b1fblack |
| Foreground | #030712black | #f9fafbghostwhite |
| Card | #ffffffwhite | #202127black |
| Card foreground | #030712black | #f9fafbghostwhite |
| Popover | #ffffffwhite | #1b1b1fblack |
| Popover foreground | #030712black | #f9fafbghostwhite |
| Primary | #2b53ffroyalblue | #2b53ffroyalblue |
| Primary foreground | #f9fafbghostwhite | #f9fafbghostwhite |
| Secondary | #f3f4f6whitesmoke | #21232cdarkslategray |
| Secondary foreground | #111827black | #f9fafbghostwhite |
| Muted | #f3f4f6whitesmoke | #202127black |
| Muted foreground | #6b7280slategray | #9ca3afdarkgray |
| Accent | #f3f4f6whitesmoke | #21232cdarkslategray |
| Accent foreground | #111827black | #f9fafbghostwhite |
| Destructive | #eb4646tomato | #ff2b2bcrimson |
| Destructive foreground | #f9fafbghostwhite | #f9fafbghostwhite |
| Border | #e5e7eblavender | #202127black |
| Input | #e5e7eblavender | #1b1b1fblack |
| Ring | #2b53ffroyalblue | #2b53ffroyalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.13:1 | AAA |
| Text on card | 20.13:1 | AAA |
| Primary button | 5.31:1 | AA |
| Secondary button | 16.12:1 | AAA |
| Muted text | 4.39:1 | AA Large |
| Accent | 16.12:1 | AAA |
| Destructive | 3.64:1 | AA Large |
| Text on background | 16.43:1 | AAA |
| Text on card | 15.36:1 | AAA |
| Primary button | 5.31:1 | AA |
| Secondary button | 14.97:1 | AAA |
| Muted text | 6.32:1 | AA |
| Accent | 14.97:1 | AAA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use Then Blue et une Nuit in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.129 0.027 261.671);
--muted: oklch(0.967 0.003 264.542);
--muted-foreground: oklch(0.551 0.023 264.365);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.129 0.027 261.671);
--card: oklch(1 0 180);
--card-foreground: oklch(0.129 0.027 261.671);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.537 0.256 266.409);
--primary-foreground: oklch(0.984 0.002 247.84);
--secondary: oklch(0.967 0.003 264.542);
--secondary-foreground: oklch(0.21 0.032 264.652);
--accent: oklch(0.967 0.003 264.542);
--accent-foreground: oklch(0.21 0.032 264.652);
--destructive: oklch(0.633 0.202 25.053);
--destructive-foreground: oklch(0.984 0.002 247.84);
--ring: oklch(0.537 0.256 266.409);
--chart-1: oklch(0.537 0.256 266.409);
--chart-2: oklch(0.967 0.003 264.542);
--chart-3: oklch(0.967 0.003 264.542);
--chart-4: oklch(0.991 0.001 264.549);
--chart-5: oklch(0.536 0.263 266.145);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.224 0.008 285.761);
--foreground: oklch(0.984 0.002 247.84);
--muted: oklch(0.249 0.011 278.045);
--muted-foreground: oklch(0.714 0.019 261.333);
--popover: oklch(0.224 0.008 285.761);
--popover-foreground: oklch(0.984 0.002 247.84);
--card: oklch(0.249 0.011 278.045);
--card-foreground: oklch(0.984 0.002 247.84);
--border: oklch(0.249 0.011 278.045);
--input: oklch(0.224 0.008 285.761);
--primary: oklch(0.537 0.256 266.409);
--primary-foreground: oklch(0.984 0.002 247.84);
--secondary: oklch(0.258 0.017 275.293);
--secondary-foreground: oklch(0.984 0.002 247.84);
--accent: oklch(0.258 0.017 275.293);
--accent-foreground: oklch(0.984 0.002 247.84);
--destructive: oklch(0.643 0.242 27.505);
--destructive-foreground: oklch(0.984 0.002 247.84);
--ring: oklch(0.537 0.256 266.409);
--chart-1: oklch(0.537 0.256 266.409);
--chart-2: oklch(0.258 0.017 275.293);
--chart-3: oklch(0.258 0.017 275.293);
--chart-4: oklch(0.287 0.02 275.24);
--chart-5: oklch(0.536 0.263 266.145);
}