16 lines
362 B
Lua
16 lines
362 B
Lua
local config = require('cosmic.core.user')
|
|
local colors = {}
|
|
local mod = 'cosmic.theme.integrated.'
|
|
local supported_themes = require('cosmic.theme.plugins').supported_themes
|
|
|
|
for _, theme in pairs(supported_themes) do
|
|
if theme == config.theme then
|
|
colors = require(mod .. theme)
|
|
end
|
|
end
|
|
|
|
if vim.tbl_isempty(colors) then
|
|
return false
|
|
end
|
|
|
|
return colors
|