{"_id":"@andevjs/palette","_rev":"1-9118f51da335967f962bf0d201abdcb6","name":"@andevjs/palette","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@andevjs/palette","version":"0.1.0","description":"Create variant color palettes from a single color and generate code for them.","author":{"name":"André Malveira","email":"andremalveira.dev@gmail.com"},"license":"MIT","private":false,"publishConfig":{"access":"public"},"main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"keywords":["color-palette","create-palette","create-color-palette"],"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"module":"dist/palette.esm.js","size-limit":[{"path":"dist/palette.cjs.production.min.js","limit":"10 KB"},{"path":"dist/palette.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^8.1.0","husky":"^8.0.3","size-limit":"^8.1.0","tsdx":"^0.14.1","tslib":"^2.4.1","typescript":"^4.9.4"},"dependencies":{"polished":"^4.2.2"},"gitHead":"39d0154145d393333310062b8b935b5d2d16ce07","_id":"@andevjs/palette@0.1.0","_nodeVersion":"16.15.1","_npmVersion":"9.1.3","dist":{"integrity":"sha512-mxYsuUhNw5ALI9EFB6lpHwY20tjfYzHUBoO0dyvQXzZI7BozCddKvxrXDCxbhz4MK3rKDFh9RqnoXBROlSGo5w==","shasum":"1cf670bd49084433e69a0f1e01ae545ff20b3bea","tarball":"https://registry.npmjs.org/@andevjs/palette/-/palette-0.1.0.tgz","fileCount":16,"unpackedSize":17924,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDH8dlPXacLuHHIfP+mLPn6o+2KPx9qMMwJeJ3gLNOFiAiEAoQszWC8dADD/lT2dcDsWtaPy7exw+y5RIphUNBXGR2M="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjuvWOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmriJQ//T7fuXCB6kzOEWDutYfLhi8wPpEfByBe6Gs91KKR63HEoWxC4\r\ns5QndSC7x6nKISNsTKN+h6q4dMWzMQbg9ZBWY1nxnPjH9bUF8/NXamp4exWe\r\nZ/ukqcNgZNgtaPIPg3QRsusl1Qi6uaz1bnueyTqdSJC7lMS/9107VxgGYyU5\r\nDBsnpqiO+fRps6H8z30qeEQocfEWYbPHfhKVWCctqn/CetwkXtHmREJRa1zF\r\nHEY1O8bckt3xNlC4k4YLBJht2OfMeWUDLQvZ/59iLTqx0NaUFxMOtUOteaiv\r\nQKGCuDahh4jdnKD5yboJBI4ap7pw05s2PapnY25jjklg5ul8y6WWqMMoKMwK\r\nJ4a33j1d2rkUH+dOiJhoxEGpw4KpxA2LIT9ph5eo7xLBVdouZy8yzSOWnPz2\r\nIxRa2WLMyedLMpx6avREtRskWEhsfncEEzUGpMIpsLaWTjUNrlxlOUwjwtmf\r\nqFnfbXd/ehKSWhQQGbryiXLf+EkxbOAY94ftngDcpzvHnbDuUtM1DMdlySo8\r\ng78qSwgM9FMzURMxU90sBEF0Iqfa7G3onquafByp8Yc/deIKOjvbrg5/BM9y\r\n9+dAv/hPb9TIT/qEcY8mkRkAI/IJhUKwCysb7QtmLs/RahzCWz1RfGq74DGj\r\nKs5RyrZ5+Sk5mQmJuQml7U57gIUoFGLE73Q=\r\n=Y4RY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"andremalveira.dev","email":"andremalveira.dev@gmail.com"},"directories":{},"maintainers":[{"name":"andremalveira.dev","email":"andremalveira.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/palette_0.1.0_1673196942572_0.9025435550970025"},"_hasShrinkwrap":false},"0.1.1":{"name":"@andevjs/palette","version":"0.1.1","description":"Create variant color palettes from a single color and generate code for them.","author":{"name":"André Malveira","email":"andremalveira.dev@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/andremalveira/palette.git"},"license":"MIT","private":false,"publishConfig":{"access":"public"},"main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"keywords":["color-palette","create-palette","create-color-palette"],"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"module":"dist/palette.esm.js","size-limit":[{"path":"dist/palette.cjs.production.min.js","limit":"10 KB"},{"path":"dist/palette.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^8.1.0","husky":"^8.0.3","size-limit":"^8.1.0","tsdx":"^0.14.1","tslib":"^2.4.1","typescript":"^4.9.4"},"dependencies":{"polished":"^4.2.2"},"gitHead":"39d0154145d393333310062b8b935b5d2d16ce07","bugs":{"url":"https://github.com/andremalveira/palette/issues"},"homepage":"https://github.com/andremalveira/palette#readme","_id":"@andevjs/palette@0.1.1","_nodeVersion":"16.15.1","_npmVersion":"9.1.3","dist":{"integrity":"sha512-YrrnmMPHh0CsiRKVaKJw4kDHtf40I2DZ4P+5A61UxsYERjQ0ntdjUCUsBIdBQ+9TWnAbSwOKJNiS5c7xe+1s/Q==","shasum":"17f4f21018001f9c2e9ffd6354f9a0ab370e7660","tarball":"https://registry.npmjs.org/@andevjs/palette/-/palette-0.1.1.tgz","fileCount":16,"unpackedSize":18001,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhsCec7wIhP5ajuUG0T6MAEwAgnggVXhEEzdl0/gQ/HgIgOZT+XEYgUO9oKe4ELSxUiYTf1qHt8xG6ugoRWHDdS/4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjuvlZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnWw//QnPrIlQ53Pdb+y/bVuEnpqeSKJ9B9TFozgh+0hR2SlvK6XrT\r\nH/LTH9oKqmhiK9tV+wrEOVZBM16x3UsLScN0uwc1Ijcf4dVXUVRA9jYMOo6a\r\nX9RFnbTKmRSXRLykbFwNo/GlKMr38AVjTUPlTV287Lw9JZSc5qhqXrESKLmJ\r\nB/kHDVm6JFhb1XtxTjcJSdINyMRKjK78m16mL8JXbFfwCc8XOiX4SliQv47K\r\nobBMtEQrgNpu7evMH/47Iozrgl1ovYWRia64UbaEusZ7P/zDG3HFAX/oZGy3\r\n29lC5P3kqjs2PXWobNfeV2gJSxPseJ+MEtUMkQ//q/ByAmSYJC3I9twSCDeL\r\nG5l2u/XqJiRAxO/St78e5Gw6GO05CxdLiQ+qZZD8cTPpn/NgZnoSjHVTL5Ti\r\nhvBVJtQzGaVbmzfc3HDlZAQjSWTYYz3/GsNmUFuqCcfsjC3VvzUDX2kT82g3\r\neJhp58nW0QDetEFTMbACawXlo5ZMauiuIPktMlXTG1tsH8orfQc0KN4XieoJ\r\nS9Cujwv8emGua8hVkEjR320i1HaNUYPxnIGpR0RJNUenT9GLhEDZoi8ENHPF\r\nDcZd66gEbFqCsMSTyi2Nmod/3Ge7Q7QEjmcwxjL2sFv8vtEAtvuxXic4su2H\r\nt0OHtcwtk7SiC7V4uKQeEqlXZt6ep6KWjuY=\r\n=UKKG\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"andremalveira.dev","email":"andremalveira.dev@gmail.com"},"directories":{},"maintainers":[{"name":"andremalveira.dev","email":"andremalveira.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/palette_0.1.1_1673197913074_0.559444417997583"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-08T16:55:42.493Z","0.1.0":"2023-01-08T16:55:42.749Z","modified":"2023-01-08T17:11:53.348Z","0.1.1":"2023-01-08T17:11:53.241Z"},"maintainers":[{"name":"andremalveira.dev","email":"andremalveira.dev@gmail.com"}],"description":"Create variant color palettes from a single color and generate code for them.","keywords":["color-palette","create-palette","create-color-palette"],"author":{"name":"André Malveira","email":"andremalveira.dev@gmail.com"},"license":"MIT","readme":" <br/>\n <br/>\n\n <p align=\"center\"><img src=\"https://palettes.andev.ml/assets/image/icon/128x128.png\"/></p>\n\n\n# <p align=\"center\">Color Palette</p>\n\n<p align=\"center\"> Create variant color palettes from a single color and generate code for them.\n</p>\n\n<p align=\"center\">\n<a href=\"#details\">\n    <img src=\"https://img.shields.io/badge/License-MIT-319046?\" alt=\"License-MIT\"/>&nbsp;&nbsp;\n    <img src=\"https://img.shields.io/badge/npm-0.1.1-319046?\" alt=\"NPM Version\"/>\n</a>\n</p>\n\n- [Palettes Generator](https://palettes.andev.ml)\n\n<br/>\n\n### Install\n\n```bash\nnpm i @andevjs/palette\n```\n\n### How to use\n```ts\nimport createPalette from \"@andevjs/palette\";\n\nconst primaryColor = createPalette(\"#9e8cfc\");\n```\n\n### Type\n> `types` are also available to import <br/>\n> `import { CreatePalette, Palette } from \"@andevjs/palette\";`\n```ts\ntype CreatePalette = (color: string, altColor?: string) => Palette;\n```\n> `color` - Main Color <br/>\n> `altColor` - Alternative to the main color, for example, if the main color is too light or too dark, alternate a color with a darker tone to the light color, or a lighter tone to the dark color.\n\n### Return\n```ts\ntype Palette = {\n  light: string;\n  main: string;\n  hover: string;\n  alt: string;\n  dark: string;\n  shad: string;\n  over: string;\n};\n```\n\n<br/>\n\n<p align=\"center\">Developed by <a href=\"https://github.com/andremalveira\" target=\"_blank\">@andremalveira</a> &copy; 2022 | License MIT</p>","readmeFilename":"README.md","homepage":"https://github.com/andremalveira/palette#readme","repository":{"type":"git","url":"git+https://github.com/andremalveira/palette.git"},"bugs":{"url":"https://github.com/andremalveira/palette/issues"}}