Skip to content

Latest commit

 

History

History
89 lines (61 loc) · 1.92 KB

README.md

File metadata and controls

89 lines (61 loc) · 1.92 KB

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