Glider is a shadcn/ui theme built around a light teal primary color (#f2fdfc) with light blue accents (#f2f8fd). The light mode uses a neutral background (#fbfefe). Dark mode keeps the light teal primary (#f2fdfc) on a teal-tinted background (#060f0e).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #060f0eblack |
| Foreground | #010504black | #f9fbfbghostwhite |
| Card | #fbfefewhite | #060f0eblack |
| Card foreground | #010504black | #f9fbfbghostwhite |
| Popover | #fbfefewhite | #060f0eblack |
| Popover foreground | #010504black | #f9fbfbghostwhite |
| Primary | #f2fdfcazure | #f2fdfcazure |
| Primary foreground | #0b4c46darkslategray | #0b4c46darkslategray |
| Secondary | #f2fdf6mintcream | #f2fdf6mintcream |
| Secondary foreground | #0b4c26darkgreen | #0b4c26darkgreen |
| Muted | #dae2ddgainsboro | #1d2520black |
| Muted foreground | #4b4e4cdarkslategray | #b1b4b2darkgray |
| Accent | #f2f8fdaliceblue | #f2f8fdaliceblue |
| Accent foreground | #0b314cmidnightblue | #0b314cmidnightblue |
| Destructive | #833207saddlebrown | #ed5b0corangered |
| Destructive foreground | #fcd5c0peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f2fdfcazure | #f2fdfcazure |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 9.46:1 | AAA |
| Secondary button | 9.71:1 | AAA |
| Muted text | 6.37:1 | AA |
| Accent | 12.61:1 | AAA |
| Destructive | 6.35:1 | AA |
| Text on background | 18.70:1 | AAA |
| Text on card | 18.70:1 | AAA |
| Primary button | 9.46:1 | AAA |
| Secondary button | 9.71:1 | AAA |
| Muted text | 7.49:1 | AAA |
| Accent | 12.61:1 | AAA |
| Destructive | 3.42:1 | AA Large |
Paste this into your globals.css to use Glider in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 191.18);
--foreground: oklch(0.102 0.014 190.135);
--muted: oklch(0.905 0.011 160.736);
--muted-foreground: oklch(0.421 0.005 160.735);
--popover: oklch(0.995 0.003 191.18);
--popover-foreground: oklch(0.102 0.014 190.135);
--card: oklch(0.995 0.003 191.18);
--card-foreground: oklch(0.102 0.014 190.135);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.986 0.012 190.98);
--primary-foreground: oklch(0.377 0.062 186.277);
--secondary: oklch(0.984 0.015 160.652);
--secondary-foreground: oklch(0.367 0.09 152.069);
--accent: oklch(0.976 0.01 238.502);
--accent-foreground: oklch(0.301 0.064 244.361);
--destructive: oklch(0.427 0.122 43.008);
--destructive-foreground: oklch(0.9 0.052 49.973);
--ring: oklch(0.986 0.012 190.98);
--chart-1: oklch(0.986 0.012 190.98);
--chart-2: oklch(0.984 0.015 160.652);
--chart-3: oklch(0.976 0.01 238.502);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.986 0.013 190.97);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.015 189.539);
--foreground: oklch(0.986 0.002 191.214);
--muted: oklch(0.255 0.014 159.624);
--muted-foreground: oklch(0.767 0.004 160.882);
--popover: oklch(0.157 0.015 189.539);
--popover-foreground: oklch(0.986 0.002 191.214);
--card: oklch(0.157 0.015 189.539);
--card-foreground: oklch(0.986 0.002 191.214);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.986 0.012 190.98);
--primary-foreground: oklch(0.377 0.062 186.277);
--secondary: oklch(0.984 0.015 160.652);
--secondary-foreground: oklch(0.367 0.09 152.069);
--accent: oklch(0.976 0.01 238.502);
--accent-foreground: oklch(0.301 0.064 244.361);
--destructive: oklch(0.655 0.195 41.676);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.986 0.012 190.98);
--chart-1: oklch(0.986 0.012 190.98);
--chart-2: oklch(0.984 0.015 160.652);
--chart-3: oklch(0.976 0.01 238.502);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.986 0.013 190.97);
}