2021-10-27 17:32:59 +08:00
|
|
|
# Zenbones
|
2021-02-07 20:43:35 +11:00
|
|
|
|
2021-11-16 08:52:22 +08:00
|
|
|
A collection of Vim/Neovim colorschemes designed to highlight code using
|
|
|
|
|
contrasts and font variations. Colors are tasked only for other roles such as
|
|
|
|
|
diagnostics, diffs, search matches.
|
2021-08-25 14:33:40 +08:00
|
|
|
|
2021-10-27 17:14:39 +08:00
|
|
|
It is carefully crafted for extensibility. You can
|
|
|
|
|
[create your own zenbones-based colorscheme](doc/zenbones.md#create-your-own-colorscheme)
|
|
|
|
|
or try the [built-in collection](#usage).
|
|
|
|
|
|
2021-09-18 17:23:01 +08:00
|
|
|

|
2021-08-25 13:08:08 +08:00
|
|
|
|
|
|
|
|
<p align="center">
|
2021-08-26 15:50:06 +08:00
|
|
|
<em>A rock garden in <a href="https://en.wikipedia.org/wiki/Ry%C5%8Dan-ji">Ryōan-ji</a>.</em>
|
2021-08-25 13:08:08 +08:00
|
|
|
</p>
|
|
|
|
|
|
2022-10-22 09:32:57 +08:00
|
|
|
## Requirement
|
|
|
|
|
|
2022-10-22 09:49:11 +08:00
|
|
|
- Neovim v0.8.0 (use v2.0.0 for older versions) or Vim 8.1
|
2022-10-22 09:32:57 +08:00
|
|
|
|
2021-09-26 16:21:27 +08:00
|
|
|
## Recommended setup
|
2021-08-25 13:55:53 +08:00
|
|
|
|
2021-10-20 16:21:06 +08:00
|
|
|
- Neovim with true colors support i.e. `set termguicolors`. Vim works but only
|
|
|
|
|
in compatibility mode.
|
2021-08-27 16:22:07 +08:00
|
|
|
- Font with bold and italic
|
|
|
|
|
- Terminal or GUI with bold and italic support
|
2021-08-25 13:55:53 +08:00
|
|
|
|
2021-08-26 15:45:06 +08:00
|
|
|
## Installation
|
|
|
|
|
|
2024-08-24 14:29:19 +02:00
|
|
|
Example installation using lazy.nvim:
|
2021-08-26 15:45:06 +08:00
|
|
|
|
|
|
|
|
```lua
|
2024-08-24 14:29:19 +02:00
|
|
|
{
|
2024-06-16 12:41:31 +02:00
|
|
|
"zenbones-theme/zenbones.nvim",
|
2021-10-10 14:27:37 +08:00
|
|
|
-- Optionally install Lush. Allows for more configuration or extending the colorscheme
|
2021-10-10 19:23:08 +08:00
|
|
|
-- If you don't want to install lush, make sure to set g:zenbones_compat = 1
|
2021-11-06 14:37:35 +08:00
|
|
|
-- In Vim, compat mode is turned on as Lush only works in Neovim.
|
2024-08-24 14:29:19 +02:00
|
|
|
dependencies = "rktjmp/lush.nvim",
|
|
|
|
|
lazy = false,
|
|
|
|
|
priority = 1000,
|
2024-10-03 06:59:21 +02:00
|
|
|
-- you can set set configuration options here
|
|
|
|
|
-- config = function()
|
|
|
|
|
-- vim.g.zenbones_darken_comments = 45
|
|
|
|
|
-- vim.cmd.colorscheme('zenbones')
|
|
|
|
|
-- end
|
2021-10-10 14:27:37 +08:00
|
|
|
}
|
2021-08-26 15:45:06 +08:00
|
|
|
```
|
|
|
|
|
|
2021-08-25 14:44:32 +08:00
|
|
|
## Usage
|
|
|
|
|
|
2021-08-26 15:50:06 +08:00
|
|
|
Just apply the colorscheme as usual:
|
2021-08-25 14:44:32 +08:00
|
|
|
|
|
|
|
|
```vim
|
2021-10-27 17:14:39 +08:00
|
|
|
set termguicolors
|
2021-11-04 06:16:29 +08:00
|
|
|
set background=light " or dark
|
2021-10-27 17:14:39 +08:00
|
|
|
|
2021-11-01 17:06:22 +08:00
|
|
|
colorscheme zenbones
|
2021-08-25 14:44:32 +08:00
|
|
|
```
|
|
|
|
|
|
2021-11-04 18:06:47 +08:00
|
|
|
Or choose from the collection:
|
|
|
|
|
|
2021-12-25 08:21:30 +08:00
|
|
|
| colorscheme | description |
|
|
|
|
|
| --------------- | ------------------------------------------------------------------------------------------ |
|
|
|
|
|
| `zenwritten` | Zero hue and saturation version |
|
|
|
|
|
| `neobones` | Inspired by [neovim.io](https://neovim.io) |
|
|
|
|
|
| `vimbones` | Inspired by [vim.org](https://www.vim.org) |
|
|
|
|
|
| `rosebones` | Inspired by [Rosé Pine](https://rosepinetheme.com) |
|
|
|
|
|
| `forestbones` | Inspired by [Everforest](https://github.com/sainnhe/everforest) |
|
|
|
|
|
| `nordbones` | Inspired by [Nord](https://www.nordtheme.com/docs/colors-and-palettes) |
|
|
|
|
|
| `tokyobones` | Inspired by [Tokyo Night](https://github.com/enkia/tokyo-night-vscode-theme#color-palette) |
|
|
|
|
|
| `seoulbones` | Inspired by [Seoul256](https://github.com/junegunn/seoul256.vim) |
|
|
|
|
|
| `duckbones` | Inspired by [Spaceduck](https://pineapplegiant.github.io/spaceduck) |
|
|
|
|
|
| `zenburned` | Inspired by [Zenburn](https://kippura.org/zenburnpage) |
|
|
|
|
|
| `kanagawabones` | Inspired by [Kanagawa](https://github.com/rebelot/kanagawa.nvim) |
|
|
|
|
|
| `randombones` | Randomly pick from the collection. |
|
2021-11-04 18:06:47 +08:00
|
|
|
|
2021-09-18 16:20:54 +08:00
|
|
|
## [Configuration and other documentations](doc/zenbones.md)
|
2021-08-30 09:34:39 +08:00
|
|
|
|
2021-09-18 16:20:54 +08:00
|
|
|
See [documentations](doc/zenbones.md) or `:help zenbones.txt`.
|
2021-08-31 10:46:42 +08:00
|
|
|
|
2021-09-18 16:07:20 +08:00
|
|
|
## Showcase
|
2021-08-30 09:34:39 +08:00
|
|
|
|
2021-11-01 17:06:22 +08:00
|
|
|
| light | dark |
|
2021-09-18 16:46:09 +08:00
|
|
|
| :------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------: |
|
|
|
|
|
|  |  |
|
|
|
|
|
|  |  |
|
|
|
|
|
|
2021-09-18 16:20:54 +08:00
|
|
|
| 'bright' | default | 'dim' |
|
2021-09-16 20:19:48 +08:00
|
|
|
| :-----------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------: |
|
2021-09-17 19:42:21 +08:00
|
|
|
|  |  |  |
|
2021-08-30 09:34:39 +08:00
|
|
|
|
2021-09-18 16:20:54 +08:00
|
|
|
| 'stark' | default | 'warm' |
|
2021-09-17 19:44:55 +08:00
|
|
|
| :---------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------: |
|
2021-09-17 19:42:21 +08:00
|
|
|
|  |  |  |
|
2021-08-30 09:34:39 +08:00
|
|
|
|
2021-12-04 10:14:15 +08:00
|
|
|
See more [showcase](doc/showcase.md) from the other colorschemes or checkout the
|
2024-08-08 08:48:02 -05:00
|
|
|
[vimcolorschemes page](https://vimcolorschemes.com/zenbones-theme/zenbones.nvim).
|
2021-10-20 18:02:20 +08:00
|
|
|
|
2021-08-25 15:34:38 +08:00
|
|
|
## Other plugins support
|
2021-08-25 14:33:40 +08:00
|
|
|
|
2021-09-04 17:48:42 +08:00
|
|
|
Aside from LSP and basic Tree-sitter support, here are some plugins that are
|
|
|
|
|
currently supported.
|
2021-08-25 14:33:40 +08:00
|
|
|
|
2021-08-29 10:59:04 +08:00
|
|
|
- [Git Signs](https://github.com/lewis6991/gitsigns.nvim)
|
2021-09-03 11:19:05 +08:00
|
|
|
- [Git Gutter](https://github.com/airblade/vim-gitgutter)
|
2021-08-29 10:59:04 +08:00
|
|
|
- [Indent Blankline](https://github.com/lukas-reineke/indent-blankline.nvim)
|
2021-08-27 16:22:07 +08:00
|
|
|
- [Telescope](https://github.com/nvim-telescope/telescope.nvim)
|
2021-08-29 10:59:04 +08:00
|
|
|
- [Sneak](https://github.com/justinmk/vim-sneak)
|
2022-09-18 17:35:19 +08:00
|
|
|
- [Leap](https://github.com/ggandor/leap.nvim)
|
2021-09-06 12:56:58 +08:00
|
|
|
- [Hop](https://github.com/phaazon/hop.nvim)
|
2021-09-04 17:02:39 +08:00
|
|
|
- [Lualine](https://github.com/hoob3rt/lualine.nvim)
|
2021-09-06 13:54:38 +08:00
|
|
|
- [Lightline](https://github.com/itchyny/lightline.vim)
|
2021-08-29 10:59:04 +08:00
|
|
|
- [BarBar](https://github.com/romgrk/barbar.nvim)
|
|
|
|
|
- [CoC](https://github.com/neoclide/coc.nvim)
|
2021-10-23 18:07:52 +08:00
|
|
|
- [Cmp](https://github.com/hrsh7th/nvim-cmp)
|
2021-08-29 10:59:04 +08:00
|
|
|
- [Neogit](https://github.com/TimUntersberger/neogit)
|
2021-09-05 17:39:39 +08:00
|
|
|
- [WhichKey](https://github.com/folke/which-key.nvim)
|
2021-09-10 16:35:00 +08:00
|
|
|
- [Trouble](https://github.com/folke/trouble.nvim)
|
2021-09-25 17:45:16 +08:00
|
|
|
- [NvimTree](https://github.com/kyazdani42/nvim-tree.lua)
|
2021-10-29 17:00:45 +08:00
|
|
|
- [n³](https://github.com/mcchrish/nnn.vim)
|
2022-08-07 11:20:19 +08:00
|
|
|
- [Mason](https://github.com/williamboman/mason.nvim)
|
2021-08-25 14:33:40 +08:00
|
|
|
|
2021-08-24 18:32:29 +08:00
|
|
|
## Other implementations
|
|
|
|
|
|
2021-09-17 19:44:55 +08:00
|
|
|
- [iTerm2](extras/iterm)
|
|
|
|
|
- [Kitty](extras/kitty)
|
|
|
|
|
- [Alacritty](extras/alacritty)
|
|
|
|
|
- [WezTerm](extras/wezterm)
|
2021-12-28 07:05:45 +08:00
|
|
|
- [Windows Terminal](extras/windows_terminal)
|
2021-12-30 21:33:14 +01:00
|
|
|
- [Foot](extras/foot)
|
2021-09-17 19:44:55 +08:00
|
|
|
- [Tmux](extras/tmux)
|
2021-08-25 14:33:40 +08:00
|
|
|
|
2021-11-07 08:37:59 +08:00
|
|
|
It's also possible to generate any color configuration files using shipwright,
|
|
|
|
|
[this one for Kitty](lua/zenbones/shipwright/runners/kitty.lua) for example.
|
|
|
|
|
Please feel free to submit a PR if you want to add some more.
|
2021-09-04 17:48:42 +08:00
|
|
|
|
2021-08-25 14:33:40 +08:00
|
|
|
## Inspirations
|
|
|
|
|
|
|
|
|
|
Zenbones is heavily inspired by
|
2021-08-25 16:54:14 +08:00
|
|
|
[Verdandi](https://github.com/be5invis/vsc-theme-verdandi) and
|
2021-08-25 15:49:45 +08:00
|
|
|
[vim-yin-yang](https://github.com/pgdouyon/vim-yin-yang). The name came from a
|
|
|
|
|
book called
|
|
|
|
|
[Zen Flesh, Zen Bones](https://en.wikipedia.org/wiki/Zen_Flesh,_Zen_Bones).
|
|
|
|
|
|
2021-08-25 16:16:56 +08:00
|
|
|
There are more similar
|
2021-08-25 15:49:45 +08:00
|
|
|
[colorschemes with few colors from this collection](https://github.com/mcchrish/vim-no-color-collections).
|
2024-03-30 08:35:41 +01:00
|
|
|
|
|
|
|
|
## Git mirrors
|
|
|
|
|
|
2024-08-24 14:29:19 +02:00
|
|
|
- [Gitlab](https://gitlab.com/mcchris/zenbones.nvim)
|
|
|
|
|
- [Codeberg](https://codeberg.org/mcchris/zenbones.nvim)
|