Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/friskenstein/witchcraft.nvim
Neovim colorscheme based on tiagovla/tokyodark.nvim
https://github.com/friskenstein/witchcraft.nvim
Last synced: 19 days ago
JSON representation
Neovim colorscheme based on tiagovla/tokyodark.nvim
- Host: GitHub
- URL: https://github.com/friskenstein/witchcraft.nvim
- Owner: friskenstein
- Created: 2024-03-09T12:18:01.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-14T09:15:08.000Z (7 months ago)
- Last Synced: 2024-11-22T12:16:14.979Z (3 months ago)
- Language: Lua
- Size: 225 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Witchcraft
Based on `tiagovla/tokyodark.nvim`
![screenshot](screenshot.jpg)
### 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
{
"Dedtec/witchcraft.nvim",
opts = {
-- custom options here
},
config = function(_, opts)
require("witchcraft").setup(opts) -- calling setup is optional
vim.cmd [[colorscheme witchcraft]]
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
- [tokyodark.nvim](https://github.com/tiagovla/tokyodark.nvim)
- [tokyonight-vim](https://github.com/ghifarit53/tokyonight-vim)
- [tokyo-night-vscode-theme](https://github.com/enkia/tokyo-night-vscode-theme)