Skip to content

jongukc/dalbit.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dalbit.nvim · 달빛

A warm-accent, high-contrast dark colorscheme for Neovim, inspired by gruber-darker.

Screenshot

Variants

:colorscheme description
dalbit original — warm accents on neutral dark
dalbit-mono dark monochrome — grayscale syntax + one warm-red error accent
dalbit-light light — neutral-cool surfaces (no ivory) + darkened warm accents
dalbit-mono-light light monochrome — grayscale syntax on cool light + warm-red errors only

Mono variants collapse all chromatic syntax onto the fg gray ladder; bold and italic do the differentiation. The single warm-red accent is reserved for errors / failing tests / urgent diagnostics. Light variants use a cool-tilted gray (B>R by ~4 units) instead of cream/parchment to avoid the "aged paper" warm cast that fatigues the eye in fluorescent or overcast ambient light.

Requirements

  • Neovim ≥ 0.8 (tree-sitter captures use @capture format)
  • termguicolors (enabled automatically)
  • A true-color terminal. For italics/bold to render, a font that supports them (e.g. JetBrains Mono).

Install

lazy.nvim

{
  "jongukc/dalbit.nvim",
  lazy = false,
  priority = 1000,
  config = function()
    vim.cmd.colorscheme("dalbit")
  end,
}

With options:

{
  "jongukc/dalbit.nvim",
  lazy = false,
  priority = 1000,
  opts = {
    transparent = false,
    styles = {
      comments  = { italic = true },
      keywords  = { bold = true },
      functions = {},
      types     = {},
      variables = {},
    },
  },
  config = function(_, opts)
    require("dalbit").setup(opts)
    vim.cmd.colorscheme("dalbit")
  end,
}

packer.nvim

use({
  "jongukc/dalbit.nvim",
  config = function()
    require("dalbit").setup()
    vim.cmd.colorscheme("dalbit")
  end,
})

Manual

Clone into your runtimepath:

git clone https://github.com/jongukc/dalbit.nvim \
  ~/.local/share/nvim/site/pack/colors/start/dalbit.nvim

Then :colorscheme dalbit.

Configuration

All options with their defaults:

require("dalbit").setup({
  transparent = false,           -- transparent Normal / NormalFloat / SignColumn
  styles = {
    comments  = { italic = true },
    keywords  = { bold = true },
    functions = {},
    types     = {},
    variables = {},
  },
  palette_overrides = {},        -- { green = "#XXXXXX", ... }
  overrides = nil,               -- table or function(c) returning { Group = {...} }
})

Overriding individual palette colors

require("dalbit").setup({
  palette_overrides = {
    green  = "#88e048",   -- brighten the signature green
    orange = "#cc7a48",   -- warmer rust
  },
})

Overriding highlight groups

require("dalbit").setup({
  overrides = function(c)
    return {
      CursorLine = { bg = "#1a1a1a" },
      MyCustomGroup = { fg = c.teal_br, bold = true },
    }
  end,
})

Using the palette in your config

local c = require("dalbit.palette")
vim.api.nvim_set_hl(0, "MyGroup", { fg = c.yellow_br, bg = c.bg_soft })

Palette

Surfaces

role hex
bg0 #151515
bg_soft #1c1c1c
bg1 #222222
bg2 #2c2c2c
bg3 #383838
bg4 #474747

Foregrounds (cool off-white, B > R)

role hex
fg0 #ced0d6
fg1 #b8bac0
fg2 #909298
fg_mute #66686e

Accents

role hex used for
red #e04a2a errors, exceptions
orange #bc6838 keywords, constants (rust)
yellow #d9a82e types
yellow_br #edc14a function names
green #74bc42 signature · strings, ok
teal #4fa8a0 numbers, cyan
blue #7eb0cc fields, paths
rose #d07878 self, macros, special
comment #9e988c comments (warm gray, italic)

Included highlight coverage

  • Classic :h group-name groups
  • Tree-sitter captures (@variable, @function, @keyword, @type, etc.)
  • LSP diagnostics + underline
  • Diff highlight groups
  • Git signs (gitsigns.nvim, vim-signify)
  • Telescope
  • :terminal ANSI 16 colors

License

MIT.

About

Dalbit color theme for Neovim

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages