{"versions":{"0.8.3":{"name":"@rys-fe/vite-plugin-theme","version":"0.8.3","description":"Vite plugin for dynamically changing the theme color of the interface","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf dist && rimraf es","dev":" tsup src/index.ts --dts --format cjs,esm --watch","dev:client":"tsc -w --p tsconfig.client.json","build":"npm run clean  && tsup src/index.ts --dts --format cjs,esm && tsc -p tsconfig.client.json","log":"conventional-changelog -p angular -i CHANGELOG.md -s","example:dev":"npm -C example run serve","example:build":"npm -C example run build","release:prepare":"shipjs prepare","prepublishOnly":"pinst --disable && npm run build","lint:lint-staged":"lint-staged -c ./.husky/lintstagedrc.js","lint:pretty":"pretty-quick --staged","lint:eslint":"eslint \"src/**/*.{ts,tsx}\" --fix","test":"jest --coverage","test:watch":"jest --watch","install:husky":"is-ci || husky install","_postinstall":"npm run install:husky","postpublish":"pinst --enable"},"keywords":["vite"],"author":{"name":"Vben"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/vbenjs/vite-plugin-theme.git"},"bugs":{"url":"https://github.com/vbenjs/vite-plugin-theme/issues"},"homepage":"https://github.com/vbenjs/vite-plugin-theme/tree/master/#readme","peerDependencies":{"vite":">=2.0.0-beta.49"},"devDependencies":{"@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@types/chalk":"^2.2.0","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.11","@types/jest":"^26.0.23","@types/less":"^3.0.2","@types/node":"^14.17.1","@typescript-eslint/eslint-plugin":"^4.25.0","@typescript-eslint/parser":"^4.25.0","@vue/compiler-sfc":"^3.0.11","commitizen":"^4.2.4","conventional-changelog-cli":"^2.1.1","eslint":"^7.27.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^24.3.6","fs-extra":"^9.1.0","husky":"^5.2.0","jest":"^26.6.3","less":"^4.1.1","lint-staged":"^10.5.4","pinst":"^2.1.6","prettier":"^2.3.0","pretty-quick":"^3.1.0","rimraf":"^3.0.2","shipjs":"^0.23.2","ts-jest":"^26.5.6","tsup":"^4.11.1","typescript":"^4.2.4","vite":"^3.1.0"},"dependencies":{"@types/node":"^14.17.1","@types/tinycolor2":"^1.4.2","chalk":"^4.1.1","clean-css":"^5.1.2","debug":"^4.3.2","esbuild":"^0.11.23","esbuild-plugin-alias":"^0.1.2","tinycolor2":"^1.4.2"},"gitHead":"e991ae6894354d5d8aa48c2020002cf13c869bca","_id":"@rys-fe/vite-plugin-theme@0.8.3","_nodeVersion":"16.14.2","_npmVersion":"8.19.2","dist":{"integrity":"sha512-oqR4InLkbt8DqKykqywEyNqyRfBwC+7B0FekqFto0YyYgLkHQAZfS6p7CsdWss/SCZ3VylXd+F/ZjOHBnect7w==","shasum":"d65dd38abbb8a184e21f473d959854e9f473b784","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@rys-fe/vite-plugin-theme/-/vite-plugin-theme-0.8.3.tgz","fileCount":14,"unpackedSize":2618123,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQCnrdA0/rOcbMFFUuU1qutw9B0qAb1rao5CLQCL7/CDAgIfGW1sTBUVJEHQINJl4GlL/PuK2MSMLhbUN7GMxtdKaA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZNs9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpzEBAAjX2ajznkZtbRB7UnU7J39BjYyh1rLUocVhMWJ/VeQMCWNv41\r\n8rOso9+WPjZdnzfnauBsy/1oK6vLMF91mcqS8v+k7S3quf6qV22QSHX3+h2f\r\ns0WkZjS8rR7bIgRSzgGLEhtjZ6rnK4psG0DXenZYSHNIbl3atiCfGlkNcxhM\r\nUQvGoOoESsO0mElnzlrZ6kkJrnunY8MiQ4tYg9P3G1UGbtSf06IV8gnW4alh\r\nycQYy+PQPz+PByGkH4bdQfr9tcCrJss9fVaSEu2suPUd14+2NgQM39aO/A8h\r\nn5qr010o3dZeHiZVDFZr8SofxIWHrDeReErwlHSbBeKGb+4lgbO6Y/42dtna\r\nsq3TFuKWXrt7I8tr4ajfsGPPZdxRTK91f8CSViqLm3Pgj89XLnKeSfBtZpTP\r\nF2q81mmQ6oGvicqhRZxBFdKmTwSNDyxQZJdnn52A9lBBakHScRILAdbEnj1T\r\nMinhgtp4xOXWvSkdFZaqt9wTLi8W56pMXnKv5BVlg0SAY1H9tHj+UeXjRPMT\r\nkXxnDg7/SrXIvChv16kegoXsEuMOyhSTGgAuH1QmTY5N2cWfduQyKtZ58u6y\r\n/zs0TRunPGlmYpJU0T9v0D/H46EwaPcr5biAqQb5X2+dIGRO+Asl3cUXkE+2\r\nzpvZzf+AAxatEf31WnWCUIevAB7IzAOlJlA=\r\n=Hu/L\r\n-----END PGP SIGNATURE-----\r\n","size":676588},"_npmUser":{"name":"anonymous","email":"445305451@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"445305451@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-plugin-theme_0.8.3_1667554109435_0.6436980441690581"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-04T09:35:13.185Z","contributors":[]},"0.8.4":{"name":"@rys-fe/vite-plugin-theme","version":"0.8.4","description":"Vite plugin for dynamically changing the theme color of the interface","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf dist && rimraf es","dev":" tsup src/index.ts --dts --format cjs,esm --watch","dev:client":"tsc -w --p tsconfig.client.json","build":"npm run clean  && tsup src/index.ts --dts --format cjs,esm && tsc -p tsconfig.client.json","log":"conventional-changelog -p angular -i CHANGELOG.md -s","example:dev":"npm -C example run serve","example:build":"npm -C example run build","release:prepare":"shipjs prepare","prepublishOnly":"pinst --disable && npm run build","lint:lint-staged":"lint-staged -c ./.husky/lintstagedrc.js","lint:pretty":"pretty-quick --staged","lint:eslint":"eslint \"src/**/*.{ts,tsx}\" --fix","test":"jest --coverage","test:watch":"jest --watch","install:husky":"is-ci || husky install","_postinstall":"npm run install:husky","postpublish":"pinst --enable"},"keywords":["vite"],"author":{"name":"Vben"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/vbenjs/vite-plugin-theme.git"},"bugs":{"url":"https://github.com/vbenjs/vite-plugin-theme/issues"},"homepage":"https://github.com/vbenjs/vite-plugin-theme/tree/master/#readme","peerDependencies":{"vite":">=2.0.0-beta.49"},"devDependencies":{"@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@types/chalk":"^2.2.0","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.11","@types/jest":"^26.0.23","@types/less":"^3.0.2","@types/node":"^14.17.1","@typescript-eslint/eslint-plugin":"^4.25.0","@typescript-eslint/parser":"^4.25.0","@vue/compiler-sfc":"^3.0.11","commitizen":"^4.2.4","conventional-changelog-cli":"^2.1.1","eslint":"^7.27.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^24.3.6","fs-extra":"^9.1.0","husky":"^5.2.0","jest":"^26.6.3","less":"^4.1.1","lint-staged":"^10.5.4","pinst":"^2.1.6","prettier":"^2.3.0","pretty-quick":"^3.1.0","rimraf":"^3.0.2","shipjs":"^0.23.2","ts-jest":"^26.5.6","tsup":"^4.11.1","typescript":"^4.2.4","vite":"^3.1.0"},"dependencies":{"@types/node":"^14.17.1","@types/tinycolor2":"^1.4.2","chalk":"^4.1.1","clean-css":"^5.1.2","debug":"^4.3.2","esbuild":"^0.11.23","esbuild-plugin-alias":"^0.1.2","tinycolor2":"^1.4.2"},"gitHead":"e991ae6894354d5d8aa48c2020002cf13c869bca","_id":"@rys-fe/vite-plugin-theme@0.8.4","_nodeVersion":"16.14.2","_npmVersion":"8.19.2","dist":{"integrity":"sha512-NvT48zYwJQ9HMFAF+xA9tRUruLdedVQtodbCTWnifG3LO+HdGV2Q0DUCLO7G9SioyDUSFi9Aw0vo1F3PJx2ngg==","shasum":"11e2e759752116834f5d990878aa575ca5f3814c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@rys-fe/vite-plugin-theme/-/vite-plugin-theme-0.8.4.tgz","fileCount":14,"unpackedSize":2618221,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDK54bcvlHg0cvmf/D3kLy8v/5qdurFMbc8btzlcldvFQIgfOT8Z5rOKG+bNbbOoz9K1J294elqPc0XMlfqNEZ6jXo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZO5qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqv5A/8DqWWfM5EInrEFGNXj8wXL+eOZMvHhksAqT2PmGPLow0OsCF5\r\nfos+xM2SIDlGmafbGyxkfe7PtuPncUL89gJ3h38NKkYLkM3XDwEC2iia27Jk\r\nx42XeJhh7YdsH2lvRyERUsJC8qoKJDO3E2aeWvKzVvGUbAcxk44Cl3QQGHjT\r\nxaXwwPIkQKdB99VUa4oRS5VeGQbaZ5Uy/VxN8oWcu+KAn0f/uueuK5bs6mgH\r\nDzS5TOT+fcN44P/xTO6TUb3ASn1CM4Sup3GOhj958Yby3deMtwfA9JYN9wj1\r\nkgvdEytHHme1ICpI6mISR9LDWXlMzp8BR9X1Uu/3p4lEIP6N3cCa3OFIiv0w\r\nrSdDDpUZglWtzycQEI7M2Ij5eOoAKBXKb9n6jt3ppd8qnauad/j6HAqUtrL5\r\npUivE0MBsJl3TDdGyZw9KY7o+GCzvv/aeBTU/IVvZKcCl0afFkFfhxqipcqV\r\nCA1WvmCuRKcLzsPmBRo7ka1+j+VvME8R1g4tgL8JcsjvB6rgSRBH3O+fw2hu\r\nuUunrH0qVEohUqcOgUKlh5htqs5RIqBtEt7Yw+55C5hqbK1FbUsCWXwIm91C\r\nPyFGtWV1JmxHD108diY99xi1TrSdS6Yr+sMgH+Tu1qHxtOSp0uIgQ7xfgG1b\r\nbO6nHAfDIw60zUKW+S/CsjmPFh55tZDe0c4=\r\n=iaHv\r\n-----END PGP SIGNATURE-----\r\n","size":676611},"_npmUser":{"name":"anonymous","email":"445305451@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"445305451@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-plugin-theme_0.8.4_1667559018435_0.44012226316228586"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-04T11:00:24.937Z","contributors":[]},"0.8.5":{"name":"@rys-fe/vite-plugin-theme","version":"0.8.5","description":"Vite plugin for dynamically changing the theme color of the interface","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf dist && rimraf es","dev":" tsup src/index.ts --dts --format cjs,esm --watch","dev:client":"tsc -w --p tsconfig.client.json","build":"npm run clean  && tsup src/index.ts --dts --format cjs,esm && tsc -p tsconfig.client.json","log":"conventional-changelog -p angular -i CHANGELOG.md -s","example:dev":"npm -C example run serve","example:build":"npm -C example run build","release:prepare":"shipjs prepare","prepublishOnly":"pinst --disable && npm run build","lint:lint-staged":"lint-staged -c ./.husky/lintstagedrc.js","lint:pretty":"pretty-quick --staged","lint:eslint":"eslint \"src/**/*.{ts,tsx}\" --fix","test":"jest --coverage","test:watch":"jest --watch","install:husky":"is-ci || husky install","_postinstall":"npm run install:husky","postpublish":"pinst --enable"},"keywords":["vite"],"author":{"name":"Vben"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/vbenjs/vite-plugin-theme.git"},"bugs":{"url":"https://github.com/vbenjs/vite-plugin-theme/issues"},"homepage":"https://github.com/vbenjs/vite-plugin-theme/tree/master/#readme","peerDependencies":{"vite":">=2.0.0-beta.49"},"devDependencies":{"@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@types/chalk":"^2.2.0","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.11","@types/jest":"^26.0.23","@types/less":"^3.0.2","@types/node":"^14.17.1","@typescript-eslint/eslint-plugin":"^4.25.0","@typescript-eslint/parser":"^4.25.0","@vue/compiler-sfc":"^3.0.11","commitizen":"^4.2.4","conventional-changelog-cli":"^2.1.1","eslint":"^7.27.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^24.3.6","fs-extra":"^9.1.0","husky":"^5.2.0","jest":"^26.6.3","less":"^4.1.1","lint-staged":"^10.5.4","pinst":"^2.1.6","prettier":"^2.3.0","pretty-quick":"^3.1.0","rimraf":"^3.0.2","shipjs":"^0.23.2","ts-jest":"^26.5.6","tsup":"^4.11.1","typescript":"^4.2.4","vite":"^3.1.0"},"dependencies":{"@types/node":"^14.17.1","@types/tinycolor2":"^1.4.2","chalk":"^4.1.1","clean-css":"^5.1.2","debug":"^4.3.2","esbuild":"^0.11.23","esbuild-plugin-alias":"^0.1.2","tinycolor2":"^1.4.2"},"gitHead":"8b8c6a21e3e90f17e81e1934e59fa317505ea2b1","_id":"@rys-fe/vite-plugin-theme@0.8.5","_nodeVersion":"16.14.2","_npmVersion":"8.19.2","dist":{"integrity":"sha512-plJLxyi79BZUXOIMROggk+3M2/Ui5AL+1rfiSmTBKJW4ahuv+C96eIRYhmCUIRDN8V9G8Wuw1sOF9CZfF4YQdQ==","shasum":"d53c3a198dc09ac046f1889b3db986feb6f72f2f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@rys-fe/vite-plugin-theme/-/vite-plugin-theme-0.8.5.tgz","fileCount":14,"unpackedSize":2617445,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCarIGl2HH5oIGgwJKa9nwsMoV+Mcjhn4TBfTpmfP1J/AIgRc8KQrxW1ff3ixnR88iqFay5ADpOvzNUCrjALR3LJQg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbiLVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoD3RAAk4TvGmk5NWVSG2f3ixzVTv/gcW3HmNXwfmfNYfqepGWrCzd1\r\nt+aH2NMJAub1WFLEdrD+Mm/tfjBsS1rN+it1PGlwrv+dWYydDJQwY8bAR/Jf\r\nq97QVGaY9cXLPkK7ku0SE4NalKFKZpOr0ZjcUAIjsIZCfo+KAR4T5ueIzWwn\r\nhQNbZeIkDZGW7CHST6BpNkb0RIUs9znNv3OxMcqjRP1FH7MGPg/h+FyB4lRd\r\nk55ExMxaPPEY/hje/irohIjfHjTcetku+MTlIsYqT/7ezGO9grCuPC2KfCxE\r\nLTf06gpKmTf02kONKJsAMTiGt9HRYtL72QT9QrecHl195X5Ic9AdbLofpDZX\r\nKLunetTq8/+1zAhsAB6whYF+fY300BRgWoo3h74z3ZD8dK2uOCMOVu82iPY3\r\nURNcPCW5VwrcZRrGXkD645jOgKtQSfp7bfGcrDuTLdxgZlA+oV2uCum9u47b\r\nGPAIEcqJ50NpKeJntzfovNTVdErt4/DmzWI7m47LfbyYLnW13XAENwlsIiXo\r\nmNSNOV8AyiB+MyJk6Yo56/pqnNaMZ+ubMCGKIjZHOL5qIdkC0DBzbGoiO3pF\r\ni100tH+lA4gQcB7q1HD9Pc1cHgsb4cxEy9e/Wl0VPuL4VbnTO6/hKFGKQTbQ\r\nAHScclid9WrxL6Z6AfHOW9kp4wRMe9jEHRQ=\r\n=/1i1\r\n-----END PGP SIGNATURE-----\r\n","size":676461},"_npmUser":{"name":"anonymous","email":"445305451@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"445305451@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-plugin-theme_0.8.5_1668162261206_0.5703045913474125"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-11T10:45:19.768Z","contributors":[]},"0.8.6":{"name":"@rys-fe/vite-plugin-theme","version":"0.8.6","description":"Vite plugin for dynamically changing the theme color of the interface","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf dist && rimraf es","dev":" tsup src/index.ts --dts --format cjs,esm --watch","dev:client":"tsc -w --p tsconfig.client.json","build":"npm run clean  && tsup src/index.ts --dts --format cjs,esm && tsc -p tsconfig.client.json","log":"conventional-changelog -p angular -i CHANGELOG.md -s","example:dev":"npm -C example run serve","example:build":"npm -C example run build","release:prepare":"shipjs prepare","prepublishOnly":"pinst --disable && npm run build","lint:lint-staged":"lint-staged -c ./.husky/lintstagedrc.js","lint:pretty":"pretty-quick --staged","lint:eslint":"eslint \"src/**/*.{ts,tsx}\" --fix","test":"jest --coverage","test:watch":"jest --watch","install:husky":"is-ci || husky install","_postinstall":"npm run install:husky","postpublish":"pinst --enable"},"keywords":["vite"],"author":{"name":"Vben"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/vbenjs/vite-plugin-theme.git"},"bugs":{"url":"https://github.com/vbenjs/vite-plugin-theme/issues"},"homepage":"https://github.com/vbenjs/vite-plugin-theme/tree/master/#readme","peerDependencies":{"vite":">=2.0.0-beta.49"},"devDependencies":{"@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@types/chalk":"^2.2.0","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.11","@types/jest":"^26.0.23","@types/less":"^3.0.2","@types/node":"^14.17.1","@typescript-eslint/eslint-plugin":"^4.25.0","@typescript-eslint/parser":"^4.25.0","@vue/compiler-sfc":"^3.0.11","commitizen":"^4.2.4","conventional-changelog-cli":"^2.1.1","eslint":"^7.27.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^24.3.6","fs-extra":"^9.1.0","husky":"^5.2.0","jest":"^26.6.3","less":"^4.1.1","lint-staged":"^10.5.4","pinst":"^2.1.6","prettier":"^2.3.0","pretty-quick":"^3.1.0","rimraf":"^3.0.2","shipjs":"^0.23.2","ts-jest":"^26.5.6","tsup":"^4.11.1","typescript":"^4.2.4","vite":"^3.1.0"},"dependencies":{"@types/node":"^14.17.1","@types/tinycolor2":"^1.4.2","chalk":"^4.1.1","clean-css":"^5.1.2","debug":"^4.3.2","esbuild":"^0.11.23","esbuild-plugin-alias":"^0.1.2","tinycolor2":"^1.4.2"},"gitHead":"8b8c6a21e3e90f17e81e1934e59fa317505ea2b1","_id":"@rys-fe/vite-plugin-theme@0.8.6","_nodeVersion":"16.14.2","_npmVersion":"8.19.2","dist":{"integrity":"sha512-9j6yMhNRCDxv4Wpimo0EDZf/KU5FgJtjMPVYBaFv4SPClLOEx5kkpcRuDrVBaB4IzM1qizRlxUK4jd9Klxyqig==","shasum":"a1863f388ebf0445a845ee0cf946f012c9f79094","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@rys-fe/vite-plugin-theme/-/vite-plugin-theme-0.8.6.tgz","fileCount":14,"unpackedSize":2617445,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFW6FZY3mIZr2TtQccNktQd18tILRl4wLAdn85VsHelpAiBW7Pk9JleYxEGWW9QTbcOwlvQt8P4KDUWZrawECrCijg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbvxzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpG3A/+Pkba9Oy/FK5D8THIlLLi1qw01LUNlqnZYkJnfd5tZQaYmi5W\r\nL2+z6L+z8oRaiHMhSTRliBA3aktHE5EjLSnbpPh5ao8EKlyfn7EpX35on4Q6\r\ns5Ws7ICe0pyT98iF7PtTDMWUPVQS+RgISvwv9SMStvQjEZe3fgGMQN3ZKDjs\r\nkQXZnzQQ2p7fwCN1EKOKzQlY+lRtolczju1ny9a+nyo9TlyA+OlBkkXtOS9p\r\nFuVTW0L9WGmiuA/uj/kpaWmTZr3zBM91F+haSp88tn4DHA0R1Uk9RJxeD8Pj\r\nuXvLG/krSXQ6kgowVzDJdeMFvsIVtX719pC+mjN4fmV6/ZoS9hb3II1DveZr\r\nxNThqoSpaIt0QbMsW58QPPIVte3cximd0g7mWyw3XfvPZK1rS2tFt8sbOOpQ\r\nj8n2LSTNGy81E9deHLIDqRtqu8Usy0PCLUOnjJeaNz4fSub/iCtuoYMb2T5l\r\nsiimKx2IKxcQpH5DNOjJto+CJxYIfh56+r64KVSPqnub5xE4B61hJlKXi8i9\r\nQYUjHy7pbc4nICtx/ydB0AZUaMgoi/G+RgVOpI8HUCAOevS+qtbisctVC13V\r\nYSoismZORyYNObzuZV7kTCcZxd2EurEpPXsHrJ99Mot2Yl7RguQ4vwGcaXjo\r\nW44AAINPd6Jg69Ql8Q92ijzlYE6LQHPhodM=\r\n=rFkO\r\n-----END PGP SIGNATURE-----\r\n","size":676461},"_npmUser":{"name":"anonymous","email":"445305451@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"445305451@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-plugin-theme_0.8.6_1668217970971_0.3291205481569621"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-12T01:53:03.742Z","contributors":[]}},"dist-tags":{"latest":"0.8.6"},"name":"@rys-fe/vite-plugin-theme","time":{"created":"2022-11-04T09:35:15.671Z","modified":"2022-11-12T02:03:09.297Z","0.8.3":"2022-11-04T09:28:29.665Z","0.8.4":"2022-11-04T10:50:18.659Z","0.8.5":"2022-11-11T10:24:21.370Z","0.8.6":"2022-11-12T01:52:51.283Z"},"readme":"# vite-plugin-theme\n\n**English** | [中文](./README.zh_CN.md)\n\n[![npm][npm-img]][npm-url] [![node][node-img]][node-url]\n\nVite plugin for dynamically changing the theme color of the interface\n\nAfter vite processes the css and dynamically analyzes the color value in the css text that matches the plug-in configuration, extract the specified color style code from all output css files. And create a `app-theme-style.css` file containing only color styles, dynamically insert it into the specified position (the bottom of the default body), and then replace the custom style/component library style color used with the new color, In order to achieve the purpose of dynamically changing the theme color of the project\n\n### Install (yarn or npm)\n\n**node version:** >=12.0.0\n\n**vite version:** >=2.0.0\n\n```\nyarn add vite-plugin-theme -D\n```\n\nor\n\n```\nnpm i vite-plugin-theme -D\n```\n\n## Usage\n\n- Config plugin in vite.config.ts. In this way, the required functions can be introduced as needed\n\n```ts\nimport { defineConfig, Plugin } from 'vite';\nimport vue from '@vitejs/plugin-vue';\n\nimport { viteThemePlugin, mixLighten, mixDarken, tinycolor } from 'vite-plugin-theme';\n\nexport default defineConfig({\n  plugins: [\n    vue(),\n    viteThemePlugin({\n      // Match the color to be modified\n       colorVariables: [],\n    });\n  ],\n});\n```\n\n## Options\n\n`viteThemePlugin(Options)`\n\n**Options**\n\n| param | type | default | desc |\n| --- | --- | --- | --- |\n| colorVariables | `string[]` | - | If css contains the color value in the array, css will be extracted |\n| wrapperCssSelector | `string` | - | Universal outer selector. You can pass in'body' and other selectors to increase the level |\n| resolveSelector | `(selector:string)=>string` | - | Custom selector conversion |\n| customerExtractVariable | `(css:string)=>string` | - | Custom css matching color extraction logic |\n| fileName | `string` | `app-theme-style.hash.css` | File name output after packaging |\n| injectTo | `body` or `head` or `body-prepend` | `body` | The css loaded in the production environment is injected into the label body |\n\n## Sample project\n\n[Vben Admin](https://github.com/vbenjs/vue-vben-admin)\n\n## Reference project\n\n- [webpack-theme-color-replacer](https://github.com/hzsrc/webpack-theme-color-replacer)\n- [webpack-stylesheet-variable-replacer-plugin](https://github.com/eaTong/webpack-stylesheet-variable-replacer-plugin)\n\n## License\n\nMIT\n\n[npm-img]: https://img.shields.io/npm/v/vite-plugin-html.svg\n[npm-url]: https://npmjs.com/package/vite-plugin-html\n[node-img]: https://img.shields.io/node/v/vite-plugin-html.svg\n[node-url]: https://nodejs.org/en/about/releases/","users":{}}