UNPKG
@chenzoho/ldt-vite-plugin
Version:
latest (1.11.3)
1.11.3
ldt-vite-plugin
@chenzoho/ldt-vite-plugin
/
dist
/
theme.d.ts
9 lines
(8 loc)
•
278 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
type
PluginOption
}
from
"vite"
;
/** * 创建Vite插件,用于生成主题css文件 *
@param
colors
- 主题颜色数组 *
@returns
*/
declare
function
createAppThemePlugin
(
colors
?:
Record
<
string
,
string
>
):
Promise
<
PluginOption
>;
export
{ createAppThemePlugin };