Skip to content

Commit

Permalink
feat: Enhance indent-blankline plugin highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
ful1e5 committed Jul 1, 2023
1 parent 8b363ab commit e28eb57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changes

- Enhance Current Statusline and Popup selection with blue tint
- Enhance [indent-blankline.nvim](https://github.com/lukas-reineke/indent-blankline.nvim) plugin highlights

### Issues Fix

Expand Down
9 changes: 6 additions & 3 deletions lua/github-theme/group/modules/indent_blankline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ local C = require('github-theme.lib.color')
local M = {}

function M.get(spec, config, opts)
local fg = C(spec.bg1):blend(C(spec.fg1), 0.2):to_css()
local blue_fg = C(spec.bg1):blend(C(spec.palette.cyan.bright), 0.4):to_css()
local p = spec.palette

local fg = C(spec.bg1):blend(C(spec.fg1), 0.1):to_css()
local cyan_fg = C(spec.bg1):blend(C(p.cyan.bright), 0.35):to_css()

-- stylua: ignore
return {
IndentBlanklineChar = { fg = fg },
IndentBlanklineContextChar = { fg = blue_fg },
IndentBlanklineContextChar = { fg = cyan_fg },
IndentBlanklineContextStart = { style = 'underline', sp = p.orange },
}
end

Expand Down

0 comments on commit e28eb57

Please sign in to comment.