colorschemes.tokyonight.settings

Options provided to the require('tokyonight').setup function.

Type: attribute set of anything

Default: { }

Example:

{
  day_brightness = 0.3;
  dim_inactive = false;
  hide_inactive_statusline = false;
  light_style = "day";
  lualine_bold = false;
  on_colors = "function(colors) end";
  on_highlights = "function(highlights, colors) end";
  sidebars = [
    "qf"
    "vista_kind"
    "terminal"
    "packer"
  ];
  style = "storm";
  styles = {
    comments = {
      italic = true;
    };
    floats = "dark";
    functions = { };
    keywords = {
      italic = true;
    };
    sidebars = "dark";
    variables = { };
  };
  terminal_colors = true;
  transparent = false;
}

Declared by:

colorschemes.tokyonight.settings.day_brightness

Adjusts the brightness of the colors of the Day style. Number between 0 and 1, from dull to vibrant colors.

Type: null or integer or floating point number between 0.0 and 1.0 (both inclusive)

Default: null

Plugin default: 0.3

Declared by:

colorschemes.tokyonight.settings.dim_inactive

Dims inactive windows.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

colorschemes.tokyonight.settings.hide_inactive_statusline

Enabling this option will hide inactive statuslines and replace them with a thin border instead. Should work with the standard StatusLine and LuaLine.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

colorschemes.tokyonight.settings.light_style

The theme to use when the background is set to light.

Type: null or string or raw lua code

Default: null

Plugin default: "day"

Declared by:

colorschemes.tokyonight.settings.lualine_bold

When true, section headers in the lualine theme will be bold.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

colorschemes.tokyonight.settings.on_colors

Override specific color groups to use other groups or a hex color. Function will be called with a ColorScheme table. @param colors ColorScheme

Type: null or lua function string

Default: null

Plugin default: "function(colors) end"

Declared by:

colorschemes.tokyonight.settings.on_highlights

Override specific highlights to use other groups or a hex color. Function will be called with a Highlights and ColorScheme table. @param highlights Highlights @param colors ColorScheme

Type: null or lua function string

Default: null

Plugin default: "function(highlights, colors) end"

Declared by:

colorschemes.tokyonight.settings.sidebars

Set a darker background on sidebar-like windows.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default:

[
  "qf"
  "help"
]

Declared by:

colorschemes.tokyonight.settings.style

The theme comes in four styles, moon, storm, a darker variant night, and day.

Type: null or one of “moon”, “storm”, “night”, “day” or raw lua code

Default: null

Plugin default: "moon"

Declared by:

colorschemes.tokyonight.settings.terminal_colors

Configure the colors used when opening a :terminal in Neovim

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

colorschemes.tokyonight.settings.transparent

Disable setting the background color.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by: