{"_id":"@elemental-design/material-color-utilities","_rev":"5-7d0760632465f5441386dfcb4f8ed884","name":"@elemental-design/material-color-utilities","dist-tags":{"latest":"0.0.4","beta":"0.2.0-beta.0"},"versions":{"0.0.1":{"name":"@elemental-design/material-color-utilities","version":"0.0.1","description":"```typescript import { CorePallete } from 'material-color-utilities/lib/palettes/core_palette' ```","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","clean":"rm -rf lib/","build:js":"tsc -p tsconfig.json","build:types":"tsc -d true --emitDeclarationOnly --declarationDir lib","build":"npm run clean && npm run build:js && npm run build:types"},"keywords":[],"author":"","license":"ISC","devDependencies":{"@types/jasmine":"^3.10.2","jasmine":"^3.10.0","typescript":"^4.5.2"},"_id":"@elemental-design/material-color-utilities@0.0.1","_nodeVersion":"12.22.4","_npmVersion":"6.14.14","dist":{"integrity":"sha512-djZOthiIsnBgDysl4BsGie7f8kiXJGXrhYQ0lozpDmFaqzYHCyMAnVhUrWo41r+RnIUvpJM6PiD8V2qpu6/NZg==","shasum":"2359ca4505d2f7d8bf81cbe585afac9a26b712a4","tarball":"https://registry.npmjs.org/@elemental-design/material-color-utilities/-/material-color-utilities-0.0.1.tgz","fileCount":76,"unpackedSize":263343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmBKACRA9TVsSAnZWagAA7MYP/3ERW9UazgKAcGomBCJq\nkTRthRABgFsPdaMQdblT53YZtXh3KGin6UHnsxzm4a8ctSUrs92xmjBZPoEg\neXfdNtZH+6KDrl0YTAy/p9kEOkIikNVTkk3Zac4ftGf5GzO/7mMD1n8XiNxR\nTnuhJv+yo/CM6wPxBlbe0IIN9wo/dqc6FjIr39Pq4DiFhZadJ5nhoqZeQTLY\nqjUtrjg5OEibaPYn3i25ai2qWiNYWDLMH260hlrsVzgsNkLw6j8rR1mrtTI+\nwF2twSXkzDh4p6Y7WABxQGrfHpA48s05LsZjLx3+L0py5835WsqegRIGM86e\nuT+K6e9RzjQgsJ6NVDQlfhoqjr87a9lBLuwkJ2pe+JdQQR2O2gew2TlNqJBk\nUm4Zx2vH+eIrm7qVlHHBpv8gfSJyl9ZXM3LHREtF6wB1J4uv5vltJXTTrzKy\nUXLlEwXG/xqyi5gbiTTMiGQUtSPVmjgmPsnmziDxHWASpB5f+JylHHxhn8YV\nzmBLZ1jaNscbGwANX5qZud13a/CWl3YR9ByKhSfYf9RC0I2YoJAc+8NN8a/x\nEynoZbILsL6OEElAUNdJjkxDGOh2d6J7kharN02YaNnUVkhot1N6YUADAv+P\no+mombSHh7QiX2+UaFOwQVLCTeQMC6aySa84lHQhihLaGw3hOladoHWD/6l/\ni4py\r\n=1Ztd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYGUJTWL2XbrsmGqvwZoYFeWoKZrscUKqzJVveSiSUfQIgFoRoM1U3kFlvjHotClWLp5MHCboP+4cTx/WEe+nBy2A="}]},"_npmUser":{"name":"macintoshhelper","email":"contact+npm@macintoshhelper.com"},"directories":{},"maintainers":[{"name":"macintoshhelper","email":"contact+npm@macintoshhelper.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/material-color-utilities_0.0.1_1637356160296_0.7347261939492433"},"_hasShrinkwrap":false},"0.0.2":{"name":"@elemental-design/material-color-utilities","version":"0.0.2","description":"```typescript import { CorePallete } from 'material-color-utilities/lib/palettes/core_palette' ```","main":"lib/index.js","module":"lib/module/index.js","types":"lib/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","clean":"rm -rf lib/","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","build:types":"tsc -d true --emitDeclarationOnly --declarationDir lib","build":"npm run clean && npm run build:main && npm run build:module && npm run build:types"},"keywords":[],"author":"","license":"ISC","devDependencies":{"@types/jasmine":"^3.10.2","jasmine":"^3.10.0","typescript":"^4.5.2"},"_id":"@elemental-design/material-color-utilities@0.0.2","_nodeVersion":"12.22.4","_npmVersion":"6.14.14","dist":{"integrity":"sha512-61YUfPBdffmkdp4GFCjC1EP2BkVhcT9xuI7hTpGKD1PR9R45V87zHw4jVq6RyRPAhICtfv89U+fWcAs3GZ1Afg==","shasum":"b0842abafd747738726aff3e988ef73c870b8778","tarball":"https://registry.npmjs.org/@elemental-design/material-color-utilities/-/material-color-utilities-0.0.2.tgz","fileCount":98,"unpackedSize":278876,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhm9FuCRA9TVsSAnZWagAABnAP/iLenNHK43zvTtDjG1wc\n+9p9GrlP9Fwx3J2dzVxHBwrVkIZnfV0QihrnjppxNeHnsAnwzxVcySoBbLcv\nS6hqAlWVEvW1Y3bTPbhep/F8OHI09CyXLzbase0gGD0JTUQ4+c/4x3Zwhv0K\n6nbXQN65CEUbHZnLzVtjkA4lyX0SJ/iO17bB3kW3dxv/jaA9jq/Iwnl5RhbD\n1IFiO44btpsOJloohPNlwLQG96uFpnf90046WHsHYgzPRRHtzzAm6o5XlFw/\nju3rwpfzcmKaXHwR/J2FcR1Wr9cC8h5lwUrQgztIDBn6oVNxJ1UuvH0OaVu/\nTNl/g3YlQI9a1h7EUEJLPSK74fHJUKvZCpvlkJzbogySCVgHm1nfSqGbYtLD\ndOK2WlERQ9rWiIGQOKO74vnPJwNJMLmaqCjPxjNrABpRL2vxmbqVx/klarf0\nxsPXY406A6/WqDwVbSU+BbQdZ+PGXVw4r1hjItBEpfMTRM7ND6ySc+VAwI+K\nMJG8RzPnIYpRm+99tnm8wQF03mqYRJSdH08cU9wmQ07bREX61vWoWFFC/NVO\nxBIKyYgR8I4HVhmekf2n1OsbtcUhv4A7ztJan8fTOk/nOivRkrg79akWj59U\n0OOICFmlUSrAcP6f8dcbUZd/G405nk02t0XMuWzuBos8Vfu5zvpbxN8tpVLQ\n3bo+\r\n=x4tA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBk7MjKaMJFbt9HhhYLZ1qIGJtbd7ygNlBe+XO7YCjswAiAnezojkPNUkDdFz2gX+BOINt8cxYNtMmuxXnmTuK+y5A=="}]},"_npmUser":{"name":"macintoshhelper","email":"contact+npm@macintoshhelper.com"},"directories":{},"maintainers":[{"name":"macintoshhelper","email":"contact+npm@macintoshhelper.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/material-color-utilities_0.0.2_1637601646344_0.08873405329365092"},"_hasShrinkwrap":false},"0.0.3":{"name":"@elemental-design/material-color-utilities","version":"0.0.3","description":"```typescript import { CorePallete } from 'material-color-utilities/lib/palettes/core_palette' ```","main":"lib/index.js","module":"lib/module/index.js","types":"lib/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","clean":"rm -rf lib/","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","build:types":"tsc -d true --emitDeclarationOnly --declarationDir lib","build":"npm run clean && npm run build:main && npm run build:module && npm run build:types"},"keywords":[],"author":"","license":"ISC","devDependencies":{"@types/jasmine":"^3.10.2","jasmine":"^3.10.0","typescript":"^4.5.2"},"_id":"@elemental-design/material-color-utilities@0.0.3","_nodeVersion":"12.22.4","_npmVersion":"6.14.14","dist":{"integrity":"sha512-sALdVpgd5HQ0IjONC4st2bBHK2TxOGslPuEzi1av3dZxMKYSMEzuGaHTg/GIke9wJAM/JL8sZRNQJSW3UmipgQ==","shasum":"312112ce4418a9da67de9b850bf1474657fa5561","tarball":"https://registry.npmjs.org/@elemental-design/material-color-utilities/-/material-color-utilities-0.0.3.tgz","fileCount":98,"unpackedSize":278980,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpAOYCRA9TVsSAnZWagAA6YIP/2wc2lMCfuSp1C+Zhua7\n8BrZ8+fytPEPEsihf6RBDnT1rbB/aKH8sCfn8w8dpK/cIenZVH97hFNufK+O\nJXpDExOuUnwQl1Q20ws6ZV+vi21xiA9EtcRQZPWDWAMqqn8iikl0QDg1v+pR\nEoOUKGcuPcARPPXghigpARPnuuUL5Pm0tpsSJaAg1JzVHaTjIr83sI8mU2OP\n5QzM1uS+s7BvY1VPW1/rSLbiDlRgbcglAlNX0vW3XgIeHAT9qI6tgfNZHtyP\nUi8gs8bX3A7diq0tmv6vpYAjBRHWf+0rYt1AnKm1RjdeVp3SUs13wSCCGxWd\nilUze2Opzqt1EPxo6RIyWMjXv5NuV/WQvpdFIW4F2EmfP5HaoaDHTMLiyns4\np5ErMIcvqLTZNJRuploZG75JW/6KoF6rZ5ZqLD86OGr/KNZpYbXIao4D1vkN\ni+VWq3XXjGEhghsPGJHFqaB4wv4weXNoTbfAdsB33vlDbbBm2JBJ0w6yKVzC\nrBIPwENMOaZ5RcBe+uqygWnrtfcGkbxui8GgCAl/rAfk2mdJHpa/tZI/1L71\nSMkQKhLgpkM3IjKwk65SBy7/n4LM/y4BBhS7IpEBjjKyRYHK8RQKYOIVH7YO\nJ0DrfCBxeHndI95RId8mXlbO4E5xDNKZ/lKJjB3Bc2BfvkGFahxBPXyYDVt9\nIQ54\r\n=q1HG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC67FbnI9r/SL8VQg3Xx7yn2+mkI6HW4GNHTbAu+avZRgIgfxrx5WlXbD+9/Q/tcgv+dFVIRTKiMlwA+SF6kvfJQnI="}]},"_npmUser":{"name":"macintoshhelper","email":"contact+npm@macintoshhelper.com"},"directories":{},"maintainers":[{"name":"macintoshhelper","email":"contact+npm@macintoshhelper.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/material-color-utilities_0.0.3_1638138776416_0.27761295395750607"},"_hasShrinkwrap":false},"0.0.4":{"name":"@elemental-design/material-color-utilities","version":"0.0.4","description":"```typescript import { CorePallete } from 'material-color-utilities/lib/palettes/core_palette' ```","main":"lib/index.js","module":"lib/module/index.js","types":"lib/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","clean":"rm -rf lib/","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","build:types":"tsc -d true --emitDeclarationOnly --declarationDir lib","build":"npm run clean && npm run build:main && npm run build:module && npm run build:types"},"keywords":[],"author":"","license":"ISC","devDependencies":{"@types/jasmine":"^3.10.2","jasmine":"^3.10.0","typescript":"^4.5.2"},"_id":"@elemental-design/material-color-utilities@0.0.4","_nodeVersion":"12.22.4","_npmVersion":"6.14.14","dist":{"integrity":"sha512-VjLVdTVshDyZTDwL71e1DSSLiCDxM7fqdYmfGRVGOC28Bd/ikHrFemoKuluNJE6hioXzhlGYDDkpo+8LQ4HmLg==","shasum":"f819bc4580badc02174a69deeb31456961d3bc30","tarball":"https://registry.npmjs.org/@elemental-design/material-color-utilities/-/material-color-utilities-0.0.4.tgz","fileCount":98,"unpackedSize":278992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhrXr6CRA9TVsSAnZWagAA9uYP/iS9uA7DvjPEqv4ZbWpq\nhgKr+Fz8tqn4CQyleRIJwTcrFRARplrbquy3C7bbzhD4qYoRfkvHP47wfwMv\nfP+EftKCJc4G+rmtk1fG29b4ox25eZljKu7sNOFIH31cmT5w2DoWcNz6/dLZ\n6BGYDOrQmpg+K8Jd8vvrohVN82kYxo+izrAYT3HCld2MMNnwTDxErbIGamgy\nM2R37tpIXC/j40vXLaElE7JHdq0PZwrN/ODDDzRUUarozn246BsrlBVRecFN\nVWB9I3MdahmS2kbhjQdEMysTAeyNVTabpz8bt9OArrL7wTHTL39zpdxWdl5l\nZdoLYlDUyK644Vg/vbjDq27kndCm6AbY63xbt58ITyYx0hZhOQAgJx/ChIQL\no6hEgpCU2crE+8p3AlP9VOqCNt5EXTdoGfoEGZrryyzC1frVNI8GIHblj0Qg\nsbGRtqREIgeetM+Wpmpd+OjV/N0HLznHV2d2bYvylNJ9IWMDAVpAM3AIrKz9\nwt7dwywVWpTq5s+uVUjfPgb3pVfoeu/Bsg5cJw7Upp1G0Sz0fgISG19FP4kZ\n2fBcjydCboldssWgdJBvZtoV9QVpOejOtx0EMi6/nOdoGc8lhmSyD/vajym5\nMGLtbc4zWpmHKqNJROG9Q5d2AGV+aUYHWzT/jPkY8z3lnW41mzCnoa0O3/Cm\nlYXM\r\n=aSui\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZDhJfz7pnsj4Y1YNNEqrmmBubrMQzOb0bDzdCZsrehAiEAizJzIxWVQLOyS9L71LJpuAQK57UplwHTz4yInAueqjo="}]},"_npmUser":{"name":"macintoshhelper","email":"contact+npm@macintoshhelper.com"},"directories":{},"maintainers":[{"name":"macintoshhelper","email":"contact+npm@macintoshhelper.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/material-color-utilities_0.0.4_1638759162354_0.8513092711326207"},"_hasShrinkwrap":false},"0.2.0-beta.0":{"name":"@elemental-design/material-color-utilities","version":"0.2.0-beta.0","description":"Algorithms and utilities that power the Material Design 3 (M3) color system, including choosing theme colors from images and creating tones of colors; all in a new color space.","keywords":["material","material design","material3","material you","color extraction","theming"],"repository":{"type":"git","url":"git+https://github.com/material-foundation/material-color-utilities.git","directory":"typescript"},"author":{"name":"Material Eng"},"license":"Apache-2.0","bugs":{"url":"https://github.com/material-foundation/material-color-utilities/issues"},"homepage":"https://github.com/material-foundation/material-color-utilities/tree/main/typescript","main":"./dist/index.js","module":"./dist/module/index.js","types":"dist/index.d.ts","scripts":{"clean":"rm -rf dist/","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","build:types":"tsc -d true --emitDeclarationOnly --declarationDir dist","build":"npm run clean && npm run build:main && npm run build:module && npm run build:types","watch":"tsc -w","prepublishOnly":"npm run build"},"devDependencies":{"@types/jasmine":"^3.10.3","jasmine":"^4.0.2","tslib":"^2.4.0","typescript":"^4.5.5"},"dependencies":{},"readme":"# material-color-utilities\n\n[![npm package](https://badgen.net/npm/v/@material/material-color-utilities)](https://npmjs.com/package/@material/material-color-utilities)\n\nAlgorithms and utilities that power the Material Design 3 (M3) color system,\nincluding choosing theme colors from images and creating tones of colors; all in\na new color space.\n\nSee the main\n[README](https://github.com/material-foundation/material-color-utilities#readme)\nfor more information.\n\n## Getting started\n\n`npm i @material/material-color-utilities` or `yarn add @material/material-color-utilities`\n\n```typescript\nimport { HCT } from \"@material/material-color-utilities\";\n\n// Simple demonstration of HCT.\nconst color = HCT.fromInt(0xff4285f4);\nconsole.log(`Hue: ${color.hue}`);\nconsole.log(`Chrome: ${color.chroma}`);\nconsole.log(`Tone: ${color.tone}`);\n\n```\n\n### Theming\n\n```typescript\nimport { argbFromHex, themeFromSourceColor, applyTheme } from \"@material/material-color-utilities\";\n\n// Get the theme from a hex color\nconst theme = themeFromSourceColor(argbFromHex('#f82506'), [\n  {\n    name: \"custom-1\",\n    value: argbFromHex(\"#ff0000\"),\n    blend: true,\n  },\n]);\n\n// Print out the theme as JSON\nconsole.log(JSON.stringify(theme, null, 2));\n\n// Check if the user has dark mode turned on\nconst systemDark = window.matchMedia(\"(prefers-color-scheme: dark)\").matches;\n\n// Apply the theme to the body by updating custom properties for material tokens\napplyTheme(theme, {target: document.body, dark: systemDark});\n\n```\n\n## Troubleshooting\n\nIf using node make sure to use the following flag:\n\n```\nnode --experimental-specifier-resolution=node\n```\n\n\n## Contributing\n\nThis repo is not accepting external contributions, but feature requests and bug\nreports are welcome on\n[GitHub](https://github.com/material-foundation/material-color-utilities/issues).\n","readmeFilename":"README.md","_id":"@elemental-design/material-color-utilities@0.2.0-beta.0","_nodeVersion":"12.22.4","_npmVersion":"6.14.14","dist":{"integrity":"sha512-IWLIlGtb09ATKWWKQRTubHlwb6zG6CgfIyyrjLZ+PjxfaB14HH+Rf37rWfwQhOeHGLPuVd7QSq16hQgWVMAqBw==","shasum":"1471d93d4b8f1512dcd1460aa9ff4088171e1d86","tarball":"https://registry.npmjs.org/@elemental-design/material-color-utilities/-/material-color-utilities-0.2.0-beta.0.tgz","fileCount":191,"unpackedSize":1055077,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAcLXqDB5cG6/Rqz9aAxwxRCIgrortuiuNwQM9FNCsm+AiAqO13wibnprjQhrLnCFusRE8nL32SdWaq0hcNzvfKq+g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSF5bACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmow/g/+IVvpzUu2lfTABJksvWCTD8fL5kPfUoXogInQDUIbOB+Le5h3\r\nbUDbYaLuBjGO8sryqPKx9glzoI1nSEKVmkwdwNd2A7qkeT37csy8IEUia8TA\r\nkC8VVyTKbO9vA1fHwqdaSUIgKXwJ+2rhtOAq7YdD6a33lP2S6Ep23cvLF7T+\r\nHOV9scwyTV9MLrCXikyItABrMqbToa2wnnJSVqUnYqMGUDmdEdO0ea5PL+IN\r\nq8/dRY8O0LCEvt+xE516R+L1MsEBnmYOHcfWAMKzCpr2YG2jezSvr7RXG6jj\r\nBVj0GSKzficUVIoKYOcZiu9L26YZvu+MQ//7wur40npDid9cUgt0NLFPR1gy\r\ntuo++Kopq815/lXNCKub0BGnEyNGd8KLiE8soiI6ssaBi5Vl5whkCJ1aY6Pl\r\nz3JWp9bXhPHB/JL7GYiyJsPV8yY0A0wuK+sBxT8S2V3HksgYAE8IXghc3AAc\r\nWGLAbB2XAsnI06zsocbwuI8syEFPttDx/2jeeB8ke4/f/g3o/ie8cEK38566\r\nxXmGr1fvt/T+b10H7I5zdVmlBRtHZJHTtWSasSVkwj7CNrH+CbovhT53JqWl\r\n/nTm6wTpMdUVRJhbJYe583aqVLRMQcybPozHAzPZRBZLHAfThQc/3gbfIN19\r\nhWelN6JqjlgJiel1XXwHR1S7akyIruNBaUw=\r\n=9pNq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"macintoshhelper","email":"contact+npm@macintoshhelper.com"},"directories":{},"maintainers":[{"name":"macintoshhelper","email":"contact+npm@macintoshhelper.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/material-color-utilities_0.2.0-beta.0_1665687131000_0.33886821462896477"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-19T21:09:20.234Z","0.0.1":"2021-11-19T21:09:20.495Z","modified":"2022-10-13T18:52:11.362Z","0.0.2":"2021-11-22T17:20:46.471Z","0.0.3":"2021-11-28T22:32:56.571Z","0.0.4":"2021-12-06T02:52:42.512Z","0.2.0-beta.0":"2022-10-13T18:52:11.276Z"},"maintainers":[{"name":"macintoshhelper","email":"contact+npm@macintoshhelper.com"}],"description":"```typescript import { CorePallete } from 'material-color-utilities/lib/palettes/core_palette' ```","keywords":[],"license":"ISC","readme":"","readmeFilename":""}