summaryrefslogtreecommitdiff
path: root/.config/nvim/after/plugin/colors.lua
blob: f14e5459803eff9324f48f008f2d982879fe5506 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require('rose-pine').setup({
	disable_background = true
})

function SetTheme(color)
	local hl = vim.api.nvim_set_hl
	vim.cmd.colorscheme(color or 'rose-pine')
	hl(0, 'Normal', vim.g.neovide and {
		fg = '#C5C8C6',
		bg = '#2B303B',
	} or {
		fg = 'none',
		bg = 'none',
	})

	hl(0, 'NormalFloat', { bg = 'none' })
end

SetTheme()