Kiosk is a shadcn/ui theme built around a neutral gray primary color (#333333) with neutral gray accents (#333333). The light mode uses a neutral background (#fdf7f7). Dark mode keeps the neutral gray primary (#333333) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f7snow | #000000black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fdf7f7snow | #000000black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fdf7f7snow | #000000black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #333333darkslategray | #333333darkslategray |
| Primary foreground | #cccccclightgrey | #cccccclightgrey |
| Secondary | #333333darkslategray | #333333darkslategray |
| Secondary foreground | #cccccclightgrey | #cccccclightgrey |
| Muted | #ebe5e5linen | #1a1414black |
| Muted foreground | #544040darkslategray | #bfababdarkgray |
| Accent | #333333darkslategray | #333333darkslategray |
| Accent foreground | #cccccclightgrey | #cccccclightgrey |
| Destructive | #c64110firebrick | #ec4d13orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #333333darkslategray | #333333darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.78:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 7.71:1 | AAA |
| Accent | 7.86:1 | AAA |
| Destructive | 5.04:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 8.35:1 | AAA |
| Accent | 7.86:1 | AAA |
| Destructive | 3.72:1 | AA Large |
Paste this into your globals.css to use Kiosk in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.007 17.276);
--foreground: oklch(0 0 0);
--muted: oklch(0.926 0.007 17.283);
--muted-foreground: oklch(0.393 0.027 18.357);
--popover: oklch(0.98 0.007 17.276);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.98 0.007 17.276);
--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.321 0 180);
--primary-foreground: oklch(0.845 0 164.055);
--secondary: oklch(0.321 0 180);
--secondary-foreground: oklch(0.845 0 164.055);
--accent: oklch(0.321 0 180);
--accent-foreground: oklch(0.845 0 164.055);
--destructive: oklch(0.56 0.178 37.366);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.321 0 180);
--chart-1: oklch(0.321 0 180);
--chart-2: oklch(0.321 0 180);
--chart-3: oklch(0.321 0 180);
--chart-4: oklch(0.351 0 167.471);
--chart-5: oklch(0.318 0.004 17.386);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.198 0.011 18.082);
--muted-foreground: oklch(0.759 0.022 17.654);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.321 0 180);
--primary-foreground: oklch(0.845 0 164.055);
--secondary: oklch(0.321 0 180);
--secondary-foreground: oklch(0.845 0 164.055);
--accent: oklch(0.321 0 180);
--accent-foreground: oklch(0.845 0 164.055);
--destructive: oklch(0.637 0.204 37.163);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.321 0 180);
--chart-1: oklch(0.321 0 180);
--chart-2: oklch(0.321 0 180);
--chart-3: oklch(0.321 0 180);
--chart-4: oklch(0.351 0 167.471);
--chart-5: oklch(0.318 0.004 17.386);
}