Kiosk is a shadcn/ui theme built around a muted blue primary color (#828ca1) with muted green accents (#8ca182). The light mode uses a neutral background (#f7f9fd). Dark mode keeps the muted blue primary (#828ca1) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f9fdghostwhite | #000000black |
| Foreground | #050a14black | #f9fafbghostwhite |
| Card | #f7f9fdghostwhite | #000000black |
| Card foreground | #050a14black | #f9fafbghostwhite |
| Popover | #f7f9fdghostwhite | #000000black |
| Popover foreground | #050a14black | #f9fafbghostwhite |
| Primary | #828ca1lightslategray | #828ca1lightslategray |
| Primary foreground | #000000black | #000000black |
| Secondary | #a1828crosybrown | #a1828crosybrown |
| Secondary foreground | #000000black | #000000black |
| Muted | #ebdbe0gainsboro | #241419black |
| Muted foreground | #654e55dimgray | #b19aa1darkgray |
| Accent | #8ca182darkseagreen | #8ca182darkseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #96260dbrown | #e63a14orangered |
| Destructive foreground | #fce0d9mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #828ca1lightslategray | #828ca1lightslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.75:1 | AAA |
| Text on card | 18.75:1 | AAA |
| Primary button | 6.19:1 | AA |
| Secondary button | 6.07:1 | AA |
| Muted text | 5.66:1 | AA |
| Accent | 7.50:1 | AAA |
| Destructive | 6.50:1 | AA |
| Text on background | 20.09:1 | AAA |
| Text on card | 20.09:1 | AAA |
| Primary button | 6.19:1 | AA |
| Secondary button | 6.07:1 | AA |
| Muted text | 6.73:1 | AA |
| Accent | 7.50:1 | AAA |
| Destructive | 4.21:1 | AA Large |
Paste this into your globals.css to use Kiosk in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 265.977);
--foreground: oklch(0.145 0.023 261.998);
--muted: oklch(0.905 0.019 356.217);
--muted-foreground: oklch(0.449 0.033 357.651);
--popover: oklch(0.981 0.006 265.977);
--popover-foreground: oklch(0.145 0.023 261.998);
--card: oklch(0.981 0.006 265.977);
--card-foreground: oklch(0.145 0.023 261.998);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.638 0.033 265.689);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.638 0.04 357.355);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.683 0.05 135.762);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.447 0.152 33.56);
--destructive-foreground: oklch(0.927 0.032 32.707);
--ring: oklch(0.638 0.033 265.689);
--chart-1: oklch(0.638 0.033 265.689);
--chart-2: oklch(0.638 0.04 357.355);
--chart-3: oklch(0.683 0.05 135.762);
--chart-4: oklch(0.665 0.037 357.156);
--chart-5: oklch(0.635 0.041 265.596);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.984 0.001 266);
--muted: oklch(0.215 0.028 359.196);
--muted-foreground: oklch(0.709 0.029 356.773);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.984 0.001 266);
--card: oklch(0 0 0);
--card-foreground: oklch(0.984 0.001 266);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.638 0.033 265.689);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.638 0.04 357.355);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.683 0.05 135.762);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.609 0.213 33.288);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.638 0.033 265.689);
--chart-1: oklch(0.638 0.033 265.689);
--chart-2: oklch(0.638 0.04 357.355);
--chart-3: oklch(0.683 0.05 135.762);
--chart-4: oklch(0.665 0.037 357.156);
--chart-5: oklch(0.635 0.041 265.596);
}