Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for rainbow delimiters #78

Merged
merged 1 commit into from
Jun 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 32 additions & 11 deletions lua/lush_theme/bluloco.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@ local dark = {
terminalBrightMagenta = hsl("#ff78f8"),
terminalBrightCyan = hsl("#5fb9bc"),
terminalBrightWhite = hsl("#ffffff"),
rainbowRed = hsl("#FF6666"),
rainbowYellow = hsl("#f4ff78"),
rainbowBlue = hsl("#44A5FF"),
rainbowOrange = hsl("#ffa023"),
rainbowGreen = hsl("#92f535"),
rainbowViolet = hsl("#ff78ff"),
rainbowCyan = hsl("#28e4eb"),
}

local light = {
Expand Down Expand Up @@ -159,6 +166,13 @@ local light = {
terminalBrightMagenta = hsl("#ce32c0"),
terminalBrightCyan = hsl("#6d92ba"),
terminalBrightWhite = hsl("#d3d3d3"),
rainbowRed = hsl("#f067f0"),
rainbowYellow = hsl("#B3BA00"),
rainbowBlue = hsl("#0ab6ff"),
rainbowOrange = hsl("#ffa023"),
rainbowGreen = hsl("#1fc255"),
rainbowViolet = hsl("#a557ff"),
rainbowCyan = hsl("#0e91a8"),
}

local t = dark
Expand All @@ -175,8 +189,8 @@ local function shade(color, value)
end
end

t.shade1 = shade(t.bg, 1)
t.shade2 = shade(t.bg, 2)
-- t.shade1 = shade(t.bg, 1)
-- t.shade2 = shade(t.bg, 2)
t.shade3 = shade(t.bg, 3)
t.shade4 = shade(t.bg, 4)
t.shade5 = shade(t.bg, 5)
Expand All @@ -195,7 +209,6 @@ t.shade70 = shade(t.bg, 70)
t.shade80 = shade(t.bg, 80)
t.shade90 = shade(t.bg, 90)

t.grey2 = t.shade2.mix(t.primary, 2)
t.grey3 = t.shade3.mix(t.primary, 3)
t.grey5 = t.shade5.mix(t.primary, 5)
t.grey7 = t.shade7.mix(t.primary, 7)
Expand Down Expand Up @@ -505,7 +518,6 @@ local theme = lush(function(injected_functions)
sym("@lsp.typemod.variable.constant") { sym("@constant") },
sym("@lsp.typemod.function.declaration") { sym("@function") },
sym("@lsp.typemod.function.readonly") { sym("@function") },
sym("LspInlayHint") { bg = t.shade2, fg = t.shade25 },

-- gui vim
-- VimR
Expand Down Expand Up @@ -929,13 +941,22 @@ local theme = lush(function(injected_functions)

-- indent blankline
-- IblScope {},
-- RainbowDelimiterRed {},
-- RainbowDelimiterYellow {},
-- RainbowDelimiterBlue {},
-- RainbowDelimiterOrange {},
-- RainbowDelimiterGreen {},
-- RainbowDelimiterViolet {},
-- RainbowDelimiterCyan {},
RainbowRed { fg = t.rainbowRed },
RainbowYellow { fg = t.rainbowYellow },
RainbowBlue { fg = t.rainbowBlue },
RainbowOrange { fg = t.rainbowOrange },
RainbowGreen { fg = t.rainbowGreen },
RainbowViolet { fg = t.rainbowViolet },
RainbowCyan { fg = t.rainbowCyan },

-- rainbow-delimiter
RainbowDelimiterRed { fg = t.rainbowRed },
RainbowDelimiterYellow { fg = t.rainbowYellow },
RainbowDelimiterBlue { fg = t.rainbowBlue },
RainbowDelimiterOrange { fg = t.rainbowOrange },
RainbowDelimiterGreen { fg = t.rainbowGreen },
RainbowDelimiterViolet { fg = t.rainbowViolet },
RainbowDelimiterCyan { fg = t.rainbowCyan },

-- Neotest
NeotestPassed { fg = t.added },
Expand Down