tiagovla/tokyodark.nvim

github github
colorschemetreesitter-colorschemes
stars 430
issues 0
subscribers 2
forks 18
CREATED

2021-04-20

UPDATED

28 days ago


tokyodark.nvim

image

About

A clean dark theme written in lua for neovim (0.7.2 or older).

Features

  • Support for numerous plugins
  • Customizable

Installation

Install with your favorite package manager:

lazy

{
    "tiagovla/tokyodark.nvim",
    opts = {
        -- custom options here
    },
    config = function(_, opts)
        require("tokyodark").setup(opts) -- calling setup is optional
        vim.cmd [[colorscheme tokyodark]]
    end,
}

Default configuration

local default_config = {
    transparent_background = false, -- set background to transparent
    gamma = 1.00, -- adjust the brightness of the theme
    styles = {
        comments = { italic = true }, -- style for comments
        keywords = { italic = true }, -- style for keywords
        identifiers = { italic = true }, -- style for identifiers
        functions = {}, -- style for functions
        variables = {}, -- style for variables
    },
    custom_highlights = {} or function(highlights, palette) return {} end, -- extend highlights
    custom_palette = {} or function(palette) return {} end, -- extend palette
    terminal_colors = true, -- enable terminal colors
}

Inspiration