Skip to content
forked from jsit/toast.vim

🍞 Toast! A colorful, medium-contrast color scheme with full Vim and Neovim support and automatic light and dark variants. Easy to read without frying your retinae.

Notifications You must be signed in to change notification settings

alffonsse/toast.vim

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Toast!

Toast! A colorful, medium-contrast theme with full Vim and Neovim support, true color and 256-color support, and automatic light and dark variants. Easy to read without frying your retinae.

Toast Light Toast Dark

Toast is not meant to be a "color system" or anything fancy like that, although it does operate within a few parameters to make its development easier and to aim for some degree of theoretical color harmony.

  • All text has (or should have) a contrast ratio of at least 3:1, meeting WCAG level A. (Level AA across the board makes the colors too drab for my taste, but there will be an option for this in the future, because a11y is important.)
  • All hues are multiples of 15 degrees apart on the color wheel, because why not.
  • Within these parameters, saturation and luminance levels are chosen based on what I think looks good while dogfooding the themes.

See something that looks wrong or that you don't like? File an issue!

Much of the basis for this code and approach comes from Chris Kempson's venerable Tomorrow theme.

Customization

To use the light version:

set background=light
colorscheme toast

To use the dark version:

set background=dark
colorscheme toast

If your terminal emulator and version of Vim support true color:

set termguicolors

Set up autocmd overrides to change the colors to your liking. For instance, if you don't want red to be used for constants and strings, you can link them to a different highlight group with something like this in your .vimrc (Vim) or init.vim (Neovim):

augroup toast
  autocmd colorscheme toast hi clear Constant | hi link Constant Type
augroup END

Et cetera

The font used in the screenshots is IBM Plex Mono.

License

Copyright (c) Jay Sitter. Distributed under the same terms as Vim itself. See :help license.

About

🍞 Toast! A colorful, medium-contrast color scheme with full Vim and Neovim support and automatic light and dark variants. Easy to read without frying your retinae.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%