Skip to content

pixelsandpointers/dentoushoku.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

伝統色.nvim

Four dark, transparency-first colorschemes in one plugin, derived from Overwatch's Shion concept art.

At a glance:

oxblood-chassis
#0e0d11 #e9e4dc #9b2c30 #c9a24b #8fd9d4

tiger-ink
#100f14 #e7e6ea #8a8893 #d9b14a #c45a3d #6fd6e6

tiger-oxblood
#100f14 #e7e6ea #d9b14a #922c33 #d97048 #6fd6e6

enji
#0e0d11 #e9e4dc #9b2c30 #c9a24b #8fd9d4 #7e8aa8


Install

lazy.nvim

{
"pixelsandpointers/dentoushoku.nvim",
  lazy = false,
  priority = 1000,
  config = function()
    require("dentoushoku").setup({ theme = "oxblood-chassis", transparent = true })
    end,
}

Usage

Once installed, pick a theme any of these ways:

-- via setup (also lets you set transparency)
require("dentoushoku").setup({ theme = "tiger-ink", transparent = true })

-- via the unified loader, anytime after setup
require("dentoushoku").load("tiger-oxblood")
require("dentoushoku").load("oxblood-chassis", { transparent = false })
require("dentoushoku").load("enji")

-- or plain Neovim colorscheme commands — these always work too
:colorscheme oxblood-chassis
:colorscheme tiger-ink
:colorscheme tiger-oxblood
:colorscheme enji

A :Dentoushoku command is also registered for quick switching with tab-completion:

:Dentoushoku tiger-ink

(Running :Dentoushoku with no argument defaults to oxblood-chassis.)

Transparency

All four default to a transparent background (Normal highlight has bg = NONE), meant to be paired with a transparent terminal — see the Ghostty configs below. To force an opaque background instead:

require("dentoushoku").setup({ theme = "tiger-ink", transparent = false })

Ghostty configs

Matching Ghostty terminal configs for each theme are in ghostty/. Copy the one you want into ~/.config/ghostty/, then reference it from your main ~/.config/ghostty/config:

config-file = oxblood-chassis.conf

Reload Ghostty (Cmd+Shift+, / Ctrl+Shift+,) to apply. Tune background-opacity and background-blur inside the .conf file to taste.


Palette reference

oxblood-chassis

Swatch Theme role Hex
#0e0d11 Background (transparent) #0e0d11
#e9e4dc Foreground text #e9e4dc
#9b2c30 Primary accent (keywords, errors) #9b2c30
#c9a24b Secondary accent (strings, warnings) #c9a24b
#8fd9d4 Cursor / info / matches #8fd9d4

tiger-ink

Swatch Theme role Hex
#100f14 Background (transparent) #100f14
#e7e6ea Foreground text #e7e6ea
#8a8893 Comments / muted structural text #8a8893
#d9b14a Primary accent (keywords, functions) #d9b14a
#c45a3d Secondary accent (errors, exceptions) #c45a3d
#6fd6e6 Cool accent (info, strings, search) #6fd6e6

tiger-oxblood

Same as tiger-ink, except the core-gem accent is true oxblood instead of burnt red-orange — separating errors from the warm orange pistol-glow accent, which now reads distinctly as its own color.

Swatch Theme role Hex
#100f14 Background (transparent) #100f14
#e7e6ea Foreground text #e7e6ea
#d9b14a Primary accent (keywords, functions) #d9b14a
#922c33 Secondary accent (errors, exceptions) #922c33
#d97048 Warm accent (warnings, diff-delete) #d97048
#6fd6e6 Cool accent (info, strings, search) #6fd6e6

enji (臙脂)

Same underlying palette as oxblood-chassis — this variant renames every field to the traditional Japanese color name its hex value lands closest to. The primary red was the trigger: #9b2c30 sits within a few RGB units of the real 臙脂色 (enji-iro) reference value, a cochineal-red pigment name historically used in lacquerware and dye. The whole theme took its name from that match.

Swatch Lua field Japanese name Meaning Theme role Hex
#0e0d11 bg near-black Background (transparent) #0e0d11
#e9e4dc fg 白練 shironeri unbleached silk Foreground text #e9e4dc
#9b2c30 enji 臙脂 enji-iro cochineal red Primary accent (keywords, errors) #9b2c30
#c9a24b yamabuki 山吹 yamabuki-iro golden yellow (kerria flower) Secondary accent (strings, warnings) #c9a24b
#8fd9d4 mizu mizu water blue Cursor / matched search #8fd9d4
#6fa8a3 asagi 浅葱 asagi-iro light blue Info / function names #6fa8a3
#7e8aa8 fuji fuji-iro wisteria Operators / hints #7e8aa8
#8a6a8f murasaki murasaki purple Constants / numbers #8a6a8f
#7a8a6b yanagi 柳鼠 yanagi-nezumi willow grey Diff-add / success #7a8a6b
#8a8590 fg_muted 利休鼠-adjacent rikyū-nezumi Rikyū grey Comments / muted text #8a8590

About

A couple of colourschemes based on traditional Japanese colours 「日本の伝統色」

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages