From 9191b4b67499b5759f4da84ca92c9481d35e8278 Mon Sep 17 00:00:00 2001 From: mango <130512302+mang0bang0@users.noreply.github.com> Date: Wed, 5 Jul 2023 05:45:10 -0400 Subject: [PATCH] feat: Added rainbow-delimiter highlight groups (#404) --- extras/lua/tokyonight_day.lua | 21 +++++++++++++++++++++ extras/lua/tokyonight_moon.lua | 21 +++++++++++++++++++++ extras/lua/tokyonight_night.lua | 21 +++++++++++++++++++++ extras/lua/tokyonight_storm.lua | 21 +++++++++++++++++++++ lua/tokyonight/theme.lua | 9 +++++++++ 5 files changed, 93 insertions(+) diff --git a/extras/lua/tokyonight_day.lua b/extras/lua/tokyonight_day.lua index d0089f7..604d192 100644 --- a/extras/lua/tokyonight_day.lua +++ b/extras/lua/tokyonight_day.lua @@ -1583,6 +1583,27 @@ local highlights = { bg = "#b6bfe2", bold = true }, + RainbowDelimiterBlue = { + fg = "#2e7de9" + }, + RainbowDelimiterCyan = { + fg = "#007197" + }, + RainbowDelimiterGreen = { + fg = "#587539" + }, + RainbowDelimiterOrange = { + fg = "#b15c00" + }, + RainbowDelimiterRed = { + fg = "#f52a65" + }, + RainbowDelimiterViolet = { + fg = "#7847bd" + }, + RainbowDelimiterYellow = { + fg = "#8c6c3e" + }, ReferencesCount = { fg = "#7847bd" }, diff --git a/extras/lua/tokyonight_moon.lua b/extras/lua/tokyonight_moon.lua index d78f26b..9e9bce0 100644 --- a/extras/lua/tokyonight_moon.lua +++ b/extras/lua/tokyonight_moon.lua @@ -1583,6 +1583,27 @@ local highlights = { bg = "#2d3f76", bold = true }, + RainbowDelimiterBlue = { + fg = "#82aaff" + }, + RainbowDelimiterCyan = { + fg = "#86e1fc" + }, + RainbowDelimiterGreen = { + fg = "#c3e88d" + }, + RainbowDelimiterOrange = { + fg = "#ff966c" + }, + RainbowDelimiterRed = { + fg = "#ff757f" + }, + RainbowDelimiterViolet = { + fg = "#fca7ea" + }, + RainbowDelimiterYellow = { + fg = "#ffc777" + }, ReferencesCount = { fg = "#fca7ea" }, diff --git a/extras/lua/tokyonight_night.lua b/extras/lua/tokyonight_night.lua index 43fdb3b..7019c85 100644 --- a/extras/lua/tokyonight_night.lua +++ b/extras/lua/tokyonight_night.lua @@ -1583,6 +1583,27 @@ local highlights = { bg = "#283457", bold = true }, + RainbowDelimiterBlue = { + fg = "#7aa2f7" + }, + RainbowDelimiterCyan = { + fg = "#7dcfff" + }, + RainbowDelimiterGreen = { + fg = "#9ece6a" + }, + RainbowDelimiterOrange = { + fg = "#ff9e64" + }, + RainbowDelimiterRed = { + fg = "#f7768e" + }, + RainbowDelimiterViolet = { + fg = "#9d7cd8" + }, + RainbowDelimiterYellow = { + fg = "#e0af68" + }, ReferencesCount = { fg = "#9d7cd8" }, diff --git a/extras/lua/tokyonight_storm.lua b/extras/lua/tokyonight_storm.lua index db325cf..ca952f3 100644 --- a/extras/lua/tokyonight_storm.lua +++ b/extras/lua/tokyonight_storm.lua @@ -1583,6 +1583,27 @@ local highlights = { bg = "#2e3c64", bold = true }, + RainbowDelimiterBlue = { + fg = "#7aa2f7" + }, + RainbowDelimiterCyan = { + fg = "#7dcfff" + }, + RainbowDelimiterGreen = { + fg = "#9ece6a" + }, + RainbowDelimiterOrange = { + fg = "#ff9e64" + }, + RainbowDelimiterRed = { + fg = "#f7768e" + }, + RainbowDelimiterViolet = { + fg = "#9d7cd8" + }, + RainbowDelimiterYellow = { + fg = "#e0af68" + }, ReferencesCount = { fg = "#9d7cd8" }, diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua index 266e21a..a486ef2 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -317,6 +317,15 @@ function M.setup() TSRainbowViolet = { fg = c.purple }, TSRainbowCyan = { fg = c.cyan }, + -- rainbow-delimiters + RainbowDelimiterRed = { fg = c.red }, + RainbowDelimiterOrange = { fg = c.orange }, + RainbowDelimiterYellow = { fg = c.yellow }, + RainbowDelimiterGreen = { fg = c.green }, + RainbowDelimiterBlue = { fg = c.blue }, + RainbowDelimiterViolet = { fg = c.purple }, + RainbowDelimiterCyan = { fg = c.cyan }, + -- LspTrouble TroubleText = { fg = c.fg_dark }, TroubleCount = { fg = c.magenta, bg = c.fg_gutter },