doc: Update docs for default theme and auto

This commit is contained in:
shadmansaleh 2021-08-14 14:39:10 +06:00
parent 32727039a9
commit fdb4d35507
3 changed files with 6 additions and 4 deletions

View File

@ -77,7 +77,7 @@ Each sections holds it's components e.g. current vim's mode.
require'lualine'.setup { require'lualine'.setup {
options = { options = {
icons_enabled = true, icons_enabled = true,
theme = 'gruvbox', theme = 'auto',
component_separators = {'', ''}, component_separators = {'', ''},
section_separators = {'', ''}, section_separators = {'', ''},
disabled_filetypes = {} disabled_filetypes = {}

View File

@ -3,8 +3,10 @@
All available themes are only best effort ports by myself/ other users. If you find a theme to be weird/ wrong please open an issue/ pr. All available themes are only best effort ports by myself/ other users. If you find a theme to be weird/ wrong please open an issue/ pr.
### auto ### auto
if your favourite colorcheme is not yet supported you can use `auto` to make auto is a special theme. It will automaticaly load theme for your colorscheme.
lualine try to match your colorscheme. If there's no theme available for your colorscheme then
it'll it's best to generate one.
### 16color ### 16color
<p> <p>
<img width='700' src='https://user-images.githubusercontent.com/41551030/108648240-02d2ae00-74bb-11eb-9ac1-495849621366.png'/> <img width='700' src='https://user-images.githubusercontent.com/41551030/108648240-02d2ae00-74bb-11eb-9ac1-495849621366.png'/>

View File

@ -41,7 +41,7 @@ Default config~
require'lualine'.setup { require'lualine'.setup {
options = { options = {
icons_enabled = true, icons_enabled = true,
theme = 'gruvbox', theme = 'auto',
component_separators = {'', ''}, component_separators = {'', ''},
section_separators = {'', ''}, section_separators = {'', ''},
disabled_filetypes = {} disabled_filetypes = {}