Learn with Sumit - Simple as light is a shadcn/ui theme built around a muted deep blue primary color (#181d2b) with neutral gray accents (#d9d9d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep blue primary (#181d2b) on a neutral background (#ffffff).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #ffffffwhite |
| Foreground | #455059darkslategray | #455059darkslategray |
| Card | #fafafasnow | #fafafasnow |
| Card foreground | #3a434bdarkslategray | #3a434bdarkslategray |
| Popover | #f7f7f7whitesmoke | #f7f7f7whitesmoke |
| Popover foreground | #2f363ddarkslategray | #2f363ddarkslategray |
| Primary | #181d2bblack | #181d2bblack |
| Primary foreground | #a6b1celightsteelblue | #a6b1celightsteelblue |
| Secondary | #b3bacbsilver | #b3bacbsilver |
| Secondary foreground | #1f232edarkslategray | #1f232edarkslategray |
| Muted | #e9e2e2gainsboro | #e9e2e2gainsboro |
| Muted foreground | #564343darkslategray | #564343darkslategray |
| Accent | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Accent foreground | #404040darkslategray | #404040darkslategray |
| Destructive | #6d0a03maroon | #6d0a03maroon |
| Destructive foreground | #fdaba5lightpink | #fdaba5lightpink |
| Border | #f2f2f2whitesmoke | #f2f2f2whitesmoke |
| Input | #ebebeblinen | #ebebeblinen |
| Ring | #181d2bblack | #181d2bblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 8.25:1 | AAA |
| Text on card | 9.64:1 | AAA |
| Primary button | 7.87:1 | AAA |
| Secondary button | 8.05:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.79:1 | AA |
| Text on background | 8.25:1 | AAA |
| Text on card | 9.64:1 | AAA |
| Primary button | 7.87:1 | AAA |
| Secondary button | 8.05:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.79:1 | AA |
Paste this into your globals.css to use Learn with Sumit - Simple as light in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.425 0.021 242.866);
--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.329 0.015 242.819);
--card: oklch(0.985 0 180);
--card-foreground: oklch(0.378 0.018 242.846);
--border: oklch(0.962 0 180);
--input: oklch(0.939 0 180);
--primary: oklch(0.231 0.028 268.723);
--primary-foreground: oklch(0.761 0.044 269.558);
--secondary: oklch(0.788 0.026 269.819);
--secondary-foreground: oklch(0.256 0.021 269.269);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.343 0.132 30.219);
--destructive-foreground: oklch(0.819 0.097 23.907);
--ring: oklch(0.231 0.028 268.723);
--chart-1: oklch(0.231 0.028 268.723);
--chart-2: oklch(0.788 0.026 269.819);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.814 0.023 269.871);
--chart-5: oklch(0.23 0.031 268.529);
}
.dark {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.425 0.021 242.866);
--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.329 0.015 242.819);
--card: oklch(0.985 0 180);
--card-foreground: oklch(0.378 0.018 242.846);
--border: oklch(0.962 0 180);
--input: oklch(0.939 0 180);
--primary: oklch(0.231 0.028 268.723);
--primary-foreground: oklch(0.761 0.044 269.558);
--secondary: oklch(0.788 0.026 269.819);
--secondary-foreground: oklch(0.256 0.021 269.269);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.343 0.132 30.219);
--destructive-foreground: oklch(0.819 0.097 23.907);
--ring: oklch(0.231 0.028 268.723);
--chart-1: oklch(0.231 0.028 268.723);
--chart-2: oklch(0.788 0.026 269.819);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.814 0.023 269.871);
--chart-5: oklch(0.23 0.031 268.529);
}