Camera is a shadcn/ui theme built around a vivid deep cyan primary color (#003042) with muted light cyan accents (#d8ddde). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep cyan primary (#003042) on a neutral background (#020304).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020304black |
| Foreground | #051015black | #f9fafbghostwhite |
| Card | #fcfcfcsnow | #030607black |
| Card foreground | #040d10black | #fcfdfdwhite |
| Popover | #ffffffwhite | #020304black |
| Popover foreground | #051015black | #f9fafbghostwhite |
| Primary | #003042midnightblue | #003042midnightblue |
| Primary foreground | #10bffedeepskyblue | #10bffedeepskyblue |
| Secondary | #d8dddegainsboro | #151b1eblack |
| Secondary foreground | #3d4548darkslategray | #a6b8bfdarkgray |
| Muted | #cee1e9gainsboro | #162a31darkslategray |
| Muted foreground | #3b4a4fdarkslategray | #b0bfc4silver |
| Accent | #d8dddegainsboro | #151b1eblack |
| Accent foreground | #3d4548darkslategray | #a6b8bfdarkgray |
| Destructive | #c1390bfirebrick | #ec450eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #003042midnightblue | #003042midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.24:1 | AAA |
| Text on card | 19.19:1 | AAA |
| Primary button | 6.56:1 | AA |
| Secondary button | 7.13:1 | AAA |
| Muted text | 6.85:1 | AA |
| Accent | 7.13:1 | AAA |
| Destructive | 5.46:1 | AA |
| Text on background | 19.76:1 | AAA |
| Text on card | 19.94:1 | AAA |
| Primary button | 6.56:1 | AA |
| Secondary button | 8.44:1 | AAA |
| Muted text | 7.87:1 | AAA |
| Accent | 8.44:1 | AAA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use Camera in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.166 0.02 221.8);
--muted: oklch(0.899 0.023 221.556);
--muted-foreground: oklch(0.397 0.021 221.961);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.166 0.02 221.8);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.151 0.017 219.956);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.291 0.057 228.915);
--primary-foreground: oklch(0.754 0.151 231.784);
--secondary: oklch(0.894 0.005 221.353);
--secondary-foreground: oklch(0.384 0.011 221.606);
--accent: oklch(0.894 0.005 221.353);
--accent-foreground: oklch(0.384 0.011 221.606);
--destructive: oklch(0.542 0.18 36.038);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.291 0.057 228.915);
--chart-1: oklch(0.291 0.057 228.915);
--chart-2: oklch(0.894 0.005 221.353);
--chart-3: oklch(0.894 0.005 221.353);
--chart-4: oklch(0.917 0.004 221.341);
--chart-5: oklch(0.293 0.058 229.144);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.094 0.007 217.428);
--foreground: oklch(0.985 0.002 221.32);
--muted: oklch(0.271 0.028 223.191);
--muted-foreground: oklch(0.795 0.018 221.531);
--popover: oklch(0.094 0.007 217.428);
--popover-foreground: oklch(0.985 0.002 221.32);
--card: oklch(0.118 0.009 217.428);
--card-foreground: oklch(0.993 0.001 221.312);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.291 0.057 228.915);
--primary-foreground: oklch(0.754 0.151 231.784);
--secondary: oklch(0.219 0.01 221.821);
--secondary-foreground: oklch(0.772 0.022 221.592);
--accent: oklch(0.219 0.01 221.821);
--accent-foreground: oklch(0.772 0.022 221.592);
--destructive: oklch(0.629 0.211 35.793);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.291 0.057 228.915);
--chart-1: oklch(0.291 0.057 228.915);
--chart-2: oklch(0.219 0.01 221.821);
--chart-3: oklch(0.219 0.01 221.821);
--chart-4: oklch(0.252 0.012 221.88);
--chart-5: oklch(0.293 0.058 229.144);
}