summaryrefslogtreecommitdiffstats
path: root/lua/plugins/colorscheme.lua
blob: aaa319c4389e6c3f43b74d5833981e8978052047 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
return {
	{
		'loctvl842/monokai-pro.nvim',
		lazy = false,
		priority = 1000,
		config = function()
			require('monokai-pro').setup({
				transparent_background = true,
				override = function(c)
					return {
						TelescopeSelection = { bg = c.base.dimmed3 },
						TelescopePromptNormal = { bg = c.base.dimmed3, fg = c.base.white },
						TelescopePromptBorder = { bg = c.base.dimmed3, fg = c.base.dimmed3 },
						TelescopeResultsNormal = { bg = c.base.dimmed5, fg = c.base.white },
						TelescopeResultsBorder = { bg = c.base.dimmed5, fg = c.base.dimmed5 },
						TelescopePreviewNormal = { bg = c.base.dimmed5 },
						TelescopePreviewBorder = { bg = c.base.dimmed5, fg = c.base.dimmed5 },

						TelescopePreviewDirectory = {
							bg = c.prompt_bg,
							fg = c.base.white,
						},
						TelescopePreviewDate = {
							bg = c.prompt_bg,
							fg = c.base.red,
						},
						TelescopePreviewHyphen = {
							bg = c.prompt_bg,
							fg = c.base.white,
						},
					}
				end,
				overridePalette = function(filter)
					return {
						accent1 = '#ef476f',
						accent2 = '#ff8b09',
						accent3 = '#ffd20b',
						accent4 = '#06d671',
						accent5 = '#00b4d8',
						accent6 = '#816cf3',
						dimmed3 = '#838383',
						dimmed4 = '#838383',
					}
				end,
			})
			vim.cmd.colorscheme('monokai-pro')
		end,
	},
}