Programme is a shadcn/ui theme built around a light blue primary color (#cbe2f1) with light blue accents (#cbcff1). The light mode uses a neutral background (#ffffff). Dark mode keeps the light blue primary (#cbe2f1) on a blue-tinted background (#050b0f).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050b0fblack |
| Foreground | #030c12black | #f6f8f8whitesmoke |
| Card | #ffffffwhite | #050b0fblack |
| Card foreground | #030c12black | #f6f8f8whitesmoke |
| Popover | #ffffffwhite | #050b0fblack |
| Popover foreground | #030c12black | #f6f8f8whitesmoke |
| Primary | #cbe2f1gainsboro | #cbe2f1gainsboro |
| Primary foreground | #1e4d6cdarkslategray | #1e4d6cdarkslategray |
| Secondary | #cbf1edpaleturquoise | #cbf1edpaleturquoise |
| Secondary foreground | #081c1ablack | #081c1ablack |
| Muted | #edf2f2whitesmoke | #0d1211black |
| Muted foreground | #576664dimgray | #99a8a7darkgray |
| Accent | #cbcff1gainsboro | #cbcff1gainsboro |
| Accent foreground | #1e256cmidnightblue | #1e256cmidnightblue |
| Destructive | #7b2204maroon | #f64409orangered |
| Destructive foreground | #fcc7b5peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cbe2f1gainsboro | #cbe2f1gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.71:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 6.70:1 | AA |
| Secondary button | 14.53:1 | AAA |
| Muted text | 5.33:1 | AA |
| Accent | 8.92:1 | AAA |
| Destructive | 6.73:1 | AA |
| Text on background | 18.54:1 | AAA |
| Text on card | 18.54:1 | AAA |
| Primary button | 6.70:1 | AA |
| Secondary button | 14.53:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 8.92:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Programme in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.146 0.021 233.038);
--muted: oklch(0.958 0.005 189.952);
--muted-foreground: oklch(0.497 0.019 189.212);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.146 0.021 233.038);
--card: oklch(1 0 180);
--card-foreground: oklch(0.146 0.021 233.038);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.9 0.032 236.969);
--primary-foreground: oklch(0.402 0.073 241.217);
--secondary: oklch(0.929 0.039 189.09);
--secondary-foreground: oklch(0.209 0.027 186.713);
--accent: oklch(0.862 0.047 280.348);
--accent-foreground: oklch(0.309 0.122 272.219);
--destructive: oklch(0.392 0.128 36.538);
--destructive-foreground: oklch(0.872 0.066 39.238);
--ring: oklch(0.9 0.032 236.969);
--chart-1: oklch(0.9 0.032 236.969);
--chart-2: oklch(0.929 0.039 189.09);
--chart-3: oklch(0.862 0.047 280.348);
--chart-4: oklch(0.945 0.031 189.331);
--chart-5: oklch(0.9 0.034 236.999);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.145 0.015 234.239);
--foreground: oklch(0.977 0.002 236.46);
--muted: oklch(0.176 0.008 189.051);
--muted-foreground: oklch(0.72 0.017 189.53);
--popover: oklch(0.145 0.015 234.239);
--popover-foreground: oklch(0.977 0.002 236.46);
--card: oklch(0.145 0.015 234.239);
--card-foreground: oklch(0.977 0.002 236.46);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.9 0.032 236.969);
--primary-foreground: oklch(0.402 0.073 241.217);
--secondary: oklch(0.929 0.039 189.09);
--secondary-foreground: oklch(0.209 0.027 186.713);
--accent: oklch(0.862 0.047 280.348);
--accent-foreground: oklch(0.309 0.122 272.219);
--destructive: oklch(0.645 0.221 35.261);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.9 0.032 236.969);
--chart-1: oklch(0.9 0.032 236.969);
--chart-2: oklch(0.929 0.039 189.09);
--chart-3: oklch(0.862 0.047 280.348);
--chart-4: oklch(0.945 0.031 189.331);
--chart-5: oklch(0.9 0.034 236.999);
}