Skip to content
Projects

About

A clean dark theme written in Lua for Neovim.

Developer Tools

How these counts are measured

What you can do

  • Detailed Tree-sitter and LSP semantic highlighting
  • Plugin highlight support
  • Customizable colors, syntax styles, gamma, and transparency
  • Matching terminal colors, with exports for Kitty, Alacritty, Ghostty, iTerm2, Konsole, and WezTerm

Measured star growth

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

tokyodark.nvim

tokyodark.nvim screenshot

A clean, customizable dark colorscheme for Neovim, written in Lua.

✨ Features

  • Detailed Tree-sitter and LSP semantic highlighting
  • Plugin highlight support
  • Customizable colors, syntax styles, gamma, and transparency
  • Matching terminal colors, with exports for Kitty, Alacritty, Ghostty, iTerm2, Konsole, and WezTerm

📦 Installation

Add the plugin with vim.pack:

vim.pack.add({
    { src = "https://github.com/tiagovla/tokyodark.nvim" },
})

require("tokyodark").setup() -- optional; pass options to customize
vim.cmd.colorscheme("tokyodark")

⚙️ Configuration

All options are optional. Defaults:

require("tokyodark").setup({
    transparent_background = false,
    gamma = 1.00,
    styles = {
        comments = { italic = true },
        keywords = { italic = true },
        identifiers = { italic = true },
        functions = {},
        variables = {},
    },
    custom_highlights = {},
    custom_palette = {},
    terminal_colors = true,
})

vim.cmd.colorscheme("tokyodark")
Custom palette and highlights
require("tokyodark").setup({
    custom_palette = {
        purple = "#afa8ea",
    },
    custom_highlights = function(_, palette)
        return {
            ["@variable"] = { fg = palette.purple },
        }
    end,
})

💡 Inspiration

Explore related projects

Loading…