feat: added api

dev-doc
Pocco81 3 years ago
parent 92290bda6d
commit 20a0f1dd15

@ -0,0 +1,7 @@
local M = {}
function M.get_colors(cs)
return require("catppuccino.core.cs").get_color_scheme(cs)
end
return M

@ -223,7 +223,7 @@ function M.apply(cs)
theme.integrations = get_integrations() theme.integrations = get_integrations()
theme.properties = get_properties() theme.properties = get_properties()
-- uninstantiate to avoid poluting global scope and because they are not needed anymore -- uninstantiate to avoid poluting global scope and because it's not needed anymore
_G.cpc = nil _G.cpc = nil
return theme return theme

Loading…
Cancel
Save