diff --git a/README.md b/README.md index 26683ebef..435393736 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,7 @@ Transform your GitHub contribution history into a cinematic 3D monolith. | `glacier` | Icy sky blue & cyan | `e0f2fe` | `06b6d4` | `0369a1` | | `lumos` | Void black & mint gold | `0a0a0a` | `fbbf24` | `a7f3d0` | | `tokyo_night` | Deep navy & soft pastel blue | `1a1b26` | `7aa2f7` | `c0caf5` | +| `monokai` | Classic vibrant dark | `272822` | `a6e22e` | `f8f8f2` | > **`auto` uses CSS `@media (prefers-color-scheme)`** inside the SVG so the badge switches between the `light` and `dark` palettes based on the viewer's OS setting — no JavaScript required. This is ideal for GitHub profile READMEs where visitors may use either mode. diff --git a/THEMES.md b/THEMES.md index 5023ba198..159028853 100644 --- a/THEMES.md +++ b/THEMES.md @@ -36,6 +36,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme= | cyberpunk | `#fce22a` | `#111111` | `#ff003c` | | glacier | `#e0f2fe` | `#0369a1` | `#06b6d4` | | lumos | `#0a0a0a` | `#a7f3d0` | `#fbbf24` | +| monokai | `#272822` | `#f8f8f2` | `#a6e22e` | --- @@ -329,6 +330,18 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme= --- +### Monokai + +![monokai](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=monokai) + +| Parameter | Value | +| --------- | ------ | +| `bg` | 272822 | +| `text` | f8f8f2 | +| `accent` | a6e22e | + +--- + ## Custom Theme Not finding what you want? Build your own using raw color parameters - all values are hex codes **without** the `#` prefix: diff --git a/lib/svg/themes.ts b/lib/svg/themes.ts index b478e46a3..f53850d0e 100644 --- a/lib/svg/themes.ts +++ b/lib/svg/themes.ts @@ -37,6 +37,7 @@ export const themes: Record = { tokyonight: makeTheme('1a1b26', 'c0caf5', 'f7768e'), cyberpunk: makeTheme('fce22a', '111111', 'ff003c'), tokyo_night: makeTheme('1a1b26', 'c0caf5', '7aa2f7'), + monokai: makeTheme('272822', 'f8f8f2', 'a6e22e', 'f92672'), }; // Auto-theme pairs: the SVG switches between these two palettes