summaryrefslogtreecommitdiff
path: root/config/nvim/colors/default.lua
blob: 44f59dd10f26f5a2cbf250babb42893dd56446ec (plain)
1
2
3
4
5
6
7
8
9
10
11
-- This file should only be used by the theme script with variables injected
-- If variables are not set, use fallback values
---@diagnostic disable-next-line: undefined-global
local mode = theme_mode or "dark"
---@diagnostic disable-next-line: undefined-global
local colors = theme_colors or "ayu"

vim.g.ayucolor = mode
vim.opt.background = mode
vim.cmd("colorscheme " .. colors)