From ad7e8fff8dce637ec2c5aa984553b3d91dc55b37 Mon Sep 17 00:00:00 2001 From: Zeioth Date: Mon, 25 Sep 2023 10:45:28 +0200 Subject: [PATCH] feat(markdown): added different colors for each headline (#423) * feat(markdown) * change: title1 to blue instead of red. Markdown notifications will use the color of title1, so we don't want red. Blue is the one we've been using it, so let's keep it. Also, the title don't deserve so much visual weight, as users will be focusing their attention on the document content instead. --- lua/tokyonight/theme.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua index da23cf1..a93215a 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -308,6 +308,14 @@ function M.setup() -- NOTE: maybe add these with distinct highlights? -- ["@lsp.typemod.variable.globalScope"] (global variables) + -- Markdown + ["@text.title.1.markdown"] = { fg = c.blue, bold = true }, + ["@text.title.2.markdown"] = { fg = c.yellow, bold = true }, + ["@text.title.3.markdown"] = { fg = c.green, bold = true}, + ["@text.title.4.markdown"] = { fg = c.teal, bold = true}, + ["@text.title.5.markdown"] = { fg = c.magenta, bold = true}, + ["@text.title.6.markdown"] = { fg = c.purple, bold = true}, + -- ts-rainbow rainbowcol1 = { fg = c.red }, rainbowcol2 = { fg = c.yellow },