Learn with Sumit Official Theme is a shadcn/ui theme built around a vivid teal primary color (#00db92) with deep blue accents (#244565). The light mode uses a blue-tinted background (#101f2d). Dark mode keeps the vivid teal primary (#00db92) on a blue-tinted background (#101f2d).
| Token | Light | Dark |
|---|---|---|
| Background | #101f2dblack | #101f2dblack |
| Foreground | #bcd1e7lightblue | #bcd1e7lightblue |
| Card | #0e1925black | #0e1925black |
| Card foreground | #cedeedgainsboro | #cedeedgainsboro |
| Popover | #0c1722black | #0c1722black |
| Popover foreground | #e1ebf4lavender | #e1ebf4lavender |
| Primary | #00db92mediumspringgreen | #00db92mediumspringgreen |
| Primary foreground | #000f0ablack | #000f0ablack |
| Secondary | #2d5346darkslategray | #2d5346darkslategray |
| Secondary foreground | #cde4ddgainsboro | #cde4ddgainsboro |
| Muted | #24292edarkslategray | #24292edarkslategray |
| Muted foreground | #9ea8b3darkgray | #9ea8b3darkgray |
| Accent | #244565darkslategray | #244565darkslategray |
| Accent foreground | #cedeedgainsboro | #cedeedgainsboro |
| Destructive | #ff221fred | #ff221fred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #1b2b3bdarkslategray | #1b2b3bdarkslategray |
| Input | #203346darkslategray | #203346darkslategray |
| Ring | #00db92mediumspringgreen | #00db92mediumspringgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 10.71:1 | AAA |
| Text on card | 12.86:1 | AAA |
| Primary button | 10.79:1 | AAA |
| Secondary button | 6.47:1 | AA |
| Muted text | 6.09:1 | AA |
| Accent | 7.23:1 | AAA |
| Destructive | 3.81:1 | AA Large |
| Text on background | 10.71:1 | AAA |
| Text on card | 12.86:1 | AAA |
| Primary button | 10.79:1 | AAA |
| Secondary button | 6.47:1 | AA |
| Muted text | 6.09:1 | AA |
| Accent | 7.23:1 | AAA |
| Destructive | 3.81:1 | AA Large |
Paste this into your globals.css to use Learn with Sumit Official Theme in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.232 0.034 249.506);
--foreground: oklch(0.852 0.038 248.274);
--muted: oklch(0.277 0.011 248.24);
--muted-foreground: oklch(0.728 0.019 248.091);
--popover: oklch(0.2 0.027 249.303);
--popover-foreground: oklch(0.934 0.017 248.005);
--card: oklch(0.211 0.029 249.378);
--card-foreground: oklch(0.893 0.027 248.133);
--border: oklch(0.284 0.037 249.227);
--input: oklch(0.314 0.042 249.294);
--primary: oklch(0.788 0.177 160.33);
--primary-foreground: oklch(0.151 0.029 172.932);
--secondary: oklch(0.409 0.049 170.294);
--secondary-foreground: oklch(0.9 0.026 173.705);
--accent: oklch(0.381 0.068 250.014);
--accent-foreground: oklch(0.893 0.027 248.133);
--destructive: oklch(0.638 0.247 28.506);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.788 0.177 160.33);
--chart-1: oklch(0.788 0.177 160.33);
--chart-2: oklch(0.409 0.049 170.294);
--chart-3: oklch(0.381 0.068 250.014);
--chart-4: oklch(0.442 0.054 170.211);
--chart-5: oklch(0.796 0.18 160.013);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.232 0.034 249.506);
--foreground: oklch(0.852 0.038 248.274);
--muted: oklch(0.277 0.011 248.24);
--muted-foreground: oklch(0.728 0.019 248.091);
--popover: oklch(0.2 0.027 249.303);
--popover-foreground: oklch(0.934 0.017 248.005);
--card: oklch(0.211 0.029 249.378);
--card-foreground: oklch(0.893 0.027 248.133);
--border: oklch(0.284 0.037 249.227);
--input: oklch(0.314 0.042 249.294);
--primary: oklch(0.788 0.177 160.33);
--primary-foreground: oklch(0.151 0.029 172.932);
--secondary: oklch(0.409 0.049 170.294);
--secondary-foreground: oklch(0.9 0.026 173.705);
--accent: oklch(0.381 0.068 250.014);
--accent-foreground: oklch(0.893 0.027 248.133);
--destructive: oklch(0.638 0.247 28.506);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.788 0.177 160.33);
--chart-1: oklch(0.788 0.177 160.33);
--chart-2: oklch(0.409 0.049 170.294);
--chart-3: oklch(0.381 0.068 250.014);
--chart-4: oklch(0.442 0.054 170.211);
--chart-5: oklch(0.796 0.18 160.013);
}