@@ -4,13 +4,15 @@ local M = {}
44
55M .classic = {
66 name = ' monokai' ,
7+ base0 = ' #222426' ,
78 base1 = ' #272a30' ,
89 base2 = ' #26292C' ,
910 base3 = ' #2E323C' ,
1011 base4 = ' #333842' ,
1112 base5 = ' #4d5154' ,
1213 base6 = ' #9ca0a4' ,
1314 base7 = ' #b1b1b1' ,
15+ base8 = ' #e3e3e1' ,
1416 border = ' #a1b5b1' ,
1517 brown = ' #504945' ,
1618 white = ' #f8f8f0' ,
@@ -31,13 +33,15 @@ M.classic = {
3133
3234M .pro = {
3335 name = ' monokai_pro' ,
36+ base0 = ' #222426' ,
3437 base1 = ' #211F22' ,
3538 base2 = ' #26292C' ,
3639 base3 = ' #2E323C' ,
3740 base4 = ' #333842' ,
3841 base5 = ' #4d5154' ,
3942 base6 = ' #72696A' ,
4043 base7 = ' #B1B1B1' ,
44+ base8 = ' #e3e3e1' ,
4145 border = ' #A1B5B1' ,
4246 brown = ' #504945' ,
4347 white = ' #FFF1F3' ,
@@ -58,13 +62,15 @@ M.pro = {
5862
5963M .soda = {
6064 name = ' monokai_soda' ,
65+ base0 = ' #222426' ,
6166 base1 = ' #211F22' ,
6267 base2 = ' #26292C' ,
6368 base3 = ' #2E323C' ,
6469 base4 = ' #333842' ,
6570 base5 = ' #4d5154' ,
6671 base6 = ' #72696A' ,
6772 base7 = ' #B1B1B1' ,
73+ base8 = ' #e3e3e1' ,
6874 border = ' #A1B5B1' ,
6975 brown = ' #504945' ,
7076 white = ' #f6f6ec' ,
@@ -584,11 +590,27 @@ M.load_plugin_syntax = function(palette)
584590 fg = palette .white ,
585591 style = ' NONE' ,
586592 },
593+
594+ -- Telescope
587595 TelescopeBorder = {
588- fg = palette .border ,
596+ fg = palette .base7 ,
597+ },
598+ TelescopeNormal = {
599+ fg = palette .base8 ,
600+ bg = palette .base0 ,
601+ },
602+ TelescopeSelection = {
603+ fg = palette .white ,
604+ style = ' bold' ,
605+ },
606+ TelescopeSelectionCaret = {
607+ fg = palette .green ,
608+ },
609+ TelescopeMultiSelection = {
610+ fg = palette .pink ,
589611 },
590- TelescopePromptBorder = {
591- fg = palette .border ,
612+ TelescopeMatching = {
613+ fg = palette .aqua ,
592614 },
593615
594616 -- hrsh7th/nvim-cmp
@@ -653,20 +675,15 @@ M.setup = function(config)
653675 for group , colors in pairs (syntax ) do
654676 M .highlight (group , colors )
655677 end
656- local async_load_plugin = nil
657- async_load_plugin = vim .loop .new_async (vim .schedule_wrap (function ()
658- local plugin_syntax = M .load_plugin_syntax (used_palette )
659- plugin_syntax = vim .tbl_deep_extend (
660- ' keep' ,
661- config .custom_hlgroups ,
662- plugin_syntax
663- )
664- for group , colors in pairs (plugin_syntax ) do
665- M .highlight (group , colors )
666- end
667- async_load_plugin :close ()
668- end ))
669- async_load_plugin :send ()
678+ local plugin_syntax = M .load_plugin_syntax (used_palette )
679+ plugin_syntax = vim .tbl_deep_extend (
680+ ' keep' ,
681+ config .custom_hlgroups ,
682+ plugin_syntax
683+ )
684+ for group , colors in pairs (plugin_syntax ) do
685+ M .highlight (group , colors )
686+ end
670687end
671688
672689return M
0 commit comments