summaryrefslogtreecommitdiff
path: root/lua/style.lua
blob: e3a295c3e9347b5504d619a6370311a2cd985c3a (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
local ayu_colors = require('ayu.colors')

ayu_colors.generate() -- Pass `true` to enable mirage

require('ayu').setup({
  overrides = {
	WinSeparator = { fg = ayu_colors.comment, bg = ayu_colors.bg },
	LineNrAbove = { fg = ayu_colors.comment },
	LineNrBelow = { fg = ayu_colors.comment },
	LineNr = { fg = ayu_colors.accent },
	NERDTreeWindow = { fg = ayu_colors.fg, bg = ayu_colors.panel_bg },
	TerminalWindow = { fg = ayu_colors.fg, bg = ayu_colors.panel_bg },
	ColorColumn = { bg = ayu_colors.error },
  }
})

vim.cmd("colorscheme ayu-dark")

local ayu_dark_lualine_theme = require'lualine.themes.ayu_dark'

require('lualine').setup({
	options = {
		theme = ayu_dark_lualine_theme,
		globalstatus = true,
	},
	tabline = {
		lualine_a = { "buffers" }
	}
})