https://github.com/kvrohit/substrata.nvim
A cold, dark color scheme for Neovim
https://github.com/kvrohit/substrata.nvim
colorscheme dark lua neovim nvim pale theme
Last synced: 4 months ago
JSON representation
A cold, dark color scheme for Neovim
- Host: GitHub
- URL: https://github.com/kvrohit/substrata.nvim
- Owner: kvrohit
- Created: 2021-07-18T17:50:26.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-07T01:23:52.000Z (almost 3 years ago)
- Last Synced: 2024-04-14T00:22:28.863Z (about 1 year ago)
- Topics: colorscheme, dark, lua, neovim, nvim, pale, theme
- Language: Lua
- Homepage:
- Size: 38.1 KB
- Stars: 120
- Watchers: 1
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-neovim - kvrohit/substrata.nvim - A cold, dark color scheme written in Lua ported from [arzg/vim-substrata](https://github.com/arzg/vim-substrata) theme. (Colorscheme / Tree-sitter Supported Colorscheme)
- awesome-neovim-sorted - kvrohit/substrata.nvim
- awesome-neovim-sorted - kvrohit/substrata.nvim
README
# 🏔 Substrata
A cold, dark color scheme for Neovim written in Lua ported from [vim-substrata](https://github.com/arzg/vim-substrata) theme.
## ✨ Features
- Supports the latest Neovim `0.5` features like TreeSitter and LSP
- Terminal colors inside Neovim
- Color themes for terminals:
- `alacritty`
- `gnome-terminal`
- `iterm2`
- `kitty`
- `konsole`
- `wezterm`### Plugin Support
- [TreeSitter](https://github.com/nvim-treesitter/nvim-treesitter)
- [LSP Diagnostics](https://neovim.io/doc/user/lsp.html)
- [LSP Trouble](https://github.com/folke/lsp-trouble.nvim)
- [LSP Saga](https://github.com/glepnir/lspsaga.nvim)
- [Git Signs](https://github.com/lewis6991/gitsigns.nvim)
- [Telescope](https://github.com/nvim-telescope/telescope.nvim)
- [NvimTree](https://github.com/kyazdani42/nvim-tree.lua)
- [WhichKey](https://github.com/liuchengxu/vim-which-key)
- [Indent Blankline](https://github.com/lukas-reineke/indent-blankline.nvim)
- [BufferLine](https://github.com/akinsho/nvim-bufferline.lua)
- [ALE](https://github.com/dense-analysis/ale)
- [vim-sneak](https://github.com/justinmk/vim-sneak)
- [nvim-cmp](https://github.com/hrsh7th/nvim-cmp)
- [Hydra](https://github.com/anuvyklack/hydra.nvim)## ⚡️ Requirements
- Neovim >= 0.5.0
## 📦 Installation
Install the theme with your preferred package manager:
[vim-plug](https://github.com/junegunn/vim-plug)
```vim
Plug 'kvrohit/substrata.nvim'
```[packer](https://github.com/wbthomason/packer.nvim)
```lua
use 'kvrohit/substrata.nvim'
```## 🚀 Usage
Enable the colorscheme:
```lua
-- Lua
vim.cmd [[colorscheme substrata]]
``````vim
" Vim Script
colorscheme substrata
```## ⚙️ Configuration
> Configuration needs to be set **BEFORE** loading the color scheme with `colorscheme substrata`
| Option | Default | Description |
| -------------------------- | --------- | ------------------------ |
| substrata_italic_comments | `true` | Make comments italic |
| substrata_italic_keywords | `false` | Make keywords italic |
| substrata_italic_booleans | `false` | Make booleans italic |
| substrata_italic_functions | `false` | Make functions italic |
| substrata_italic_variables | `false` | Make variables italic |
| substrata_transparent | `false` | Disable background color |
| substrata_variant | `default` | Colorscheme variant |```lua
-- Example config in lua
vim.g.substrata_italic_functions = true-- Load the colorscheme
vim.cmd [[colorscheme substrata]]
``````vim
" Example config in Vim Script
let g:substrata_italic_functions = 1" Load the colorscheme
colorscheme substrata
``````vim
" Setting brighter colorscheme variant
let g:substrata_variant = "brighter"
```## Preview
### Terminal

### Shell script

### Markdown

### YAML

### Rust

### HTML

### CSS

### JavaScript

## ☑️ Extras
- Eclipse color theme: `extras/eclipse/substrata.xml`
- Gnome Terminal color theme: `extras/gnome-terminal/substrata.sh`
- iTerm2 color theme: `extras/iterm2/substrata.itermcolors`
- Konsole color theme: `extras/konsole/substrata.colorscheme`
- WezTerm color theme: `extras/wezterm/colors/Substrata.toml`
- kitty color theme: `extras/kitty/substrata.conf`
- Alacritty color theme: `extras/alacritty/substrata.yaml`## 👍 Credits
- The original authors of the excellent [vim-substrata](https://github.com/arzg/vim-substrata) theme.
- Lua plugin derived from [neon](https://github.com/rafamadriz/neon) and influenced by [tokyonight.nvim](https://github.com/folke/tokyonight.nvim).
- Gnome terminal, Konsole and iTerm2 colors exported from [terminal.sexy](http://terminal.sexy).