Skip to content

A color scheme for Neovim inspired by Gruvbox and Darcula

License

Notifications You must be signed in to change notification settings

dotsilas/darcubox-nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

darcubox

A color scheme for Neovim inspired by Gruvbox and Darcula written in Lua

darcubox

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!

Instalation

Using lazy.nvim:

{ "dotsilas/darcubox-nvim" }

Using packer.nvim:

use { "dotsilas/darcubox-nvim" }

Usage

Lua

vim.cmd[[colorscheme darcubox]]

Configuration

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]]

Thanks to:

Palette inspiration

Template ideas

Licence

MIT

About

A color scheme for Neovim inspired by Gruvbox and Darcula

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages