Skip to content

Commit 3b807d1

Browse files
committed
chore(ui): make cpt transparent on popups
1 parent 33f4186 commit 3b807d1

2 files changed

Lines changed: 17 additions & 27 deletions

File tree

lazy-lock.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" },
66
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
77
"lazydev.nvim": { "branch": "main", "commit": "5231c62aa83c2f8dc8e7ba957aa77098cda1257d" },
8+
"lspconfig": { "branch": "master", "commit": "44acfe887d4056f704ccc4f17513ed41c9e2b2e6" },
89
"markview.nvim": { "branch": "main", "commit": "9e852c299351fc2110e763edc7fc899358ee112e" },
910
"mini": { "branch": "main", "commit": "dbb073bd2ed4a7bb35daafc7989567f0ff1426ee" },
1011
"snacks": { "branch": "main", "commit": "fe7cfe9800a182274d0f868a74b7263b8c0c020b" },

lua/plugins/cpt.lua

Lines changed: 16 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8,46 +8,35 @@ return {
88
vim.cmd.colorscheme "catppuccin"
99
end,
1010
opts = {
11+
custom_highlights = function(C)
12+
return {
13+
MiniFilesTitle = {
14+
fg = C.base,
15+
bg = C.flamingo,
16+
style = { "bold" }
17+
},
18+
MiniFilesTitleFocused = {
19+
bg = C.Rosewater,
20+
fg = C.base,
21+
style = { "bold", "bold" },
22+
}
23+
}
24+
end,
1125
background = { light = "latte", dark = "mocha" },
1226
float = {
13-
transparent = true, -- Enables transparency for floating windows
14-
solid = true, -- If true, uses a solid background for floats
27+
transparent = true,
28+
solid = true,
1529
},
1630
transparent_background = true,
1731
compile_path = vim.fn.stdpath "cache" .. "/catppuccin",
1832
compile = true,
19-
styles = {
20-
comments = { "italic" },
21-
functions = { "bold" },
22-
keywords = { "italic" },
23-
operators = { "bold" },
24-
conditionals = { "bold" },
25-
loops = { "bold" },
26-
booleans = { "bold", "italic" },
27-
},
2833
integrations = {
2934
snacks = {
3035
enabled = true,
3136
indent_scope_color = "lavender",
3237
},
3338
treesitter = true,
34-
mason = true,
3539
blink_cmp = true,
36-
native_lsp = {
37-
enabled = true,
38-
virtual_text = {
39-
errors = { "italic" },
40-
hints = { "italic" },
41-
warnings = { "italic" },
42-
information = { "italic" },
43-
},
44-
underlines = {
45-
errors = { "undercurl" },
46-
hints = { "undercurl" },
47-
warnings = { "undercurl" },
48-
information = { "undercurl" },
49-
},
50-
},
5140
mini = {
5241
enabled = true,
5342
},

0 commit comments

Comments
 (0)