README.md
# miasma.nvim ☁️
a color scheme for `{neo,}vim` inspired by the woods, built using [lush](https://github.com/rktjmp/lush.nvim) 👄
supports treesitter, gitsigns, lazy, which-key, telescope, lsp diagnostics, and more.
![theme preview](https://raw.githubusercontent.com/xero/miasma.nvim/main/preview.png)
```
┏┏┓o┳━┓┓━┓┏┏┓┳━┓
┃┃┃┃┃━┫┗━┓┃┃┃┃━┫
┛ ┇┇┛ ┇━━┛┛ ┇┛ ┇
```
a fog descends upon your editor
https://github.com/xero/miasma.nvim
## flavors
this theme is available in a classic vim compatible format, optimized lua, and a development lua version. you can install different flavors by using the corresponding branches:
* [main](https://github.com/xero/miasma.nvim/tree/main) - classic vim version
* lua - optimized lua version (coming soon)
* [dev](https://github.com/xero/miasma.nvim/tree/dev) - development lua version
for speed and greatest compatibility, use the main branch.
## installation
using `lazy`
```lua
{
"xero/miasma.nvim",
lazy = false,
priority = 1000,
config = function()
vim.cmd("colorscheme miasma")
end,
}
```
using `plug`
```vim
Plug 'xero/miasma.nvim'
colorscheme miasma
```
using `packer`
```lua
use {"xero/miasma.nvim"}
vim.cmd("colorscheme miasma")
```
## usage
set the color scheme with the builtin command `:colorscheme`
## customization
this theme is built with `lush.nvim`, so customizations are quite easy.
first, checkout the [dev](https://github.com/xero/miasma.nvim/tree/dev) branch `git fetch origin dev && git checkout dev`, open the lua theme `nvim lua/lush_theme/miasma.lua` and execute `:Lushify`. then adjust colors to suit your taste with real-time feedback. checkout [the dev branch readme](https://github.com/xero/miasma.nvim/blob/dev/README.md) for details on building the optimized colorscheme. lots more details on using `lush` in [their repo](https://github.com/rktjmp/lush.nvim).
## extras
this theme has been ported to a few different apps, and are included in the `extras` directory:
* `miasma.Xresources` - colors for [xclients](https://wiki.archlinux.org/title/x_resources) (e.g. unix terminal emulators)
* `miasma.itermcolors` - colors for [iterm2](https://iterm2.com)
* `miasma.zsh` - colors for [zsh](https://zsh.org)
more on the way, and pr's for others are welcomed!
# license
![kopimi logo](https://gist.githubusercontent.com/xero/cbcd5c38b695004c848b73e5c1c0c779/raw/6b32899b0af238b17383d7a878a69a076139e72d/kopimi-sm.png)
all files and scripts in this repo are released [CC0](https://creativecommons.org/publicdomain/zero/1.0/) / [kopimi](https://kopimi.com)! in the spirit of _freedom of information_, i encourage you to fork, modify, change, share, or do whatever you like with this project! `^c^v`