Skip to content

A color scheme for Neovim inspired by Gruvbox and Darcula

License

Notifications You must be signed in to change notification settings

Koalhack/darcubox-nvim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

darcubox

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

darcubox

Note: This repository is forked from @dotsilas/darcubox-nvim

Hello, I've taken over the project created by @dotsilas to support its development and add integration to several plugins, themes and tools. I'm working on this project as a solo developer.

If you encounter problems or have ideas, please open an issue. Your input is valuable in improving the project. Thanks for your interest!

Features

Supported Plugins

Extras

Instalation

Using Lazy.nvim:

{
  "Koalhack/darcubox-nvim",
  config = function() vim.cmd("colorscheme darcubox") end
}

Using Packer.nvim:

use {
  "Koalhack/darcubox-nvim",
  config = function() vim.cmd("colorscheme darcubox") end
}

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

Lualine

local status, lualine = pcall(require, "lualine")
if (not status) then return end

lualine.setup {
  options = {
    theme = '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

  • Lua 55.3%
  • PowerShell 42.7%
  • Shell 2.0%