{"_id":"@0x-jerry/unocss-preset-brand","_rev":"7-eea28ad71132e96cfd4939e0b632abfc","name":"@0x-jerry/unocss-preset-brand","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.0":{"name":"@0x-jerry/unocss-preset-brand","version":"0.1.0","author":{"name":"0x-jerry","email":"x.jerry.wang@gmail.com"},"license":"MIT","_id":"@0x-jerry/unocss-preset-brand@0.1.0","maintainers":[{"name":"cwxyz","email":"x.jerry.wang@gmail.com"}],"dist":{"shasum":"49e2e7b60f06fe7c26ce0167ea39f81d56b36402","tarball":"https://registry.npmjs.org/@0x-jerry/unocss-preset-brand/-/unocss-preset-brand-0.1.0.tgz","fileCount":7,"integrity":"sha512-zcWWz1M48LXhVx4aBc/OfIWODlLskFa/zySJepsvlemuwAri3yDKPk4p58EsFl6CdpOTSeq0Kqs9j2+eZkBf9w==","signatures":[{"sig":"MEQCIDPityLgQG1oK+Ha7pHOXWD8cjcZkj74/1s8xtoEvVUHAiBQfiRk28PhysA3id1XLRdKOh6BG70DFRkjnJ8LV8blfA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7324},"main":"dist/index.js","type":"module","_from":"file:0x-jerry-unocss-preset-brand-0.1.0.tgz","engines":{"node":">= 18"},"exports":{".":{"default":"./dist/index.js"},"./runtime":{"default":"./dist/runtime.js"}},"scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"tsup src/index.ts src/runtime.ts --format esm --dts --clean","release":"x-release","test:watch":"vitest","test:coverage":"vitest run --coverage"},"typings":"dist/index.d.ts","_npmUser":{"name":"cwxyz","email":"x.jerry.wang@gmail.com"},"_resolved":"C:\\Users\\Jerry\\AppData\\Local\\Temp\\0e31927d3a593499f2a699b1a59c58b9\\0x-jerry-unocss-preset-brand-0.1.0.tgz","_integrity":"sha512-zcWWz1M48LXhVx4aBc/OfIWODlLskFa/zySJepsvlemuwAri3yDKPk4p58EsFl6CdpOTSeq0Kqs9j2+eZkBf9w==","_npmVersion":"10.2.3","description":"```sh\r npm i @0x-jerry/unocss-preset-brand -D\r ```","directories":{},"_nodeVersion":"20.10.0","dependencies":{"unocss":"^0.58.8","lodash-es":"^4.17.21","@0x-jerry/utils":"^2.1.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","tsup":"^8.0.2","vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.24","@types/lodash-es":"^4.17.12","@0x-jerry/x-release":"^1.0.0","@vitest/coverage-v8":"^1.3.1"},"_npmOperationalInternal":{"tmp":"tmp/unocss-preset-brand_0.1.0_1711872339132_0.31373562252752674","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@0x-jerry/unocss-preset-brand","version":"0.1.1","author":{"name":"0x-jerry","email":"x.jerry.wang@gmail.com"},"license":"MIT","_id":"@0x-jerry/unocss-preset-brand@0.1.1","maintainers":[{"name":"cwxyz","email":"x.jerry.wang@gmail.com"}],"dist":{"shasum":"fcf80cc06e2f86eda6d32cd92332b24a1a1ef5c4","tarball":"https://registry.npmjs.org/@0x-jerry/unocss-preset-brand/-/unocss-preset-brand-0.1.1.tgz","fileCount":7,"integrity":"sha512-teX1G2STpFVSpigaaSmgTc5kJHQXSlw5nV3HbfRabDu2fPcLMHNF2BRRfG0Cbh6vTRIAQ/aWV7jpSnu9KjuvzQ==","signatures":[{"sig":"MEUCIADyH4top3WxLRIVIsnyTT1Wan3CwyfXMF/2NyucwHJDAiEAxVMHEprkXNDYP3Zl8exSjWdEdIWtC8QTaORD7nbOB+g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7398},"main":"dist/index.js","type":"module","_from":"file:0x-jerry-unocss-preset-brand-0.1.1.tgz","engines":{"node":">= 18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./runtime":{"types":"./dist/runtime.d.ts","default":"./dist/runtime.js"}},"scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"tsup src/index.ts src/runtime.ts --format esm --dts --clean","release":"x-release","test:watch":"vitest","test:coverage":"vitest run --coverage"},"typings":"dist/index.d.ts","_npmUser":{"name":"cwxyz","email":"x.jerry.wang@gmail.com"},"_resolved":"C:\\Users\\Jerry\\AppData\\Local\\Temp\\48fbdfc84bd68a1f6d2b506ab08880bb\\0x-jerry-unocss-preset-brand-0.1.1.tgz","_integrity":"sha512-teX1G2STpFVSpigaaSmgTc5kJHQXSlw5nV3HbfRabDu2fPcLMHNF2BRRfG0Cbh6vTRIAQ/aWV7jpSnu9KjuvzQ==","_npmVersion":"10.2.3","description":"```sh\r npm i @0x-jerry/unocss-preset-brand -D\r ```","directories":{},"_nodeVersion":"20.10.0","dependencies":{"unocss":"^0.58.8","lodash-es":"^4.17.21","@0x-jerry/utils":"^2.1.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","tsup":"^8.0.2","vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.24","@types/lodash-es":"^4.17.12","@0x-jerry/x-release":"^1.0.0","@vitest/coverage-v8":"^1.3.1"},"_npmOperationalInternal":{"tmp":"tmp/unocss-preset-brand_0.1.1_1711970077617_0.5605356082609905","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@0x-jerry/unocss-preset-brand","version":"0.1.2","author":{"name":"0x-jerry","email":"x.jerry.wang@gmail.com"},"license":"MIT","_id":"@0x-jerry/unocss-preset-brand@0.1.2","maintainers":[{"name":"cwxyz","email":"x.jerry.wang@gmail.com"}],"dist":{"shasum":"e7179be1cc41d12c589f8d83db1776908b5fa743","tarball":"https://registry.npmjs.org/@0x-jerry/unocss-preset-brand/-/unocss-preset-brand-0.1.2.tgz","fileCount":7,"integrity":"sha512-0u717B9kLe148fA5DrTwY4LmWklnJkRwYIu+FMVf0gdN6vxgAiNqbDmGplvvXkkdCwM3+4PmT5Bwcvg+ERxHrw==","signatures":[{"sig":"MEYCIQC/9AV25hYmz1qWj0GRe80foFQcaLuL2t/j10FgUzc9IwIhAKeJTFeFJgC3glQuJMPlMMv+Ua80s5EzU25abPGSAXqQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7618},"main":"dist/index.js","type":"module","_from":"file:0x-jerry-unocss-preset-brand-0.1.2.tgz","engines":{"node":">= 18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./runtime":{"types":"./dist/runtime.d.ts","default":"./dist/runtime.js"}},"scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"tsup src/index.ts src/runtime.ts --format esm --dts --clean","release":"x-release","test:watch":"vitest","example:dev":"npm run -C example dev","example:build":"npm run -C example build","test:coverage":"vitest run --coverage"},"typings":"dist/index.d.ts","_npmUser":{"name":"cwxyz","email":"x.jerry.wang@gmail.com"},"_resolved":"/private/var/folders/2s/n4m_9tdn71xc081z5hf7gfc00000gn/T/3381de604904c8d42431dae9c3ceeb99/0x-jerry-unocss-preset-brand-0.1.2.tgz","_integrity":"sha512-0u717B9kLe148fA5DrTwY4LmWklnJkRwYIu+FMVf0gdN6vxgAiNqbDmGplvvXkkdCwM3+4PmT5Bwcvg+ERxHrw==","_npmVersion":"10.2.4","description":"## Install","directories":{},"_nodeVersion":"20.11.0","dependencies":{"unocss":"^0.59.2","lodash-es":"^4.17.21","@0x-jerry/utils":"^2.1.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.2","tsup":"^8.0.2","vitest":"^1.5.0","typescript":"^5.4.5","@types/node":"^20.12.7","@types/lodash-es":"^4.17.12","@0x-jerry/x-release":"^1.0.0","@vitest/coverage-v8":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/unocss-preset-brand_0.1.2_1712977511624_0.5643640303300244","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@0x-jerry/unocss-preset-brand","version":"0.1.3","author":{"name":"0x-jerry","email":"x.jerry.wang@gmail.com"},"license":"MIT","_id":"@0x-jerry/unocss-preset-brand@0.1.3","maintainers":[{"name":"cwxyz","email":"x.jerry.wang@gmail.com"}],"dist":{"shasum":"7257feb87d5a5865426fc592d18316016011fa6c","tarball":"https://registry.npmjs.org/@0x-jerry/unocss-preset-brand/-/unocss-preset-brand-0.1.3.tgz","fileCount":7,"integrity":"sha512-g44XXPlVNuW5dt/EgZpdkCVvSx1G/eFJXx/fQLS3TyBkm9oOqtnVxb/M5/dLoS3RMRqwC1rHVSB5xaRj02PxPw==","signatures":[{"sig":"MEUCICMSVmfbuCWYyyauBZcjPS46C4HKtTK1U6or1NHW+J7fAiEA1Pw6vbu6oLm4IXh/0LrnTBdKrYks7me0/le5UzRgn7E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7542},"main":"dist/index.js","type":"module","_from":"file:0x-jerry-unocss-preset-brand-0.1.3.tgz","engines":{"node":">= 18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./runtime":{"types":"./dist/runtime.d.ts","default":"./dist/runtime.js"}},"scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"tsup src/index.ts src/runtime.ts --format esm --dts --clean","release":"x-release","test:watch":"vitest","example:dev":"npm run -C example dev","example:build":"npm run -C example build","test:coverage":"vitest run --coverage"},"typings":"dist/index.d.ts","_npmUser":{"name":"cwxyz","email":"x.jerry.wang@gmail.com"},"_resolved":"/private/var/folders/2s/n4m_9tdn71xc081z5hf7gfc00000gn/T/a66c14c8a5ddfec34ca9ff5e3977a553/0x-jerry-unocss-preset-brand-0.1.3.tgz","_integrity":"sha512-g44XXPlVNuW5dt/EgZpdkCVvSx1G/eFJXx/fQLS3TyBkm9oOqtnVxb/M5/dLoS3RMRqwC1rHVSB5xaRj02PxPw==","_npmVersion":"10.2.4","description":"## Install","directories":{},"_nodeVersion":"20.11.0","dependencies":{"lodash-es":"^4.17.21","@unocss/core":"^0.59.2","@0x-jerry/utils":"^2.1.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.2","tsup":"^8.0.2","vitest":"^1.5.0","typescript":"^5.4.5","@types/node":"^20.12.7","@types/lodash-es":"^4.17.12","@0x-jerry/x-release":"^1.0.0","@vitest/coverage-v8":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/unocss-preset-brand_0.1.3_1712978787038_0.8119103689753091","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@0x-jerry/unocss-preset-brand","version":"0.1.4","author":{"name":"0x-jerry","email":"x.jerry.wang@gmail.com"},"license":"MIT","_id":"@0x-jerry/unocss-preset-brand@0.1.4","maintainers":[{"name":"cwxyz","email":"x.jerry.wang@gmail.com"}],"dist":{"shasum":"b2158dd672246c3affb4dd22a8f1fe234d57a4ea","tarball":"https://registry.npmjs.org/@0x-jerry/unocss-preset-brand/-/unocss-preset-brand-0.1.4.tgz","fileCount":7,"integrity":"sha512-WE564U59q9vo89L3bOMMptXtyd4I/FbyO9RsvXXm5iZuOO14onLV9HPCIREWFjyG2ctFOFOYvB54Z9vdFxn9oQ==","signatures":[{"sig":"MEUCIEgySqqDe8NQ/4GHnwL0O2KlYUrdf6afI1YuDhaPk8MAAiEAosmlEI8ggxdxHh6rBu6LF78ijzC7iI/kjpmmRDhjf38=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7762},"main":"dist/index.js","tsup":{"dts":true,"clean":true,"entry":["src/index.ts","src/runtime.ts"],"format":["esm"]},"type":"module","engines":{"node":">= 18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./runtime":{"types":"./dist/runtime.d.ts","default":"./dist/runtime.js"}},"gitHead":"17195a2c794c2306c68e9959fcbc0c97a8c93e9e","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","release":"x-release","test:watch":"vitest","example:dev":"npm run -C example dev","example:build":"npm run -C example build","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"typings":"dist/index.d.ts","_npmUser":{"name":"cwxyz","email":"x.jerry.wang@gmail.com"},"_npmVersion":"10.7.0","description":"## Install","directories":{},"_nodeVersion":"20.13.0","dependencies":{"lodash-es":"^4.17.21","@unocss/core":"^0.60.3","@0x-jerry/utils":"^2.2.7"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.11.0","tsup":"^8.0.2","vitest":"^1.6.0","typescript":"^5.4.5","@types/node":"^20.12.12","@types/lodash-es":"^4.17.12","@0x-jerry/x-release":"^2.2.2","@vitest/coverage-v8":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/unocss-preset-brand_0.1.4_1716906421342_0.0025203000491860195","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@0x-jerry/unocss-preset-brand","version":"0.1.5","author":{"name":"0x-jerry","email":"x.jerry.wang@gmail.com"},"license":"MIT","_id":"@0x-jerry/unocss-preset-brand@0.1.5","maintainers":[{"name":"cwxyz","email":"x.jerry.wang@gmail.com"}],"dist":{"shasum":"cf90230f2440cbfe48384d07068b48b39a4d22ce","tarball":"https://registry.npmjs.org/@0x-jerry/unocss-preset-brand/-/unocss-preset-brand-0.1.5.tgz","fileCount":7,"integrity":"sha512-oOuYnTOkiDVcrFnDBIiABz5raSVh+MweEVrVnBVQ2g1NicTmviPYa50yHq4UBe07Z9+gRzgvt21acVFQesCuvg==","signatures":[{"sig":"MEUCIQDMO0865y4XDzYbK4ERh/M9KaDIvdRwUNvEw0rQpF+FagIgc3TL/A+JYrfZnuk6coKebgswGRQiZq/1aVlSZHzf85U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7834},"main":"dist/index.js","tsup":{"dts":true,"clean":true,"entry":["src/index.ts","src/runtime.ts"],"format":["esm"]},"type":"module","engines":{"node":">= 18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./runtime":{"types":"./dist/runtime.d.ts","default":"./dist/runtime.js"}},"gitHead":"5c01abd72b7dba459f3bd20b41a62f7fcffba0b5","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","release":"x-release","test:watch":"vitest","example:dev":"npm run -C example dev","example:build":"npm run -C example build","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"typings":"dist/index.d.ts","_npmUser":{"name":"cwxyz","email":"x.jerry.wang@gmail.com"},"_npmVersion":"11.0.0","description":"```sh\r npm i @0x-jerry/unocss-preset-brand -D\r ```","directories":{},"_nodeVersion":"22.13.0","dependencies":{"lodash-es":"^4.17.21","@unocss/core":"66.1.0-beta.3","@0x-jerry/utils":"^4.2.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","tsup":"^8.4.0","vitest":"^3.0.7","typescript":"^5.8.2","@types/node":"^22.13.8","@types/lodash-es":"^4.17.12","@0x-jerry/x-release":"^2.2.2","@vitest/coverage-v8":"^3.0.7"},"_npmOperationalInternal":{"tmp":"tmp/unocss-preset-brand_0.1.5_1740821144381_0.9021512373743659","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@0x-jerry/unocss-preset-brand","version":"0.1.6","description":"```sh\r npm i @0x-jerry/unocss-preset-brand -D\r ```","type":"module","main":"dist/index.js","typings":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./runtime":{"types":"./dist/runtime.d.ts","default":"./dist/runtime.js"}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"engines":{"node":">= 18"},"scripts":{"dev":"tsup --watch","test":"vitest run","test:watch":"vitest","test:coverage":"vitest run --coverage","build":"tsup","example:dev":"npm run -C example dev","example:build":"npm run -C example build","prepublishOnly":"npm run build","release":"x-release"},"tsup":{"entry":["src/index.ts","src/runtime.ts"],"format":["esm"],"dts":true,"clean":true},"license":"MIT","author":{"name":"0x-jerry","email":"x.jerry.wang@gmail.com"},"devDependencies":{"@0x-jerry/x-release":"^2.2.2","@types/lodash-es":"^4.17.12","@types/node":"^22.13.8","@vitest/coverage-v8":"^3.0.7","tsup":"^8.4.0","tsx":"^4.19.3","typescript":"^5.8.2","vitest":"^3.0.7"},"dependencies":{"@0x-jerry/utils":"^5.0.0","@unocss/core":"^66.0.0","lodash-es":"^4.17.21"},"_id":"@0x-jerry/unocss-preset-brand@0.1.6","gitHead":"786997803b67bb73f587a7d1c0d9d49626142654","_nodeVersion":"22.14.0","_npmVersion":"11.3.0","dist":{"integrity":"sha512-XKwb9o3XeV3UDR6/J9bKLLobmB0U9biQTLlNH3Iuy+wGiIXsihmRFJrgv70qTJorN/tU7QcCydvV/uvYXKxcpQ==","shasum":"4cbe987cc648bebd4a1c9924716fd3abdeb241e0","tarball":"https://registry.npmjs.org/@0x-jerry/unocss-preset-brand/-/unocss-preset-brand-0.1.6.tgz","fileCount":7,"unpackedSize":7828,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDAyJDKSO6ehwfOu5Aib8yhhB6cLlC/o6uNuqaji12ZIwIhAIoqoHpcZxHv/SH4MOwPkpQPIfLXSE//KaPdvXwzrlDf"}]},"_npmUser":{"name":"cwxyz","email":"x.jerry.wang@gmail.com"},"directories":{},"maintainers":[{"name":"cwxyz","email":"x.jerry.wang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/unocss-preset-brand_0.1.6_1745321225974_0.15127785249164294"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-31T08:05:39.037Z","modified":"2025-04-22T11:27:06.399Z","0.1.0":"2024-03-31T08:05:39.349Z","0.1.1":"2024-04-01T11:14:37.799Z","0.1.2":"2024-04-13T03:05:11.796Z","0.1.3":"2024-04-13T03:26:27.212Z","0.1.4":"2024-05-28T14:27:01.505Z","0.1.5":"2025-03-01T09:25:44.550Z","0.1.6":"2025-04-22T11:27:06.201Z"},"author":{"name":"0x-jerry","email":"x.jerry.wang@gmail.com"},"license":"MIT","description":"```sh\r npm i @0x-jerry/unocss-preset-brand -D\r ```","maintainers":[{"name":"cwxyz","email":"x.jerry.wang@gmail.com"}],"readme":"# Uno Preset Brand\r\n\r\n## Install\r\n\r\n```sh\r\nnpm i @0x-jerry/unocss-preset-brand -D\r\n```\r\n\r\n```ts\r\nimport { defineConfig, presetUno } from 'unocss'\r\nimport { presetBrand } from '@0x-jerry/unocss-preset-brand'\r\n\r\nexport default defineConfig({\r\n  presets: [\r\n    presetUno(),\r\n    presetBrand({\r\n      brand: {\r\n        // You can use any color that is defined in other presets, here is `presetUno`,\r\n        // which uses the same colors as `tailwind`, reference: https://tailwindcss.com/docs/customizing-colors\r\n        primary: 'teal',\r\n        gray: 'gray'\r\n      }\r\n    }),\r\n  ],\r\n})\r\n\r\n```\r\n\r\n## Usage \r\n\r\n```html\r\n<div class=\"text-b-primary\">\r\n  Primary Color\r\n</div>\r\n\r\n<div class=\"border-1 border-solid border-b-primary\">\r\n  Use primary color with border\r\n</div>\r\n\r\n<div class=\"text-b-gray\">\r\n  Gray Color\r\n</div>\r\n```\r\n\r\n### Change brand color at runtime\r\n\r\n```ts\r\nimport { changeBrand } from '@0x-jerry/unocss-preset-brand/runtime'\r\n\r\nchangeBrand({\r\n  primary: 'rose',\r\n  gray: 'zinc'\r\n})\r\n```\r\n","readmeFilename":"readme.md"}