Home

Awesome

Modus Color Schemes

This is a color scheme developed by Protesilaos Stavrou for emacs. This theme conforms to the highest color contrast between background and foreground values (WCAG AAA). I have attempted to port it to neovim using lua.

NOTICE

Getting Started

If you are using the stable neovim (version 0.4.4 at the time) install tjdevries/colorbuddy.nvim and use the stable branch of this theme.

Also make sure to enable termguicolors.

Installation

Vim Plug

Plug 'ishan9299/modus-theme-vim'  -- if using nightly neovim
Plug 'ishan9299/modus-theme-vim', {'branch': 'stable'} -- only if you are not using nightly

Minpac

call minpac#add('ishan9299/modus-theme-vim') -- if using nightly neovim
call minpac#add('ishan9299/modus-theme-vim', {'branch': 'stable'}) -- only if you are not using nightly

Vim Packages

In the terminal execute this command. Read :h packages

cd ~/.config/nvim
mkdir -p pack/packages/{opt,start}
git submodule add --name modus-theme-vim https://github.com/ishan9299/modus-theme-vim pack/packages/start/modus-theme-vim
# also remember to check out to stable if using neovim 0.4.4

Packer.nvim

  use 'ishan9299/modus-theme-vim'

To set the current theme.

In lua

vim.cmd('colorscheme modus-vivendi') -- Dark
-- or
vim.cmd('colorscheme modus-operandi') -- Light

In vimscript

colorscheme modus-vivendi -- Dark
" or
colorscheme modus-operandi -- Light

Configuration

The theme has multiple configuration options.

To do the same in viml.

All these options are disabled by default. To enable them set the value 1.

Extras

Screenshots

Screenshot from 2021-05-11 12-43-02

The right side has all the options enabled. The statusbar on the left is expressline. The font is Victor Mono.

Plugins Explicitly Configured

Please feel free to open an issue if you want other plugins to be included.

Syntax Highlighting Configured for these languages

TreeSitter is supported if there is a language that isn't properly highlighted please open an issue.

NOTE

Maybe Checkout

  1. nvim-solarized-lua