Returns vim color configuration for given inputs


Keywords
miny, vim, colors, color, configuration, scheme, colorscheme, theme, vi, nvim, neovim, generator, scaffold
License
MIT
Install
npm install vim-colors@5.2.0

Documentation

vim-colors

Returns vim color configuration for given inputs

This is an npm package so you can use it in your Javascript projects. If you only want to generate a scheme, use vimcolors.org

Install

npm install vim-colors

Usage

This results into a viml configuration script with a dark background (black) and a white foreground

const vimColors = require('vim-colors')

const configString = vimColors('my-scheme', {
  dark: true,
  bg: '000000', // black
  fg: 'ffffff', // white
  menus: '002244', // navy blue
  comments: 'cccccc', // gray
  scheme: [
    '4169e1',
    'ff6347'
    // You can add up to 6 colors
  ]
})

Related

License

MIT

Author

me
Pablo Varela