Arduino Light is a shadcn/ui theme built around a teal primary color (#339999) with neutral gray accents (#d9d9d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#339999) on a neutral background (#ffffff).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #ffffffwhite |
| Foreground | #3a3931darkslategray | #3a3931darkslategray |
| Card | #fafafasnow | #fafafasnow |
| Card foreground | #2c2b26darkslategray | #2c2b26darkslategray |
| Popover | #f7f7f7whitesmoke | #f7f7f7whitesmoke |
| Popover foreground | #1e1e1ablack | #1e1e1ablack |
| Primary | #339999lightseagreen | #339999lightseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #acd2d2lightsteelblue | #acd2d2lightsteelblue |
| Secondary foreground | #1b3232darkslategray | #1b3232darkslategray |
| Muted | #e9e2e2gainsboro | #e9e2e2gainsboro |
| Muted foreground | #564343darkslategray | #564343darkslategray |
| Accent | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Accent foreground | #404040darkslategray | #404040darkslategray |
| Destructive | #89110bdarkred | #89110bdarkred |
| Destructive foreground | #fbcdcbpink | #fbcdcbpink |
| Border | #f2f2f2whitesmoke | #f2f2f2whitesmoke |
| Input | #ebebeblinen | #ebebeblinen |
| Ring | #339999lightseagreen | #339999lightseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 11.60:1 | AAA |
| Text on card | 13.57:1 | AAA |
| Primary button | 3.41:1 | AA Large |
| Secondary button | 8.35:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.84:1 | AA |
| Text on background | 11.60:1 | AAA |
| Text on card | 13.57:1 | AAA |
| Primary button | 3.41:1 | AA Large |
| Secondary button | 8.35:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.84:1 | AA |
Paste this into your globals.css to use Arduino Light in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.342 0.013 100.879);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.977 0 180);
--popover-foreground: oklch(0.233 0.007 100.801);
--card: oklch(0.985 0 180);
--card-foreground: oklch(0.289 0.01 100.849);
--border: oklch(0.962 0 180);
--input: oklch(0.939 0 180);
--primary: oklch(0.626 0.092 195.069);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.837 0.04 196.407);
--secondary-foreground: oklch(0.297 0.029 195.705);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.404 0.154 29.19);
--destructive-foreground: oklch(0.888 0.052 21.7);
--ring: oklch(0.626 0.092 195.069);
--chart-1: oklch(0.626 0.092 195.069);
--chart-2: oklch(0.837 0.04 196.407);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.857 0.036 196.506);
--chart-5: oklch(0.634 0.095 195.026);
}
.dark {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.342 0.013 100.879);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.977 0 180);
--popover-foreground: oklch(0.233 0.007 100.801);
--card: oklch(0.985 0 180);
--card-foreground: oklch(0.289 0.01 100.849);
--border: oklch(0.962 0 180);
--input: oklch(0.939 0 180);
--primary: oklch(0.626 0.092 195.069);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.837 0.04 196.407);
--secondary-foreground: oklch(0.297 0.029 195.705);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.404 0.154 29.19);
--destructive-foreground: oklch(0.888 0.052 21.7);
--ring: oklch(0.626 0.092 195.069);
--chart-1: oklch(0.626 0.092 195.069);
--chart-2: oklch(0.837 0.04 196.407);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.857 0.036 196.506);
--chart-5: oklch(0.634 0.095 195.026);
}