MangaMode

Hour six of the refactor.

Ten manga-inspired color themes for VS Code, Cursor and Zed. Calm backgrounds, measured contrast, made for long sessions.

Pull a volume off the shelf

One Piece

Ocean blues and Straw Hat red. Complicated code, handled like a Pirate King.

Dark

// 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" });
MangaMode: One Piece

Inside the editor · One Piece

Nested brackets use three shades of one hue, so each level stays distinct.

Contrast, measured

Against the One Piece editor background, #0B1B24.

SwatchTokenColorContrast and WCAG level
Text#DCEAF114.2:1AAA
Comment#7594B25.5:1AA
Keyword#DD70745.5:1AA
Function#63C8BC8.7:1AAA
String#8BD5B210.2:1AAA
Number#EDC37210.5:1AAA
Type#97DCD411.2:1AAA
Line number#6588954.6:1AA

Every token clears WCAG AA (4.5:1). Ratios round down, so 4.46:1 never shows as 4.5:1.

Try to make it louder

Pick a syntax color and drag its lightness slider. Watch the preview and contrast ratio change. This only changes the preview.

// 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" });
Token

5.5:1

#DD7074 on #0B1B24. Passes AA, the bar this theme ships at.

Black bars mark lightness below this theme's minimum. The tick is the shipped color.

To be continued in your editor.

Free and open source under the MIT license. One extension installs all ten volumes. 1,584 installs and downloads so far.

code --install-extension markonikolajevic.mangamode
  1. Run the command, or install it from the Visual Studio Marketplace.
  2. Open the Command Palette and run Preferences: Color Theme, then pick MangaMode: One Piece.