Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiagovla/tokyodark.nvim
A clean dark theme written in lua for neovim.
https://github.com/tiagovla/tokyodark.nvim
colorscheme neovim theme
Last synced: 14 days ago
JSON representation
A clean dark theme written in lua for neovim.
- Host: GitHub
- URL: https://github.com/tiagovla/tokyodark.nvim
- Owner: tiagovla
- Created: 2021-04-20T19:34:06.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-05T18:12:37.000Z (5 months ago)
- Last Synced: 2024-07-31T20:48:59.180Z (3 months ago)
- Topics: colorscheme, neovim, theme
- Language: Lua
- Homepage:
- Size: 47.9 KB
- Stars: 461
- Watchers: 2
- Forks: 20
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-neovim - tiagovla/tokyodark.nvim - A clean dark theme written in Lua (Neovim >= 0.5) and above. (Colorscheme / Tree-sitter Supported Colorscheme)
README
![tokyodark.nvim](https://user-images.githubusercontent.com/30515389/141231977-82476546-eb48-47e4-a5fc-45ace7eacb0d.png)
![image](https://user-images.githubusercontent.com/30515389/115807570-42385080-a3bf-11eb-8286-c981b5093ffa.png)
### 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](https://github.com/folke/lazy.nvim)
``` lua
{
"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
```lua
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
- [tokyonight-vim](https://github.com/ghifarit53/tokyonight-vim)
- [tokyo-night-vscode-theme](https://github.com/enkia/tokyo-night-vscode-theme)