Created by: reubenlillie
I modeled these color scheme files after the ones in the Vim repo. At the same time, I tried to simplify Vim’s list of highlight groups, focusing on HTML, CSS, JavaScript, and the ones Vim typically uses for web development.
This pull request does not include definitions for every highlight group available in Vim. That seemed outside the scope of an initial pull request. It does, however, account for the bulk of those highlight groups, primarily by linking to one of Vim’s preferred group names.
Because different editions of Vim support different color sets, I also tried to mimic the CSS definitions in the a11y /dist/highlight
directory as much as possible. For example, most modern terminals use the 256 Xterm colors. Other terminals only have the 16 ANSI colors. This pull request does not include blocks for 8-color or single-color terminals.
I also added some inline comments, including a table with the different HEX, Xterm, and ANSI codes in play. Rather than listing the highlight groups in ROYGBIV order, I followed the Xterm/ANSI numbers. Then, I alphabetized the highlight groups under each color subhead.
There’s definitely room for expansion to these theme files. But this first pull request should be publishable.