@@ -42,6 +42,14 @@ function M.get()
4242 SnacksDashboardTerminal = { fg = C .error , styles = { " bold" } },
4343 SnacksDashboardTitle = { fg = C .color4 , styles = { " bold" } },
4444
45+ -- Picker
46+ SnacksTitle = { fg = C .color4 },
47+ SnacksPickerInputTitle = { link = " SnacksTitle" },
48+ SnacksPickerTitle = { fg = C .color3 },
49+ SnacksPickerPrompt = { fg = C .color4 , styles = { " bold" } },
50+ SnacksPickerListCursorLine = { bg = U .blend (C .color4 , C .background , 0.2 ), fg = C .color4 },
51+ SnacksPickerPreviewCursorLine = { link = " SnacksPickerListCursorLine" },
52+
4553 -- Notifier.
4654 SnacksNotifierInfo = { fg = C .info },
4755 SnacksNotifierIconInfo = { link = " SnacksNotifierInfo" },
@@ -74,6 +82,22 @@ function M.get()
7482 SnacksNotifierFooterDebug = { link = " DiagnosticUnnecessary" },
7583 }
7684
85+ hl = O .plugins .snacks .style ~= nil
86+ and string.lower (O .plugins .snacks .style ) == " nvchad"
87+ and not O .transparent_background
88+ and vim .tbl_deep_extend (" force" , hl , {
89+ SnacksPickerBorder = {
90+ bg = C .background ,
91+ fg = C .background ,
92+ },
93+ SnacksTitle = { bg = C .color4 , fg = C .background },
94+ SnacksPickerTitle = { bg = C .color3 , fg = C .background },
95+ -- SnacksPickerBox = { bg = C.cursorline },
96+ SnacksPickerInput = { bg = C .cursorline },
97+ SnacksPickerInputBorder = { bg = C .cursorline , fg = C .cursorline },
98+ })
99+ or hl
100+
77101 for i , color in ipairs (require (" neopywal.utils.rainbow" ).get ()) do
78102 hl [" SnacksIndent" .. i ] = { fg = color , styles = { " nocombine" } }
79103 end
0 commit comments