From 868c0506bcea01d1c7b4746926dbc7236ad8f347 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Mon, 16 Oct 2023 08:38:47 +0200 Subject: [PATCH] fix(headlines): make headlines a little less pronounced --- lua/tokyonight/theme.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua index e0b3916..0ff9845 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -622,7 +622,6 @@ function M.setup() -- headlines.nvim CodeBlock = { bg = c.bg_dark }, - Headline = { bg = c.bg_dark }, -- navic NavicIconsFile = { fg = c.fg, bg = c.none }, @@ -838,8 +837,9 @@ function M.setup() for i, color in ipairs(markdown_rainbow) do theme.highlights["@text.title." .. i .. ".markdown"] = { fg = color, bold = true } - theme.highlights["Headline" .. i] = { bg = util.darken(color, 0.1) } + theme.highlights["Headline" .. i] = { bg = util.darken(color, 0.05) } end + theme.highlights["Headline"] = { link = "Headline1" } if not vim.diagnostic then local severity_map = {