Skip to content

Commit

Permalink
improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mcchrish committed Aug 26, 2021
1 parent 0d4e997 commit 6668814
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ plugins.
## Advance Usage

Zenbones is pretty extensible thanks to
[Lush.nvim](https://github.com/rktjmp/lush.nvim). You can easily retrieve the
colors in lua:
[Lush](https://github.com/rktjmp/lush.nvim). You can easily retrieve the colors
in lua:

```lua
local theme = require "zenbones"
Expand All @@ -102,8 +102,7 @@ print(theme.StatusLine.bg.hex)
print(sand.darken(20).hex)
```

One example of this is the custom [lualine](lua/lualine/themes/zenbones.lua)
theme.
One such example is the custom [lualine](lua/lualine/themes/zenbones.lua) theme.

See also
[Lush's documentation](https://github.com/rktjmp/lush.nvim#advanced-usage) for
Expand All @@ -119,6 +118,18 @@ You can retrieve the terminal colors by using this command:

```
: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
...
```

Useful when you want to apply a zenbones theme to your terminal.
Expand Down

0 comments on commit 6668814

Please sign in to comment.