Files
zenbones-theme/doc/zenbones.txt

196 lines
7.4 KiB
Plaintext
Raw Normal View History

2021-09-17 11:55:56 +00:00
*zenbones.txt* A contrast-focused vim/neovim colorscheme
2021-08-27 02:01:48 +00:00
==============================================================================
Table of Contents *zenbones-table-of-contents*
2021-09-17 11:55:56 +00:00
1. Zenflesh, Zenbones |zenbones-zenflesh,-zenbones|
2021-08-27 08:09:41 +00:00
- Requirements |zenbones-requirements|
- Installation |zenbones-installation|
- Usage |zenbones-usage|
2021-08-30 01:35:08 +00:00
- Configuration |zenbones-configuration|
2021-08-31 02:48:36 +00:00
- Advanced Usage |zenbones-advanced-usage|
2021-09-05 00:19:48 +00:00
- Other plugins support |zenbones-other-plugins-support|
2021-08-27 08:22:52 +00:00
- Other implementations |zenbones-other-implementations|
- Inspirations |zenbones-inspirations|
2021-08-27 02:01:48 +00:00
==============================================================================
2021-09-17 11:55:56 +00:00
1. Zenflesh, Zenbones *zenbones-zenflesh,-zenbones*
2021-08-27 02:01:48 +00:00
2021-09-17 11:55:56 +00:00
Zenbones is a vim/neovim colorscheme designed to highlight code using contrasts
and font variations. Colors are tasked only for other roles such as
2021-08-27 02:01:48 +00:00
diagnostics, diffs, search matches.
2021-08-27 08:35:18 +00:00
REQUIREMENTS *zenbones-requirements*
2021-08-27 02:01:48 +00:00
2021-09-04 09:04:52 +00:00
Primarily built for neovim but it works pretty well with vim. However here are
2021-08-27 02:01:48 +00:00
some requirements to take full advantage of the colorscheme:
2021-09-10 08:53:17 +00:00
- 24-bit RGB colors (neovim or vim compiled with +termguicolors) i.e.
`set termguicolors`
2021-08-27 02:01:48 +00:00
- Font with bold and italic
- Terminal or GUI with bold and italic support
2021-08-27 08:35:18 +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:35:18 +00:00
USAGE *zenbones-usage*
2021-08-27 02:01:48 +00:00
Just apply the colorscheme as usual:
>
2021-09-17 11:55:56 +00:00
colorscheme zenbones " light
colorscheme zenflesh " dark
2021-08-27 02:01:48 +00:00
<
2021-09-05 01:23:38 +00:00
If you want to make use of the lua version:
2021-08-27 02:01:48 +00:00
>
2021-09-12 06:41:36 +00:00
" Requires `neovim` and `rktjmp/lush.nvim` installed
2021-08-27 02:01:48 +00:00
colorscheme zenbones-lush
2021-09-17 11:55:56 +00:00
colorscheme zenflesh-lush
2021-08-27 02:01:48 +00:00
<
It works pretty much the same as the first one but pretty handy when extending
or customizing the colors to your likings.
2021-08-30 01:35:08 +00:00
CONFIGURATION *zenbones-configuration*
2021-09-17 11:55:56 +00:00
Configuration is only available for `zenbones-lush` and `zenflesh-lush`.
2021-08-31 02:48:36 +00:00
2021-08-30 01:35:08 +00:00
*zenbones-g:zenbones_lightness*
2021-09-01 05:21:19 +00:00
g:zenbones_lightness Change background colors lightness.
2021-08-30 01:35:08 +00:00
2021-09-17 11:55:56 +00:00
│ 'bright' │ _(unset)_ │ 'dim' │
│<img src='https://user-im│<img src='https://user-im│<img src='https://user-im│
│ages.githubusercontent.co│ages.githubusercontent.co│ages.githubusercontent.co│
│m/7200153/133776552-5919f│m/7200153/133776625-d8e9d│m/7200153/133776674-ff7d1│
│664-17d9-4d96-bf44-d587f2│d88-13b3-4362-9cad-2031ef│5e9-52e3-4a27-9099-722ffc│
│ 0b01dc.png' title=''/> │ 6ccf7d.png' title=''/> │ be1cb8.png' title=''/> │
2021-08-30 01:35:08 +00:00
2021-09-17 11:55:56 +00:00
*zenbones-g:zenflesh_darkness*
2021-08-30 01:35:08 +00:00
2021-09-17 11:55:56 +00:00
g:zenflesh_darkness Change background colors darkness.
2021-08-30 01:35:08 +00:00
2021-09-17 11:55:56 +00:00
│ 'stark' │ _(unset)_ │ 'warm' │
│<img src='https://user-im│<img src='https://user-im│<img src='https://user-im│
│ages.githubusercontent.co│ages.githubusercontent.co│ages.githubusercontent.co│
│m/7200153/133776839-4b12c│m/7200153/133776882-26d00│m/7200153/133776957-3d294│
│3dd-233f-47d1-9740-006bf5│6b4-50db-49ad-bd79-3bec32│9c9-51b6-4537-aca4-6ced80│
│ 0e812a.png' title=''/> │ 7a95fc.png' title=''/> │ 113b91.png' title=''/> │
2021-08-30 01:35:08 +00:00
2021-08-31 02:48:36 +00:00
*zenbones-g:zenbones_solid_vert_split*
2021-09-17 11:55:56 +00:00
*zenbones-g:zenflesh_solid_vert_split*
g:zenflesh_solid_vert_split Set to `v:true` to make vertical split
more distinguishable background
2021-08-31 02:48:36 +00:00
highlight.
*zenbones-g:zenbones_dim_noncurrent_window*
2021-09-05 01:23:38 +00:00
g:zenbones_dim_noncurrent_window Set to `v:true` to make non-current
window background dimmer than _Normal_.
2021-09-17 11:55:56 +00:00
*zenbones-g:zenflesh_lighten_noncurrent_window*
g:zenflesh_lighten_noncurrent_window Set to `v:true` to make non-current
window background warmer than _Normal_.
*zenbones-g:zenbones_italic_comments*
*zenbones-g:zenflesh_italic_comments*
g:zenflesh_italic_comments Set to `v:false` to make comments not
italicize.
2021-09-05 00:19:48 +00:00
ADVANCED USAGE *zenbones-advanced-usage*
2021-09-12 06:41:36 +00:00
Zenbones is pretty extensible thanks to Lush. You can easily retrieve the
colors in lua:
2021-09-05 00:19:48 +00:00
>
2021-09-17 11:55:56 +00:00
local theme = require "zenbones" -- or zenflesh
2021-09-12 14:19:33 +08:00
local palette = require "zenbones.palette"
2021-09-05 00:19:48 +00:00
print(theme.StatusLine.bg.hex)
2021-09-17 11:55:56 +00:00
print(palette.blossom.darken(20).hex)
2021-09-05 00:19:48 +00:00
<
2021-08-31 02:48:36 +00:00
2021-09-05 01:23:38 +00:00
See also Lushs documentation
2021-09-12 06:41:36 +00:00
<https://github.com/rktjmp/lush.nvim#advanced-usage> for more options.
2021-08-31 02:48:36 +00:00
2021-08-27 08:35:18 +00:00
OTHER PLUGINS SUPPORT *zenbones-other-plugins-support*
2021-08-27 02:01:48 +00:00
2021-09-04 09:49:37 +00:00
Aside from LSP and basic Tree-sitter support, here are some plugins that are
currently supported.
2021-08-27 02:01:48 +00:00
2021-08-29 03:00:54 +00:00
- Git Signs <https://github.com/lewis6991/gitsigns.nvim>
2021-09-03 03:21:56 +00:00
- Git Gutter <https://github.com/airblade/vim-gitgutter>
2021-08-29 03:00:54 +00:00
- Indent Blankline <https://github.com/lukas-reineke/indent-blankline.nvim>
2021-08-27 08:35:18 +00:00
- Telescope <https://github.com/nvim-telescope/telescope.nvim>
2021-08-29 03:00:54 +00:00
- Sneak <https://github.com/justinmk/vim-sneak>
2021-09-06 05:55:18 +00:00
- Lightspeed <https://github.com/ggandor/lightspeed.nvim>
- Hop <https://github.com/phaazon/hop.nvim>
2021-09-04 09:04:52 +00:00
- Lualine <https://github.com/hoob3rt/lualine.nvim>
2021-09-06 05:55:18 +00:00
- Lightline <https://github.com/itchyny/lightline.vim>
2021-08-29 03:00:54 +00:00
- BarBar <https://github.com/romgrk/barbar.nvim>
- CoC <https://github.com/neoclide/coc.nvim>
- Neogit <https://github.com/TimUntersberger/neogit>
2021-09-05 09:58:07 +00:00
- WhichKey <https://github.com/folke/which-key.nvim>
2021-09-10 08:53:17 +00:00
- Trouble <https://github.com/folke/trouble.nvim>
2021-08-27 02:01:48 +00:00
2021-08-27 08:35:18 +00:00
OTHER IMPLEMENTATIONS *zenbones-other-implementations*
2021-08-27 02:01:48 +00:00
2021-09-17 11:55:56 +00:00
- iTerm2 <extras/iterm>
- Kitty <extras/kitty>
- Alacritty <extras/alacritty>
- WezTerm <extras/wezterm>
- Tmux <extras/tmux>
2021-08-27 02:01:48 +00:00
2021-09-04 09:49:37 +00:00
Its also possible to generate color configuration files using a template,
this one for Kitty <lua/zenbones/build/kitty.lua> for example. Please feel free
to submit a PR if you want to add some more.
2021-08-27 08:35:18 +00:00
INSPIRATIONS *zenbones-inspirations*
2021-08-27 08:16:56 +00:00
2021-08-27 08:35:18 +00:00
Zenbones is heavily inspired by Verdandi
<https://github.com/be5invis/vsc-theme-verdandi> and 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-27 08:16:56 +00:00
2021-08-27 08:35:18 +00:00
There are more similar colorschemes with few colors from this collection
<https://github.com/mcchrish/vim-no-color-collections>.
2021-08-27 21:53:36 +00:00
2021-08-27 21:02:03 +00:00
Generated by panvimdoc <https://github.com/kdheepak/panvimdoc>
2021-08-27 02:01:48 +00:00
vim:tw=78:ts=8:noet:ft=help:norl: