这是一个简单的主题管理插件,允许用户在浅色模式、深色模式及自定义主题之间切换,并实时调整主题的 CSS 变量。该插件通过加载 JSON 配置文件来管理不同的主题样式,并提供了便捷的界面让用户动态更改颜色。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
654 B

{
"name": "theme-switcher-manager",
"version": "1.0.1",
"description": "A flexible theme manager",
"main": "dist/themeManager.js",
"types": "dist/themeManager.d.ts",
"scripts": {
"build": "rollup -c --bundleConfigAsCjs",
"dev": "rollup -c -w --bundleConfigAsCjs",
"publish": "npm publish"
},
"keywords": [],
"author": "华宇一城科技有限公司",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"rollup": "^4.34.8",
"rollup-plugin-esbuild": "^6.2.0",
"rollup-plugin-typescript2": "^0.36.0",
"typescript": "^5.7.3"
}
}