Skip to content

Commit 8064465

Browse files
committed
fix: remove manual blend specifications
1 parent ade0b60 commit 8064465

File tree

3 files changed

+1
-16
lines changed

3 files changed

+1
-16
lines changed

lua/astrotheme/groups/base.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ local function callback(opts)
2424
or (opts.float and C.ui.float)
2525
or (opts.transparent and C.none)
2626
or C.ui.base,
27-
blend = vim.o.winblend or 0,
2827
bold = true,
2928
},
3029
FloatBorder = {
@@ -37,7 +36,6 @@ local function callback(opts)
3736
or (opts.float and C.ui.float)
3837
or (opts.transparent and C.none)
3938
or C.ui.base,
40-
blend = vim.o.winblend or 0,
4139
},
4240
NormalFloat = {
4341
fg = C.ui.text,
@@ -46,7 +44,6 @@ local function callback(opts)
4644
or (opts.float and C.ui.float)
4745
or (opts.transparent and C.none)
4846
or C.ui.base,
49-
blend = vim.o.winblend or 0,
5047
},
5148

5249
--------------------
@@ -55,7 +52,6 @@ local function callback(opts)
5552
Title = {
5653
fg = (opts.title_invert and C.ui.tool) or C.ui.title,
5754
bg = (opts.title_invert and C.ui.title) or C.ui.tool,
58-
blend = vim.o.winblend or 0,
5955
bold = true,
6056
},
6157

lua/astrotheme/groups/plugins/spotlight.lua

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,29 @@
11
---@type AstroThemeCallback
22
local function callback(opts)
33
local bg = (opts.float and C.ui.base) or (opts.transparent and C.none) or C.ui.base
4-
local blend = vim.o.winblend or 0
54

65
return {
76
SpotlightTitle = {
87
fg = (opts.title_invert and C.ui.base) or C.ui.title,
98
bg = (opts.title_invert and C.ui.title) or (opts.transparent and C.none) or C.ui.base,
10-
blend = opts.title_invert and 0 or vim.o.winblend or 0,
9+
blend = opts.title_invert and 0 or nil,
1110
bold = true,
1211
},
1312
SpotlightBorder = {
1413
fg = opts.border and C.ui.border or C.ui.base,
1514
bg = bg,
16-
blend = blend,
1715
},
1816
SpotlightNormal = {
1917
fg = C.ui.text,
2018
bg = bg,
21-
blend = blend,
2219
},
2320
SpotlightWinSeparator = {
2421
fg = C.ui.inactive_base,
2522
bg = opts.transparent and C.none or C.ui.inactive_base,
26-
blend = blend,
2723
},
2824
SpotlightNormalNC = {
2925
fg = C.syntax.text,
3026
bg = opts.transparent and C.none or C.ui.inactive_base,
31-
-- blend = blend,
3227
},
3328
}
3429
end

lua/astrotheme/groups/plugins/telescope.lua

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ local function callback(opts)
88
or (opts.float and C.ui.float)
99
or (opts.transparent and C.none)
1010
or C.ui.base,
11-
blend = vim.o.winblend or 0,
1211
bold = true,
1312
}
1413

@@ -19,7 +18,6 @@ local function callback(opts)
1918
or (opts.float and C.ui.float)
2019
or (opts.transparent and C.none)
2120
or C.ui.base,
22-
blend = vim.o.winblend or 0,
2321
}
2422

2523
local border = {
@@ -29,7 +27,6 @@ local function callback(opts)
2927
or (opts.float and C.ui.float)
3028
or (opts.transparent and C.none)
3129
or C.ui.base,
32-
blend = vim.o.winblend or 0,
3330
}
3431

3532
return {
@@ -43,7 +40,6 @@ local function callback(opts)
4340
or (opts.float and C.ui.prompt)
4441
or (opts.transparent and C.none)
4542
or C.ui.base,
46-
blend = vim.o.winblend or 0,
4743
bold = true,
4844
},
4945
TelescopeResultsTitle = title,
@@ -66,7 +62,6 @@ local function callback(opts)
6662
or (opts.float and C.ui.prompt)
6763
or (opts.transparent and C.none)
6864
or C.ui.base,
69-
blend = vim.o.winblend or 0,
7065
},
7166
TelescopeResultsNormal = normal,
7267
TelescopePreviewNormal = normal,
@@ -83,7 +78,6 @@ local function callback(opts)
8378
TelescopePromptBorder = {
8479
fg = (opts.border and C.ui.border) or (opts.inactive and C.ui.base) or (opts.float and C.ui.prompt) or C.ui.base,
8580
bg = (opts.border and opts.inactive and C.ui.base) or (opts.float and C.ui.prompt) or C.ui.prompt,
86-
blend = vim.o.winblend or 0,
8781
},
8882
TelescopeResultsBorder = border,
8983
TelescopePreviewBorder = border,

0 commit comments

Comments
 (0)