Developer builds 8 Dota 2 hero-themed Neovim color schemes with WCAG compliance
A developer who plays Dota 2 has released necrophos.nvim, a collection of eight distinct Neovim color schemes each inspired by a specific Dota 2 hero's in-game color palette. Unlike generic dark themes, each scheme is sourced directly from hero models and lore — for example, Invoker's three orbs map to separate syntax roles, while Dragon Knight uses four dragon colors for strings, errors, functions, and keywords. All eight themes meet WCAG AA contrast standards, with every color's contrast ratio documented inline in the source code. The themes also feature three distinct background levels to ensure visual selections remain visible, and no hardcoded hex values are repeated across the codebase. The developer reports testing the schemes during real coding sessions rather than relying solely on isolated color swatches.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in