2021-08-19 03:21:42 +00:00
|
|
|
local chad_theme = require("utils").load_config().ui.theme
|
2021-07-31 15:14:42 +00:00
|
|
|
vim.g.nvchad_theme = chad_theme
|
2021-08-14 19:14:55 +00:00
|
|
|
|
2021-07-30 17:11:56 +00:00
|
|
|
local present, base16 = pcall(require, "base16")
|
2021-07-17 11:14:52 +00:00
|
|
|
|
2021-07-30 17:11:56 +00:00
|
|
|
if present then
|
2021-08-16 07:49:09 +00:00
|
|
|
base16(base16.themes(chad_theme), true)
|
|
|
|
require "highlights"
|
|
|
|
return true
|
2021-07-17 11:14:52 +00:00
|
|
|
else
|
2021-08-16 07:49:09 +00:00
|
|
|
return false
|
2021-07-15 15:47:47 +00:00
|
|
|
end
|