From 666881476681953604851f01d773316191f91e5a Mon Sep 17 00:00:00 2001 From: Michael Chris Lopez Date: Thu, 26 Aug 2021 17:03:11 +0800 Subject: [PATCH] improve readme --- README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bcefe82..c04ff48 100644 --- a/README.md +++ b/README.md @@ -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" @@ -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 @@ -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.