Skip to content

Commit d96290a

Browse files
committed
feat(extensions): improve bg contrast for markview.nvim headings
1 parent 1b36026 commit d96290a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lua/cyberdream/extensions/markview.lua

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ local util = require("cyberdream.util")
77
function M.get(opts, t)
88
opts = opts or {}
99
local highlights = {
10-
MarkviewCol1 = { fg = t.orange, bg = util.blend(t.bg_solid, t.orange, 0.9), bold = true },
11-
MarkviewCol2 = { fg = t.cyan, bg = util.blend(t.bg_solid, t.cyan, 0.9), bold = true },
12-
MarkviewCol3 = { fg = t.blue, bg = util.blend(t.bg_solid, t.blue, 0.9), bold = true },
13-
MarkviewCol4 = { fg = t.purple, bg = util.blend(t.bg_solid, t.purple, 0.9), bold = true },
14-
MarkviewCol5 = { fg = t.magenta, bg = util.blend(t.bg_solid, t.magenta, 0.9), bold = true },
15-
MarkviewCol6 = { fg = t.green, bg = util.blend(t.bg_solid, t.green, 0.9), bold = true },
10+
MarkviewCol1 = { fg = t.orange, bg = util.blend(t.bg_solid, t.orange, 0.8), bold = true },
11+
MarkviewCol2 = { fg = t.cyan, bg = util.blend(t.bg_solid, t.cyan, 0.8), bold = true },
12+
MarkviewCol3 = { fg = t.blue, bg = util.blend(t.bg_solid, t.blue, 0.8), bold = true },
13+
MarkviewCol4 = { fg = t.purple, bg = util.blend(t.bg_solid, t.purple, 0.8), bold = true },
14+
MarkviewCol5 = { fg = t.magenta, bg = util.blend(t.bg_solid, t.magenta, 0.8), bold = true },
15+
MarkviewCol6 = { fg = t.green, bg = util.blend(t.bg_solid, t.green, 0.8), bold = true },
1616

1717
MarkviewLayer = { bg = util.blend(t.bgAlt, t.bgHighlight, 0.8) },
1818
MarkviewLayer2 = { bg = util.blend(t.bgAlt, t.bgHighlight, 0.8) },

0 commit comments

Comments
 (0)