~toastal/sugilite256

An 8-bit color scheme filled with violets and purples
Improve pronunciation line
separating dark + extending styles
CSS support

clone

read-only
https://git.sr.ht/~toastal/sugilite256
read/write
git@git.sr.ht:~toastal/sugilite256

You can also use your local clone with git send-email.

sugilite256 (pronounced /ˈsuː.ɡɪˌlaɪt tuː ˈfɪfti sɪks/) is an 8-bit, 256-color color scheme inspired by lapis256 and likewise named after a mineral. After years of use and looking at all these blues & greens, I wanted something violet & purple.

It is first and foremost a scheme for Vim and Vim-compatible text editors, and other theming targets will be derived from the Vim color scheme.

2021-09-04 screenshot of sugilite in Neovim 0.5

sugilite256 properties
  • Moderate contrast between background and text

  • Soft contrast between many common syntax elements

  • Lots of violet & purple

  • Don’t set default background and foreground colors to match the user’s interface

  • Xterm 256-color support

  • Optimized for OLED (meaning, readable on black)

sugilite256 supports
  • Vim colorscheme

  • CSS as :root variables and class names

License

This project is licensed under Mozilla Public License Version 2.0 (MPL-2.0) — see the LICENSE file in this project for details.

Installation

This repo is Nix Flake-compatible with a sugilite256-{css,vim} package.

Add Package

There are many options in the Vim/Neovim scene like:

Vim Plug (or similar)
Plug 'https://git.sr.ht/~toastal/sugilite256', { 'branch': 'trunk', 'rtp': 'vim' }
packer.nvim
return require('packer').startup(function()
   use { "https://git.sr.ht/~toastal/sugilite256", branch = "trunk", rtp = "vim" }
end)

Add to your configuration file

init.vim or vimrc
set background=dark
" add your own Normal if needed (like with LimeLight)
" highlight Normal guifg=#eeeeee guibg=#000000 ctermfg=255 ctermbg=0 cterm=none
colorscheme sugilite256

Development setup

Git

Hooks and config
$ git config --local include.path ../.gitconfig
$ git config --local core.hooksPath .githooks

Nix + Flakes

For dev shell
$ nix develop
For automatic shell via direnv
$ direnv allow
Caching via Cachix
$ cachix use toastal

Funding

If you want to make a small contribution to the maintanence of this & other projects