feat: use background setting to determine light / dark theme #15
This commit is contained in:
@@ -92,6 +92,11 @@ require('lualine').setup {
|
||||
|
||||
The theme comes in three styles, `storm`, a darker variant `night` and `day`.
|
||||
|
||||
The **day** style will be used if:
|
||||
|
||||
+ `vim.g.tokyonight_style == "day"`
|
||||
+ or `vim.o.background == "light"`
|
||||
|
||||
| Option | Default | Description |
|
||||
| ----------------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| tokyonight_style | `"storm"` | The theme comes in three styles, `storm`, a darker variant `night` and `day`. |
|
||||
|
||||
Reference in New Issue
Block a user