Skip to content
🍰 Light & Eye-friendly Color Scheme for Vim, Zsh and Terminal Emulators
Vim script Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
alacritty apply new colors Aug 7, 2019
autoload/lightline/colorscheme adjust lightalt Aug 7, 2019
colors optimize elixir Aug 15, 2019
doc
kitty apply new colors Aug 7, 2019
templates
tilix
xresources
zsh update screenshots Aug 7, 2019
Anti-996-LICENSE
LICENSE add license Jun 28, 2019
README.md update screenshots Aug 7, 2019

README.md

π•πšπ§π’π₯π₯𝐚 π‚πšπ€πž

demo

Installation

Via Plugin Manager

Take vim-plug for example:

Plug 'sainnhe/vim-color-vanilla-cake'

For better syntax highlighting support, please install sheerun/vim-polyglot.

Manually

  1. Clone this repository.
  2. Copy /path/to/vim-color-vanilla-cake/colors/vanilla-cake.vim to ~/.vim/colors/vanilla-cake.vim
  3. To install lightline theme, copy /path/to/vim-color-vanilla-cake/autoload/lightline/colorscheme/vanilla_cake.vim to ~/.vim/autoload/lightline/colorscheme/vanilla_cake.vim

Usage

Vim

Put this in your vimrc:

set termguicolors
colorscheme vanilla-cake 

If you want to apply this color scheme temporarily, run these commands in vim:

:set termguicolors
:colorscheme vanilla-cake 

Lightline

To enable lightline color scheme, put this in your vimrc

let g:lightline = {}
let g:lightline.colorscheme = 'vanilla_cake'

" or this line
let g:lightline = {'colorscheme' : 'vanilla_cake'}

To apply it without reloading:

:let g:lightline.colorscheme = 'vanilla_cake'
:call lightline#init()
:call lightline#colorscheme()
:call lightline#update()

Tmux Status Line

Check this gist.

Zsh

Terminal Emulators

Xresources

README.md

FAQ

Q: It doesn't work as expected.

A:

  1. This color scheme is designed for true colors, set termguicolors is required. Check output of vim --version, maybe your vim doesn't support termguicolors

  2. Maybe your terminal emulator doesn't support true colors, you can test it using this script

  3. If you are running vim in tmux, you need to override default true colors of tmux, as tmux cannot display true color properly: #1246 How to use true colors in vim under tmux?

  4. There are many highlighting group links in syntax files while a color scheme may change them, enabling one color scheme based on another color scheme enabled is very likely to cause color broken. If there is any color broken, you can enable the color scheme in your vimrc instead of after vim startup.

Q: What's your status line configuration?

A: check this gist.

Contribution

Check this gist for detailed instructions to hack this color scheme: hack-color-schemes.md

Inspirations

altercation/solarized

zefei/cake16

nightsense/cosmic_latte

License

MIT && Anti-996

You can’t perform that action at this time.