~toastal/sugilite256

An 8-bit color scheme filled with violets and purples
spago2nix → purs-nix
Update flake + clean .envrc
Push Vim artifact to separate repository

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

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.

Usage

Nix

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

Vim / Neovim

Install package

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

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

Configure

init.vim or vimrc

CSS

Reference stylesheet

<link href="sugilite256-root-variables.css">

Development Environment

Git

Suggested 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
$ cp .envrc.example .envrc
$ direnv allow
Caching via Cachix
$ cachix use toastal

Funding

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