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.
nvim/lua/catppuccin/groups/properties.lua

19 lines
261 B
Lua

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