MangaMode

Eight VS Code and Cursor themes drawn from manga palettes and tuned for long sessions. Soft backgrounds, three-tone brackets, and every text color passes WCAG AA.

Hour six of the refactor.

chapter.tsMangaMode: One Piece
// Personality, under control.import { defineTheme } from "mangamode";type Volume = { name: string; issue: number };export function readChapter(vol: Volume, page = 1) {  const panels = vol.issue * 24;  return format(vol.name, [page, panels]);}defineTheme({ glare: "low", focus: "high" });
Pick a volume

Reading One Piece, vol. 1

Free on both marketplaces, installed 903 times so far.

Why it's calmer

// Personality, under control.import { defineTheme } from "mangamode";type Volume = { name: string; issue: number };export function readChapter(vol: Volume, page = 1) {  const panels = vol.issue * 24;  return format(vol.name, [page, panels]);}defineTheme({ glare: "low", focus: "high" });
The loud theme on the left is invented for this comparison.
  • The background is #0B1B24, not pure black. Text reads at 14.2:1 instead of a glaring 21:1.
  • Nested brackets on lines 6 to 9 use three shades of one hue, not a rainbow.
  • Even the quietest color, line number, still reads at 4.6:1.

Every color, measured

Ratios for One Piece against its editor background. Pick another volume from the shelf and the table follows. The same check runs on every release, so a color that fails never ships.

TokenSampleColorContrastWCAG level
Text#DCEAF114.2:1AAA
Comment#6E8EAE5.1:1AA
Keyword#D95E634.7:1AA
Function#63C8BC8.7:1AAA
String#8BD5B210.2:1AAA
Number#EDC37210.5:1AAA
Type#97DCD411.2:1AAA
Line number#6588954.6:1AA

To be continued in your editor

code --install-extension markonikolajevic.mangamode

MIT licensed. Read the source on GitHub.