Files
zenbones-theme/doc/zenbones.txt

214 lines
5.8 KiB
Plaintext
Raw Normal View History

2021-08-27 08:09:41 +00:00
*zenbones.txt* For NVIM v0.4.3 Last change: 2021 August 27
2021-08-27 02:01:48 +00:00
==============================================================================
Table of Contents *zenbones-table-of-contents*
1. Zenbones |zenbones-zenbones|
2021-08-27 08:09:41 +00:00
- Requirements |zenbones-requirements|
- Installation |zenbones-installation|
- Usage |zenbones-usage|
2021-08-27 08:22:52 +00:00
- Other plugins support |zenbones-other-plugins-support|
- Advance Usage |zenbones-advance-usage|
- Other implementations |zenbones-other-implementations|
- Inspirations |zenbones-inspirations|
2021-08-27 02:01:48 +00:00
==============================================================================
1. Zenbones *zenbones-zenbones*
2021-08-27 08:22:52 +00:00
Zenbones is a light vim/nvim |'colorscheme'| designed to highlight code using
2021-08-27 02:01:48 +00:00
contrasts and font variations. Colors are tasked only for other roles such as
diagnostics, diffs, search matches.
<div class="figure">
<img src="https://user-images.githubusercontent.com/7200153/131045472-05c76909-0071-4c24-bd30-f15da3ae4e82.jpg" title="fig:"/>
<p class="caption">Zenbones main image</p>
</div>
<p align="center">
<em>A rock garden in <a href="https://en.wikipedia.org/wiki/Ry%C5%8Dan-ji">Ryōan-ji</a>.</em>
</p>
2021-08-27 08:09:41 +00:00
REQUIREMENTS *zenbones-requirements*
2021-08-27 02:01:48 +00:00
Primarily built for nvim but it works pretty well with vim. However here are
some requirements to take full advantage of the colorscheme:
- 24-bit RGB colors (nvim or vim compiled with +termguicolors)
- Font with bold and italic
- Terminal or GUI with bold and italic support
2021-08-27 08:09:41 +00:00
INSTALLATION *zenbones-installation*
2021-08-27 02:01:48 +00:00
Example installation using packer:
>
use "mcchrish/zenbones.nvim"
-- Optionally install Lush. Useful if you want to extend the theme
-- e.g. create a statusline plugin theme using zenbones colors
use "rktjmp/lush.nvim"
-- See Advanced Usage section for more details
<
2021-08-27 08:09:41 +00:00
USAGE *zenbones-usage*
2021-08-27 02:01:48 +00:00
Just apply the colorscheme as usual:
>
set termguicolors
colorscheme zenbones
<
Alternatively, if you want to make use of the lua version:
>
set termguicolors
colorscheme zenbones-lush
<
It works pretty much the same as the first one but pretty handy when extending
or customizing the colors to your likings.
2021-08-27 08:16:56 +00:00
2021-08-27 02:01:48 +00:00
<details>
<summary>
2021-08-27 08:16:56 +00:00
2021-08-27 02:01:48 +00:00
</summary>
2021-08-27 08:16:56 +00:00
2021-08-27 02:01:48 +00:00
</details>
<details>
<summary>
2021-08-27 08:16:56 +00:00
2021-08-27 02:01:48 +00:00
</summary>
2021-08-27 08:16:56 +00:00
2021-08-27 02:01:48 +00:00
</details>
<details>
<summary>
2021-08-27 08:16:56 +00:00
2021-08-27 02:01:48 +00:00
</summary>
2021-08-27 08:16:56 +00:00
2021-08-27 02:01:48 +00:00
</details>
2021-08-27 08:22:52 +00:00
OTHER PLUGINS SUPPORT *zenbones-other-plugins-support*
2021-08-27 02:01:48 +00:00
2021-08-27 08:22:52 +00:00
Aside from LSP and basic Tree-sitter support, there are only a few plugins that
are currently supported. Please feel free to open a PR to support your favorite
plugins.
2021-08-27 02:01:48 +00:00
2021-08-27 08:22:52 +00:00
- |zenbones-gitsigns|
- |zenbones-indent-blankline|
- |zenbones-Telescope|
- |zenbones-sneak|
- |zenbones-lualine| (requires Lush)
- |zenbones-barbar.nvim|
2021-08-27 02:01:48 +00:00
2021-08-27 08:22:52 +00:00
ADVANCE USAGE *zenbones-advance-usage*
2021-08-27 02:01:48 +00:00
2021-08-27 08:22:52 +00:00
Zenbones is pretty extensible thanks to |zenbones-Lush|. You can easily
retrieve the colors in lua:
2021-08-27 02:01:48 +00:00
2021-08-27 08:22:52 +00:00
>
local theme = require "zenbones"
local colors = require "zenbones.colors"
print(theme.StatusLine.bg.hex)
print(sand.darken(20).hex)
<
2021-08-27 02:01:48 +00:00
2021-08-27 08:22:52 +00:00
One such example is the custom |zenbones-lualine| theme.
2021-08-27 02:01:48 +00:00
2021-08-27 08:22:52 +00:00
See also |zenbones-Lushs-documentation| for the complete options.
2021-08-27 02:01:48 +00:00
2021-08-27 08:22:52 +00:00
OTHER IMPLEMENTATIONS *zenbones-other-implementations*
2021-08-27 02:01:48 +00:00
2021-08-27 08:22:52 +00:00
- |zenbones-iterm2|
2021-08-27 02:01:48 +00:00
2021-08-27 08:22:52 +00:00
*zenbones-Print terminal colors*
2021-08-27 02:01:48 +00:00
2021-08-27 08:22:52 +00:00
Print terminal colors You can retrieve the terminal colors by
using this command:
2021-08-27 02:01:48 +00:00
2021-08-27 08:22:52 +00:00
>
:lua require("zenbones.print").print_terminal_colors()
...
Terminal colors
foreground: #2C363C
background: #F0EDEC
ansi color0: #2C363C
ansi color1: #C23C55
ansi color2: #617437
ansi color3: #914B27
ansi color4: #286486
ansi color5: #88507D
...
<
2021-08-27 02:01:48 +00:00
2021-08-27 08:22:52 +00:00
Useful when you want to apply a zenbones theme to your terminal.
2021-08-27 08:16:56 +00:00
2021-08-27 08:22:52 +00:00
INSPIRATIONS *zenbones-inspirations*
2021-08-27 08:16:56 +00:00
2021-08-27 08:22:52 +00:00
Zenbones is heavily inspired by |zenbones-Verdandi| and
|zenbones-vim-yin-yang|. The name came from a book called
|zenbones-Zen-Flesh,-Zen-Bones|.
2021-08-27 08:16:56 +00:00
2021-08-27 08:22:52 +00:00
There are more similar
|zenbones-colorschemes-with-few-colors-from-this-collection|.
2021-08-27 02:01:48 +00:00
==============================================================================
2021-08-27 08:09:41 +00:00
2. Links *zenbones-links*
2021-08-27 08:22:52 +00:00
1. *zenbones-gitsigns*: https://github.com/lewis6991/gitsigns.nvim
2. *zenbones-indent-blankline*: https://github.com/lukas-reineke/indent-blankline.nvim
3. *zenbones-Telescope*: https://github.com/nvim-telescope/telescope.nvim
4. *zenbones-sneak*: https://github.com/justinmk/vim-sneak
5. *zenbones-lualine*: https://github.com/hoob3rt/lualine.nvim
6. *zenbones-barbar.nvim*: https://github.com/romgrk/barbar.nvim
7. *zenbones-Lush*: https://github.com/rktjmp/lush.nvim
8. *zenbones-lualine*: lua/lualine/themes/zenbones.lua
9. *zenbones-Lushs-documentation*: https://github.com/rktjmp/lush.nvim#advanced-usage
10. *zenbones-iterm2*: https://github.com/mcchrish/zenbones-iterm
11. *zenbones-Verdandi*: https://github.com/be5invis/vsc-theme-verdandi
12. *zenbones-vim-yin-yang*: https://github.com/pgdouyon/vim-yin-yang
13. *zenbones-Zen-Flesh,-Zen-Bones*: https://en.wikipedia.org/wiki/Zen_Flesh,_Zen_Bones
14. *zenbones-colorschemes-with-few-colors-from-this-collection*: https://github.com/mcchrish/vim-no-color-collections
2021-08-27 02:01:48 +00:00
vim:tw=78:ts=8:noet:ft=help:norl: