A color scheme for Neovim inspired by Gruvbox and Darcula written in Lua
Note: This is under development.
Hello! Thanks for checking out Darcubox.
The project's goal is to create a high-contrast colorscheme(s) for Neovim (and other tools) that has beautiful defaults but is also customizable.
If you encounter issues or have ideas, please open an issue or send a pull request!
Using lazy.nvim:
{ "dotsilas/darcubox-nvim" }
Using packer.nvim:
use { "dotsilas/darcubox-nvim" }
vim.cmd[[colorscheme darcubox]]
The default configuration for darcubox is as follows:
require('darcubox').setup({
options = {
transparent = false,
styles = {
comments = {},
functions = {},
keywords = {},
types = {},
},
},
})
You can change the background to transparent and the styles of Comment
, Function
, Keyword
and Type
syntax groups as follows:
require('darcubox').setup({
options = {
transparent = true,
styles = {
comments = { italic = true }, -- italic
functions = { bold = true }, -- bold
keywords = { italic = true },
types = { italic = true, bold = true }, -- italics and bold
},
},
})
-- Set the configuration before loading the color scheme
vim.cmd[[colorscheme darcubox]]