Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/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.
https://github.com/jsit/toast.vim

color-scheme color-theme colorscheme neovim neovim-plugin nvim-plugin syntax-theme theme vim vim-colors vim-colorscheme

Last synced: 2 days ago
JSON representation

🍞 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.

Awesome Lists containing this project

README

        

# 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](https://live.staticflickr.com/65535/50524666302_001703f6b1_b.jpg)](https://flic.kr/p/2jYG83f)
[![Toast Dark](https://live.staticflickr.com/65535/50524666187_1866f8a909_b.jpg)](https://flic.kr/p/2jYG81g)

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!](https://github.com/jsit/toast.vim/issues)

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

## Installation

Vim:

```sh
mkdir -p ~/.vim/colors
curl -o ~/.vim/colors/toast.vim https://raw.githubusercontent.com/jsit/toast.vim/master/colors/toast.vim
```

Neovim:

```sh
mkdir -p ~/.config/nvim/colors
curl -o ~/.config/nvim/colors/toast.vim https://raw.githubusercontent.com/jsit/toast.vim/master/colors/toast.vim
```

## Customization

To use the light version:

```vim
set background=light
colorscheme toast
```
To use the dark version:

```vim
set background=dark
colorscheme toast
```

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

```vim
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):

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

## Colors

### Colors


Red
Green
Yellow
Blue
Magenta
Cyan

Normal
#d12d00
#427b00
#b68200
#006fd1
#a53bce
#119c97

Bright
#e74d23
#7dc030
#ffc233
#5aa2e0
#b968d9
#15c1bb

### Grays

Light Background
#f4f3ef
#eae8e1
#e4e2d8
#7f7757
#4f4a36
#423e2e
#323434

Dark Background
#c3d2df
#b9cbda
#acc1d3
#547d9c
#253846
#1e2d38
#17222b

## Et cetera

The font used in the screenshots is [IBM Plex Mono](https://github.com/IBM/plex).

## License

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