{"_id":"@byzanteam/jet-theme","_rev":"7-9a316af9ac11a6fd737a314cc1ea733d","name":"@byzanteam/jet-theme","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"@byzanteam/jet-theme","version":"0.1.0","author":{"name":"byzanteam"},"license":"ISC","_id":"@byzanteam/jet-theme@0.1.0","maintainers":[{"name":"vanppo","email":"vanppo@hotmail.com"},{"name":"admiral.coco","email":"solar.pom@gmail.com"},{"name":"idcjaja","email":"838927992@qq.com"},{"name":"byzan.dev","email":"dev@byzan.team"}],"dist":{"shasum":"f5cbe29a4ffc09b64a565f48dad4ca9d957135b8","tarball":"https://registry.npmjs.org/@byzanteam/jet-theme/-/jet-theme-0.1.0.tgz","fileCount":9,"integrity":"sha512-aiTyAGO6BOrrQySUJAS+cN6PkMPQ21P5s4P4AYXlOlpGsCrXX8qKRYSuqg6FfjAUAjv87LpzwzklC34jqT/qBg==","signatures":[{"sig":"MEYCIQDpFmnn4jQgoQzCWVPNkHApKWctS9y+bFvZTNX7buRwYQIhAKxtGCMu/kTUk0Lf3xuykaiD54dgsDTlw9Y3c8UaWNlF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37793},"main":"./dist/index.mjs","_from":"file:byzanteam-jet-theme-0.1.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"private":false,"scripts":{"lint":"tsc --noEmit && eslint --ext .js,.ts src","test":"vitest run","build":"vite build","lint:fix":"tsc --noEmit && eslint --ext .js,.ts --fix src","precommit":"lint-staged","commitlint":"commitlint","test:watch":"vitest"},"_npmUser":{"name":"byzan.dev","email":"dev@byzan.team"},"prettier":"@byzanteam/prettier-config","_resolved":"/tmp/97a4bdd69f08cb19db2e87d1e63756ed/byzanteam-jet-theme-0.1.0.tgz","_integrity":"sha512-aiTyAGO6BOrrQySUJAS+cN6PkMPQ21P5s4P4AYXlOlpGsCrXX8qKRYSuqg6FfjAUAjv87LpzwzklC34jqT/qBg==","_npmVersion":"10.2.4","description":"## Install","directories":{},"lint-staged":{"src/**/*.{ts,vue,tsx}":"eslint --fix"},"_nodeVersion":"18.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^4.5.2","husky":"^8.0.3","jsdom":"^22.1.0","eslint":"^8.57.0","terser":"^5.29.1","vitest":"^0.33.0","prettier":"^2.8.8","typescript":"^5.4.2","@types/node":"^18.19.23","lint-staged":"^13.3.0","@changesets/cli":"^2.27.1","@commitlint/cli":"^17.8.1","vite-plugin-dts":"^3.7.3","@byzanteam/tsconfig":"^3.1.0","@rushstack/eslint-patch":"^1.7.2","@byzanteam/prettier-config":"^1.0.1","@byzanteam/eslint-config-ts":"3.0.3","@byzanteam/commitlint-config":"^1.0.4","@changesets/changelog-github":"^0.4.8","eslint-import-resolver-typescript":"^3.6.1"},"_npmOperationalInternal":{"tmp":"tmp/jet-theme_0.1.0_1710483466425_0.7322964208564289","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@byzanteam/jet-theme","version":"0.2.0","author":{"name":"byzanteam"},"license":"ISC","_id":"@byzanteam/jet-theme@0.2.0","maintainers":[{"name":"vanppo","email":"vanppo@hotmail.com"},{"name":"admiral.coco","email":"solar.pom@gmail.com"},{"name":"idcjaja","email":"838927992@qq.com"},{"name":"byzan.dev","email":"dev@byzan.team"}],"dist":{"shasum":"b289f0b5fa923ef2d2d98570fc4d8b17e27fb983","tarball":"https://registry.npmjs.org/@byzanteam/jet-theme/-/jet-theme-0.2.0.tgz","fileCount":10,"integrity":"sha512-d8gv5NsfcpXitNSY4sCcbno9SvAcoEf79Jib67bjPLNaPsQ5CdNfVR39sdORCwZLckQ9UQdHHDqnxaJMlcdT6g==","signatures":[{"sig":"MEUCIAnB3cyyuYxxE0MTrRt9ayIaCzT9S3MmoS+S5fEtefp6AiEAzFBaWJfinto6fPP4ks7TYTLD2Aq5UG7T6rT4T5rb404=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39420},"main":"./dist/index.mjs","_from":"file:byzanteam-jet-theme-0.2.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"private":false,"scripts":{"lint":"tsc --noEmit && eslint --ext .js,.ts src","test":"vitest run","build":"vite build","lint:fix":"tsc --noEmit && eslint --ext .js,.ts --fix src","precommit":"lint-staged","commitlint":"commitlint","test:watch":"vitest"},"_npmUser":{"name":"byzan.dev","email":"dev@byzan.team"},"prettier":"@byzanteam/prettier-config","_resolved":"/tmp/9b5ebb9494378413138223e9d04c74ac/byzanteam-jet-theme-0.2.0.tgz","_integrity":"sha512-d8gv5NsfcpXitNSY4sCcbno9SvAcoEf79Jib67bjPLNaPsQ5CdNfVR39sdORCwZLckQ9UQdHHDqnxaJMlcdT6g==","_npmVersion":"10.2.4","description":"## Install","directories":{},"lint-staged":{"src/**/*.{ts,vue,tsx}":"eslint --fix"},"_nodeVersion":"18.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^4.5.2","husky":"^8.0.3","jsdom":"^22.1.0","eslint":"^8.57.0","terser":"^5.29.1","vitest":"^0.33.0","prettier":"^2.8.8","typescript":"^5.4.2","@types/node":"^18.19.23","lint-staged":"^13.3.0","@changesets/cli":"^2.27.1","@commitlint/cli":"^17.8.1","vite-plugin-dts":"^3.7.3","@byzanteam/tsconfig":"^3.1.0","@rushstack/eslint-patch":"^1.7.2","@byzanteam/prettier-config":"^1.0.1","@byzanteam/eslint-config-ts":"3.0.3","@byzanteam/commitlint-config":"^1.0.4","@changesets/changelog-github":"^0.4.8","eslint-import-resolver-typescript":"^3.6.1"},"_npmOperationalInternal":{"tmp":"tmp/jet-theme_0.2.0_1711520852958_0.11384457764019684","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@byzanteam/jet-theme","version":"0.2.1","author":{"name":"byzanteam"},"license":"ISC","_id":"@byzanteam/jet-theme@0.2.1","maintainers":[{"name":"vanppo","email":"vanppo@hotmail.com"},{"name":"admiral.coco","email":"solar.pom@gmail.com"},{"name":"idcjaja","email":"838927992@qq.com"},{"name":"byzan.dev","email":"dev@byzan.team"}],"dist":{"shasum":"2f0cddfbfce46aff98d868cce6b96abc50b3b261","tarball":"https://registry.npmjs.org/@byzanteam/jet-theme/-/jet-theme-0.2.1.tgz","fileCount":10,"integrity":"sha512-oTQqD4C3WG2LtFHRZZ+C70uvunKfa6DfriN03XEUOyswvycF4PirDv4lo3+h5ntMTK/0I6Pwzi3MrTozS/9ZBw==","signatures":[{"sig":"MEUCIQD4QlNc2Z2dQSStuqOfc8It2A/AAMM+baDoTCvVV9LOrgIga6S5GS00f8Zgu2DJpt0IgTrLVyHNm6AG59bhqkcTqZQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40707},"main":"./dist/index.mjs","_from":"file:byzanteam-jet-theme-0.2.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"private":false,"scripts":{"lint":"tsc --noEmit && eslint --ext .js,.ts src","test":"vitest run","build":"vite build","lint:fix":"tsc --noEmit && eslint --ext .js,.ts --fix src","precommit":"lint-staged","commitlint":"commitlint","test:watch":"vitest"},"_npmUser":{"name":"byzan.dev","email":"dev@byzan.team"},"prettier":"@byzanteam/prettier-config","_resolved":"/tmp/df17b86537faf7f9eac0eaffd15ba533/byzanteam-jet-theme-0.2.1.tgz","_integrity":"sha512-oTQqD4C3WG2LtFHRZZ+C70uvunKfa6DfriN03XEUOyswvycF4PirDv4lo3+h5ntMTK/0I6Pwzi3MrTozS/9ZBw==","_npmVersion":"10.5.0","description":"## Install","directories":{},"lint-staged":{"src/**/*.{ts,vue,tsx}":"eslint --fix"},"_nodeVersion":"18.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^4.5.2","husky":"^8.0.3","jsdom":"^22.1.0","eslint":"^8.57.0","terser":"^5.29.1","vitest":"^0.33.0","prettier":"^2.8.8","typescript":"^5.4.2","@types/node":"^18.19.23","lint-staged":"^13.3.0","@changesets/cli":"^2.27.1","@commitlint/cli":"^17.8.1","vite-plugin-dts":"^3.7.3","@byzanteam/tsconfig":"^3.1.0","@rushstack/eslint-patch":"^1.7.2","@byzanteam/prettier-config":"^1.0.1","@byzanteam/eslint-config-ts":"3.0.3","@byzanteam/commitlint-config":"^1.0.4","@changesets/changelog-github":"^0.4.8","eslint-import-resolver-typescript":"^3.6.1"},"_npmOperationalInternal":{"tmp":"tmp/jet-theme_0.2.1_1713865512092_0.3616349555401417","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@byzanteam/jet-theme","version":"0.3.0","author":{"name":"byzanteam"},"license":"ISC","_id":"@byzanteam/jet-theme@0.3.0","maintainers":[{"name":"vanppo","email":"vanppo@hotmail.com"},{"name":"admiral.coco","email":"solar.pom@gmail.com"},{"name":"idcjaja","email":"838927992@qq.com"},{"name":"byzan.dev","email":"dev@byzan.team"}],"dist":{"shasum":"37bf71ee9aaaa92499ce777d32518b32ed3124cb","tarball":"https://registry.npmjs.org/@byzanteam/jet-theme/-/jet-theme-0.3.0.tgz","fileCount":11,"integrity":"sha512-qNjs6fvnmgxfoLPbWmIoJa+FcdrVmp/FIdtEy1mR3Z3TYfF8IULnkwlKroWyGyV67bWDcpsbefsCRx61P1eO/Q==","signatures":[{"sig":"MEUCICoVt0QzWmdaoieZNoecFRB9mHRLXAu8erY9YAqArbVtAiEAqdTpsiTHELZTW6LiqrnjstBBo3flN7+fvdaO1yJ02is=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":120005},"main":"./dist/index.mjs","_from":"file:byzanteam-jet-theme-0.3.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"private":false,"scripts":{"lint":"tsc --noEmit && eslint --ext .js,.ts src","test":"vitest run","build":"vite build","lint:fix":"tsc --noEmit && eslint --ext .js,.ts --fix src","precommit":"lint-staged","commitlint":"commitlint","test:watch":"vitest"},"_npmUser":{"name":"byzan.dev","email":"dev@byzan.team"},"prettier":"@byzanteam/prettier-config","_resolved":"/tmp/a30f69a4f3a097e9dd7cb565bde4bcbe/byzanteam-jet-theme-0.3.0.tgz","_integrity":"sha512-qNjs6fvnmgxfoLPbWmIoJa+FcdrVmp/FIdtEy1mR3Z3TYfF8IULnkwlKroWyGyV67bWDcpsbefsCRx61P1eO/Q==","_npmVersion":"10.7.0","description":"## Install","directories":{},"lint-staged":{"src/**/*.{ts,vue,tsx}":"eslint --fix"},"_nodeVersion":"18.20.4","dependencies":{"lodash-es":"^4.17.21"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.12.0+sha512.279278f83be782f6faaefbacbccc503301c4ec2cdafd40983e7c26aeeee7c38270f5c8e635b43464691b897abe1675b40c06df6edadde922532b7368aa9a5267","devDependencies":{"vite":"^4.5.2","husky":"^8.0.3","jsdom":"^22.1.0","eslint":"^8.57.0","terser":"^5.29.1","vitest":"^0.33.0","prettier":"^2.8.8","typescript":"^5.4.2","@types/node":"^18.19.23","lint-staged":"^13.3.0","@changesets/cli":"^2.27.1","@commitlint/cli":"^17.8.1","vite-plugin-dts":"^3.7.3","@types/lodash-es":"^4.17.12","@byzanteam/tsconfig":"^3.1.0","@rushstack/eslint-patch":"^1.7.2","@byzanteam/prettier-config":"^1.0.1","@byzanteam/eslint-config-ts":"3.0.3","@byzanteam/commitlint-config":"^1.0.4","@changesets/changelog-github":"^0.4.8","eslint-import-resolver-typescript":"^3.6.1"},"_npmOperationalInternal":{"tmp":"tmp/jet-theme_0.3.0_1723086947010_0.17453589756507792","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-03-15T06:17:46.320Z","modified":"2026-05-24T05:37:11.804Z","0.1.0":"2024-03-15T06:17:46.578Z","0.2.0":"2024-03-27T06:27:33.128Z","0.2.1":"2024-04-23T09:45:12.243Z","0.3.0":"2024-08-08T03:15:47.318Z"},"author":{"name":"byzanteam"},"license":"ISC","description":"## Install","maintainers":[{"email":"solar.pom@gmail.com","name":"admiral.coco"},{"email":"dev@byzan.team","name":"byzan.dev"},{"email":"06fahchen@gmail.com","name":"fahchen"}],"readme":"# jet-theme\n\n## Install\n\n```bash\npnpm add @byzanteam/jet-theme -D\n```\n\n## Usage\n\n### set custom colors\n\n```typescript\n// tailwindcss.config.ts\nimport { colors } from '@byzanteam/jet-theme'\n\nconst config: Config = {\n  theme: {\n    extend: {\n      colors: colors({\n        customColor: '#000',\n        red: {\n          200: '#000', // set custom color cover our base color\n        },\n      }),\n    },\n  },\n}\n```\n\n### custom operation for colors\n\nwe provide a function to set the alias, and you can custom yourself action\n\n```typescript\n// tailwindcss.config.ts\nimport { colors, getAliasTransformer } from '@byzanteam/jet-theme'\n\nconst config: Config = {\n  theme: {\n    extend: {\n      colors: colors(null, [\n        getAliasTransformer({\n          'blue-modern': 'primary',\n          'red-modern': ['error', 'fire'],\n          'yellow-modern': 'warning',\n          orange: {\n            '600': ['warning-600'],\n          },\n        }),\n        setAliasedColors => {\n          // your custom action\n          return setAliasedColors\n        },\n      ]),\n    },\n  },\n}\n```\n","readmeFilename":"README.md"}