zenbones-theme / zenbones.nvim

🪨 A collection of contrast-based Vim/Neovim colorschemes
MIT License
650 stars 46 forks source link

Example in Documentation/Advanced Usage #147

Closed LateNightIceCream closed 6 months ago

LateNightIceCream commented 6 months ago

The example in the documentation under "Advanced Usage" fails with

attempt to index field 'blossom' (a nil value) @ line 118 below.

https://github.com/mcchrish/zenbones.nvim/blob/510d12c088ed45a410371c63ebd62ffb54c1615f/doc/zenbones.md?plain=1#L113-L119

I think it should be

print(palette.dark.blossom.darken(20).hex)

or

print(palette.light.blossom.darken(20).hex)