Update README.md

This commit is contained in:
He4eT 2023-03-09 05:40:23 +05:00 committed by GitHub
commit 5bf06c998b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,24 +31,11 @@ vim.g.desolate_bg
vim.g.desolate_fg
```
Accent colors may be defined by setting:
```lua
vim.g.desolate_constant
vim.g.desolate_identifier
vim.g.desolate_statement
```
Colors for error, warning, success and info messages:
```lua
vim.g.desolate_error
vim.g.desolate_warning
vim.g.desolate_success
vim.g.desolate_info
```
The base color may be customized by setting HSL values with:
```lua
vim.g.desolate_[hsl]
vim.g.desolate_h
vim.g.desolate_s
vim.g.desolate_l
```
Also you may slightly adjust the colorscheme contrast to your liking by setting:
@ -56,6 +43,21 @@ Also you may slightly adjust the colorscheme contrast to your liking by setting:
vim.g.desolate_contrast
```
Accent colors may be defined by setting:
```lua
vim.g.desolate_statement
vim.g.desolate_identifier
vim.g.desolate_constant
```
Colors for error, warning, success and info messages (you can use colors from your terminal):
```lua
vim.g.desolate_error
vim.g.desolate_warning
vim.g.desolate_success
vim.g.desolate_info
```
## Configuration example
### Default colors