{"_id":"@alitajs/plugin-theme","_rev":"5-14600e166af43f1f3f165bfda753b77e","name":"@alitajs/plugin-theme","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@alitajs/plugin-theme","version":"0.0.1","description":"@alitajs/micro","main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/alitajs/plugin-theme.git"},"keywords":["umi","theme","alita"],"authors":["xiaohuoni <448627663@qq.com> (https://github.com/xiaohuoni)"],"license":"MIT","bugs":{"url":"http://github.com/alitajs/plugin-theme/issues"},"homepage":"https://github.com/alitajs/plugin-theme#readme","publishConfig":{"access":"public"},"scripts":{"build":"father-build"},"dependencies":{"umi-theme-webpack-plugin":"^1.1.0"},"devDependencies":{"@umijs/types":"^3.2.25","@umijs/utils":"^3.2.25","father-build":"^1.18.5","umi":"3.2.25"},"_id":"@alitajs/plugin-theme@0.0.1","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-cXwTNIQf6bUIq/FJ5DVvJ3S8nBf71lZl/FbQomDh7bgtaYQcwJCCT3UFRftoj8T2VFGpePE1H2w28//xjLnaxA==","shasum":"b365b1cef4cef632a6207f77772ebea35647a73b","tarball":"https://registry.npmjs.org/@alitajs/plugin-theme/-/plugin-theme-0.0.1.tgz","fileCount":3,"unpackedSize":8378,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgElVqCRA9TVsSAnZWagAAQM0P/2kQmofyPG9FNHP5xD4A\niKgbvhWEXmIiAqFnxskZ3wDX5z9VmJmxCbzTtV6tuDPyFQIpEiwLw6Yv8peQ\naBj1BTe3NJBbpyi6aKN/rvb3Lk88GfyTJ0qguHbRyWFAIb5x4uMKiPhT1a5x\ny+5dP0ostmERy6yIqo578IfqIhD7fJXsD+9aT52Fodn8EQfNDt8btPYCcnfv\ne5fZigUHbhmL0rAeu58eMtMt1YnkeEG+0zk9BgZp2QmvAbGHzHozaxAJv88V\nGfHnva+e5wN69bAxcccsarYuEuZ3XhAqZvl9974DsTZLGBFUpxymlkATtDLD\nZkYjOKdMYJ781i+/pzCIr3kBuYGyUzdt2pA7k6qf4NYkfs2Iy5Sz3xYdNHQP\ncaZ9OJ6WLAhNJc378j8Sza2whR+Bev9dFn5PaSljwbYekOsBw22Xx8ExRtaL\nhLm+g0RgalnIo9bmNnf9wzqmIvVXXD4GfpJnRbSOs5onKXGQiiwWktrUxnId\njgaZDyjMegQfHqWMOsh2oZQKkVgQ10NygYqjpNYb5h+fDL6Sq8KzN7a7kSsL\nvx+thGNz6h0FJKH/DlDLyylAzYlTo4ABQUaLOTbJlV1hX1OltdckdGmoPxB2\njCjauTnyBqJO7W1g86btU5Q7/2vrksl8z5M0yp64kxINr5BN/Qa4Yg6jagQn\nsHSk\r\n=Sgnr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvx6daSVALobn7ij1mMSnmL8RG4Oi94HQ22/BEoXfEAAiAISo8ISQtiqi7ZxToygkDUaMk/8j8Vf6Zmi2f8LNO7MQ=="}]},"_npmUser":{"name":"xiaohuoni","email":"448627663@qq.com"},"directories":{},"maintainers":[{"name":"xiaohuoni","email":"448627663@qq.com"},{"name":"imhele","email":"work@imhele.com"},{"name":"wangxingkang","email":"156148958@qq.com"},{"name":"shawdanon","email":"shawdanon@foxmail.com"},{"name":"cjy0208","email":"fanluan058@gmail.com"},{"name":"sorrycc","email":"sorrycc@gmail.com"},{"name":"hang1017","email":"437132124@qq.com"},{"name":"qclong","email":"1270253618@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-theme_0.0.1_1611814250063_0.5486693966618137"},"_hasShrinkwrap":false},"0.0.2":{"name":"@alitajs/plugin-theme","version":"0.0.2","description":"@alitajs/micro","main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/alitajs/plugin-theme.git"},"keywords":["umi","theme","alita"],"authors":["xiaohuoni <448627663@qq.com> (https://github.com/xiaohuoni)"],"license":"MIT","bugs":{"url":"http://github.com/alitajs/plugin-theme/issues"},"homepage":"https://github.com/alitajs/plugin-theme#readme","publishConfig":{"access":"public"},"scripts":{"build":"father-build"},"dependencies":{"umi-theme-webpack-plugin":"^1.1.0"},"devDependencies":{"@umijs/types":"^3.2.25","@umijs/utils":"^3.2.25","father-build":"^1.18.5","umi":"3.2.25"},"_id":"@alitajs/plugin-theme@0.0.2","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-WyUcupaZB1UbyRGDWQJnH+qf/DN6V07qviIUgmdhtPV5P7beX8gne08sNjZo1VogRjjZYxEsLHLvBF1xa0TQyw==","shasum":"06a68ff680f85738787f79fb319c1b4b2cb957e9","tarball":"https://registry.npmjs.org/@alitajs/plugin-theme/-/plugin-theme-0.0.2.tgz","fileCount":4,"unpackedSize":233675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgElipCRA9TVsSAnZWagAA6akQAKUu9gqgqKqE0Bo9dpZn\nrX7sNrX5y9TdaQgFh20DFGD70sUHIXwDCm/XLwit+QLEsKWuocO2sWk+D6XA\nSiDQAklr2ZA2uscNkAhVgK2TAVsSVXMsCFKoKLIc5ke/jTb5dQ4dtSLFShhd\nXATKbaWSiUSbn7ubkRTLD8DgxCm3YZMUs60fAzNxQnc0DI1RNexyDxTWIvGJ\n2oEQ9QF3RR8RXS8vFnh89QJZMrnEyoH7SSFW8TDugzsFq+oBVYX4Y4eLErqd\nUeT2BsQntawn3o8daJG4sS1WOuvwG4PyaxhZ/RDMMDo6TQad/OyHmTnNN60R\nXr/LQCBCCA7yRx63z42g4x624Y5rrpRs+An8SWcIu5Uavlpv0LBXkAYBDwnw\n8pJ7H6qwWb6vY7sspKIwEP/79DPn9Aeb0Lk9W/mG5stJYCWxoktaZXPIrdF+\nvYXDp+YZRX2hh7TvczyCo/+u50S3jxSeNWzkxaScxbSx+woDJOsFxKpUu0FJ\nJSmd/Y+WJ1BTq1wKNUO+LsdxO+/AHmzKyNrdgS7RNuhpAKWxMLuPoXb7bAxQ\n55tFFDocja1MrAz8Kac23cXP8py72BxxE+3YyXt7XfX6AyN+Qpy+WYSIghL4\nmoD2MffGzZXKBeJnyDbHAIscWhL989h2OuLi7XYsBflth9dJfHl6W9+MgdnJ\nRgT0\r\n=gAPr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzscImtlBVGWOpr/drV79ArixgBdoLTAMPvQamZVlpxQIgf8XG36Fo2th9jAX+T0FXNccVP3Cnojz/v1bVpFPqEGc="}]},"_npmUser":{"name":"xiaohuoni","email":"448627663@qq.com"},"directories":{},"maintainers":[{"name":"xiaohuoni","email":"448627663@qq.com"},{"name":"imhele","email":"work@imhele.com"},{"name":"wangxingkang","email":"156148958@qq.com"},{"name":"shawdanon","email":"shawdanon@foxmail.com"},{"name":"cjy0208","email":"fanluan058@gmail.com"},{"name":"sorrycc","email":"sorrycc@gmail.com"},{"name":"hang1017","email":"437132124@qq.com"},{"name":"qclong","email":"1270253618@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-theme_0.0.2_1611815081140_0.2630901084744677"},"_hasShrinkwrap":false}},"time":{"created":"2021-01-28T06:10:49.886Z","0.0.1":"2021-01-28T06:10:50.192Z","modified":"2022-06-07T09:42:44.551Z","0.0.2":"2021-01-28T06:24:41.295Z"},"maintainers":[{"email":"pt370390794@126.com","name":"pengyh"},{"email":"savebtc11@gmail.com","name":"ashoka_j"},{"email":"13067111941x@gmail.com","name":"diyc"},{"email":"448627663@qq.com","name":"xiaohuoni"},{"email":"work@imhele.com","name":"imhele"},{"email":"156148958@qq.com","name":"wangxingkang"},{"email":"292973338@qq.com","name":"shawdanon"},{"email":"fanluan058@gmail.com","name":"cjy0208"},{"email":"sorrycc@gmail.com","name":"sorrycc"},{"email":"437132124@qq.com","name":"hang1017"},{"email":"1270253618@qq.com","name":"hammersjs"}],"description":"@alitajs/micro","homepage":"https://github.com/alitajs/plugin-theme#readme","keywords":["umi","theme","alita"],"repository":{"type":"git","url":"git+https://github.com/alitajs/plugin-theme.git"},"bugs":{"url":"http://github.com/alitajs/plugin-theme/issues"},"license":"MIT","readme":"# @alitajs/plugin-theme\n\nyou can change Ant Design (or Ant Design Mobile) specific color theme in browser.\n\n## Install\n  - yarn add @alitajs/plugin-theme\n\n`config/config.ts`\n\n```ts\n  plugins:['@alitajs/plugin-theme'],\n  dynamicTheme:{\n    type:'antd-mobile',\n    varFile: path.join(__dirname, '../src/default.less'),\n    themeVariables: ['@brand-primary','@abcd-efg'],\n  }\n```\n\n| Property | Type | Default | Descript |\n| --- | --- | --- | --- |\n| antDir | string | - | This is path to antd directory in your node_modules |\n| varFile | string | - | Path to your theme related variables file |\n| themeVariables | array | ['@primary-color'] | List of variables that you want to dynamically change |\n| generateOnce | boolean | false | Everytime webpack will build new code due to some code changes in development, this plugin will run again unless you specify this flag as `true` which will just compile your styles once |\n| outputFileName | string | color.less | less var file name |\n","readmeFilename":"README.md"}