Learn with Sumit - Professional is a shadcn/ui theme built around a vivid blue primary color (#80a8ff) with muted blue accents (#3a3e5f). The light mode uses a blue-tinted background (#1d1f2f). Dark mode keeps the vivid blue primary (#80a8ff) on a blue-tinted background (#1d1f2f).
| Token | Light | Dark |
|---|---|---|
| Background | #1d1f2fdarkslategray | #1d1f2fdarkslategray |
| Foreground | #c7d2f5lightblue | #c7d2f5lightblue |
| Card | #191b29black | #191b29black |
| Card foreground | #dde4f9lavender | #dde4f9lavender |
| Popover | #171926black | #171926black |
| Popover foreground | #f2f5fdaliceblue | #f2f5fdaliceblue |
| Primary | #80a8ffcornflowerblue | #80a8ffcornflowerblue |
| Primary foreground | #00184dmidnightblue | #00184dmidnightblue |
| Secondary | #2d3953darkslategray | #2d3953darkslategray |
| Secondary foreground | #cdd5e4lightgrey | #cdd5e4lightgrey |
| Muted | #2b2c36darkslategray | #2b2c36darkslategray |
| Muted foreground | #a6a9b9darkgray | #a6a9b9darkgray |
| Accent | #3a3e5fdarkslategray | #3a3e5fdarkslategray |
| Accent foreground | #dfe1eclavender | #dfe1eclavender |
| Destructive | #ed5945tomato | #ed5945tomato |
| Destructive foreground | #000000black | #000000black |
| Border | #2c2e3adarkslategray | #2c2e3adarkslategray |
| Input | #323443darkslategray | #323443darkslategray |
| Ring | #80a8ffcornflowerblue | #80a8ffcornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 10.80:1 | AAA |
| Text on card | 13.43:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 7.84:1 | AAA |
| Muted text | 5.93:1 | AA |
| Accent | 7.88:1 | AAA |
| Destructive | 6.10:1 | AA |
| Text on background | 10.80:1 | AAA |
| Text on card | 13.43:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 7.84:1 | AAA |
| Muted text | 5.93:1 | AA |
| Accent | 7.88:1 | AAA |
| Destructive | 6.10:1 | AA |
Paste this into your globals.css to use Learn with Sumit - Professional in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.246 0.031 278.052);
--foreground: oklch(0.867 0.049 270.794);
--muted: oklch(0.296 0.019 279.267);
--muted-foreground: oklch(0.737 0.024 279.799);
--popover: oklch(0.218 0.026 278.229);
--popover-foreground: oklch(0.97 0.011 271.302);
--card: oklch(0.227 0.027 278.164);
--card-foreground: oklch(0.919 0.03 271.081);
--border: oklch(0.303 0.023 279.041);
--input: oklch(0.331 0.026 278.997);
--primary: oklch(0.738 0.134 264.456);
--primary-foreground: oklch(0.234 0.102 261.123);
--secondary: oklch(0.345 0.049 264.874);
--secondary-foreground: oklch(0.871 0.023 265.868);
--accent: oklch(0.376 0.056 277.594);
--accent-foreground: oklch(0.911 0.015 280.074);
--destructive: oklch(0.656 0.186 30.297);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.738 0.134 264.456);
--chart-1: oklch(0.738 0.134 264.456);
--chart-2: oklch(0.345 0.049 264.874);
--chart-3: oklch(0.376 0.056 277.594);
--chart-4: oklch(0.371 0.054 264.843);
--chart-5: oklch(0.737 0.138 264.395);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.246 0.031 278.052);
--foreground: oklch(0.867 0.049 270.794);
--muted: oklch(0.296 0.019 279.267);
--muted-foreground: oklch(0.737 0.024 279.799);
--popover: oklch(0.218 0.026 278.229);
--popover-foreground: oklch(0.97 0.011 271.302);
--card: oklch(0.227 0.027 278.164);
--card-foreground: oklch(0.919 0.03 271.081);
--border: oklch(0.303 0.023 279.041);
--input: oklch(0.331 0.026 278.997);
--primary: oklch(0.738 0.134 264.456);
--primary-foreground: oklch(0.234 0.102 261.123);
--secondary: oklch(0.345 0.049 264.874);
--secondary-foreground: oklch(0.871 0.023 265.868);
--accent: oklch(0.376 0.056 277.594);
--accent-foreground: oklch(0.911 0.015 280.074);
--destructive: oklch(0.656 0.186 30.297);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.738 0.134 264.456);
--chart-1: oklch(0.738 0.134 264.456);
--chart-2: oklch(0.345 0.049 264.874);
--chart-3: oklch(0.376 0.056 277.594);
--chart-4: oklch(0.371 0.054 264.843);
--chart-5: oklch(0.737 0.138 264.395);
}