docs: added docs on the new moon style
This commit is contained in:
11
README.md
11
README.md
@@ -12,6 +12,8 @@ extra themes for Kitty, Alacritty, iTerm and Fish.
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
## Moon
|
||||||
|
|
||||||
## Day
|
## Day
|
||||||
|
|
||||||

|

|
||||||
@@ -53,7 +55,7 @@ extra themes for Kitty, Alacritty, iTerm and Fish.
|
|||||||
|
|
||||||
## ⚡️ Requirements
|
## ⚡️ Requirements
|
||||||
|
|
||||||
- Neovim >= 0.5.0
|
- Neovim >= 0.6.0
|
||||||
|
|
||||||
## 📦 Installation
|
## 📦 Installation
|
||||||
|
|
||||||
@@ -83,6 +85,7 @@ colorscheme tokyonight
|
|||||||
colorscheme tokyonight-night
|
colorscheme tokyonight-night
|
||||||
colorscheme tokyonight-storm
|
colorscheme tokyonight-storm
|
||||||
colorscheme tokyonight-day
|
colorscheme tokyonight-day
|
||||||
|
colorscheme tokyonight-moon
|
||||||
```
|
```
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
@@ -115,7 +118,7 @@ let g:lightline = {'colorscheme': 'tokyonight'}
|
|||||||
> ❗️ configuration needs to be set **BEFORE** loading the color scheme with
|
> ❗️ configuration needs to be set **BEFORE** loading the color scheme with
|
||||||
> `colorscheme tokyonight`
|
> `colorscheme tokyonight`
|
||||||
|
|
||||||
The theme comes in three styles, `storm`, a darker variant `night` and `day`.
|
The theme comes in four styles, `storm`, `moon`, a darker variant `night` and `day`.
|
||||||
|
|
||||||
The **day** style will be used if:
|
The **day** style will be used if:
|
||||||
|
|
||||||
@@ -128,7 +131,7 @@ TokyoNight will use the default options, unless you call `setup`.
|
|||||||
require("tokyonight").setup({
|
require("tokyonight").setup({
|
||||||
-- your configuration comes here
|
-- your configuration comes here
|
||||||
-- or leave it empty to use the default settings
|
-- or leave it empty to use the default settings
|
||||||
style = "storm", -- The theme comes in three styles, `storm`, a darker variant `night` and `day`
|
style = "storm", -- The theme comes in three styles, `storm`, `moon`, a darker variant `night` and `day`
|
||||||
transparent = false, -- Enable this to disable setting the background color
|
transparent = false, -- Enable this to disable setting the background color
|
||||||
terminal_colors = true, -- Configure the colors used when opening a `:terminal` in Neovim
|
terminal_colors = true, -- Configure the colors used when opening a `:terminal` in Neovim
|
||||||
styles = {
|
styles = {
|
||||||
@@ -170,7 +173,7 @@ How the highlight groups are calculated:
|
|||||||
3. the **colors** are then used to generate the highlight groups
|
3. the **colors** are then used to generate the highlight groups
|
||||||
4. `config.on_highlights(highlights, colors)` is ran, where you can overide the highlight groups
|
4. `config.on_highlights(highlights, colors)` is ran, where you can overide the highlight groups
|
||||||
|
|
||||||
Please refer to default values for `colors` and `highlights` for the [storm](extras/lua_tokyonight_storm.lua), [night](extras/lua_tokyonight_night.lua), [day](extras/lua_tokyonight_day.lua)
|
Please refer to default values for `colors` and `highlights` for the [storm](extras/lua_tokyonight_storm.lua), [moon](extras/lua_tokyonight_moon.lua), [night](extras/lua_tokyonight_night.lua), [day](extras/lua_tokyonight_day.lua)
|
||||||
|
|
||||||
Example for changing some settings and colors
|
Example for changing some settings and colors
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user