mirror of https://github.com/sgoudham/nvim.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
261 B
Lua
19 lines
261 B
Lua
2 years ago
|
local M = {}
|
||
|
|
||
|
local ucolors = require("catppuccin.utils.colors")
|
||
|
|
||
|
function M.get()
|
||
|
local props = {
|
||
|
termguicolors = true,
|
||
|
background = "dark",
|
||
|
}
|
||
|
|
||
|
if ucolors.assert_brightness(cp.base) then
|
||
|
props["background"] = "light"
|
||
|
end
|
||
|
|
||
|
return props
|
||
|
end
|
||
|
|
||
|
return M
|