{"_id":"@primer/figma-theme","_rev":"27-465e4bae5038eb69e93c38ad13b782f6","name":"@primer/figma-theme","dist-tags":{"canary":"0.0.0-13af58f","latest":"0.1.0"},"versions":{"0.0.1":{"name":"@primer/figma-theme","version":"0.0.1","keywords":[],"author":{"name":"Michelle Tilley","email":"michelle@michelletilley.net"},"license":"MIT","_id":"@primer/figma-theme@0.0.1","maintainers":[{"name":"binarymuse","email":"michelle@michelletilley.net"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"}],"contributors":[{"name":"Brent Jackson"}],"bin":{"figma-theme":"bin/cli-boot.js"},"dist":{"shasum":"20f8fbfde19abeea0de823fbf89bd860fff8ad3c","tarball":"https://registry.npmjs.org/@primer/figma-theme/-/figma-theme-0.0.1.tgz","fileCount":17,"integrity":"sha512-j4FwV0/qQXknEeMXDgudMxE9B1BIJFYzfniIMPYUH8zds4eExrEx8CSokhbqqcQtRQuBG3q+1xiKqOWF+XXz8A==","signatures":[{"sig":"MEYCIQD8+E8N7+gAMER6L07v2MyNR+YHDaKaaWhmtCQhxYOiSgIhALwQUxO+nRJSdmmDkD+eOXGoaBorx36EqhI0o/A1IWqf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9Rl6CRA9TVsSAnZWagAAih0P/RsnYTimgOlTpqLfdGcF\nzwRcGOY8yLnF9slVk00hBR5aEFSFw7wCDFfMg20j+N3MRRemA6PM7UKGH7ft\naepukwxYYsu4XZ4S8nrkVKQdFG05R2VsxR5DnZlQyUiCKgiGBu3on3Y90uiU\nX6SnvqMJoXuJqMaNc55DKoNkOvbng7pB4BbYg194j2JsYktcLBLsK9Pdxsme\n87LdZ920QqQ7M8ADE0C6oWgMQzkGWLpofl9BHG17lQDfDrH0cFT1FmTbiiCh\nFTpd50yr8u8nlgRm8MuotJb28XDYXdUkMvciYvAVZbPzO2vYRQa1zEA358Yj\n4QVaFop5e8QGFTdJQVCYUgJvKFjIvwfcVC/zBgZHrvkbR5dFow1Z3YX1AyWc\nc+9SRqkKH8j+AHKlPwXz2pN+bEqOwkUL9/QvHJ5AvW/3WGLeapPH/CnschtA\npbM7TvgTC/DYHBw0nzwMYCEfWCdfdJRyQD5VATQycuWt7wcLu+CpCGYC509w\nCVk9k6OWz0J5EaIQeoAtUD+iZy5RUwSUJWVFwLvG1ZA9d6sbU8yi8X67faUR\n2EtqHo5PwN6f63BoC4euj9Ac8KbCaAjHLD0mY2OjXphBYe52W4hHlKtndu73\n967xgV3CQlvQX3gRDzcwzS15XWIOvKwxFxO2PwAri25cNuMakrjmbIkykKmp\nzFYp\r\n=XtPY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./src/index.ts","gitHead":"26de16d36640fa22627cbb364e6d6789e4684f5e","scripts":{"test":"ts-mocha -p tsconfig.json test/**/*.test.ts","test:fast":"yarn test -f '[slow]' -i","test:slow":"yarn test -f '[slow]'"},"_npmUser":{"name":"binarymuse","email":"michelle@michelletilley.net"},"_npmVersion":"6.13.4","description":"Generate development-ready theme JSON files from Figma Styles","directories":{},"_nodeVersion":"12.12.0","dependencies":{"dedent":"^0.7.0","dotenv":"^8.2.0","lodash":"^4.17.15","request":"^2.88.2","ts-node":"^8.10.2","chroma-js":"^2.1.0","commander":"^5.1.0","typescript":"^3.9.5","@types/node":"^14.0.13","@types/dedent":"^0.7.0","@types/dotenv":"^8.2.0","@types/lodash":"^4.14.156","@types/request":"^2.48.5","@types/chroma-js":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tmp":"^0.2.1","chai":"^4.2.0","mocha":"^8.0.1","ts-mocha":"^7.0.0","@types/tmp":"^0.2.0","@types/chai":"^4.2.11","@types/mocha":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/figma-theme_0.0.1_1593121146160_0.0036168788870660773","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@primer/figma-theme","version":"0.0.2","keywords":[],"author":{"name":"Michelle Tilley","email":"michelle@michelletilley.net"},"license":"MIT","_id":"@primer/figma-theme@0.0.2","maintainers":[{"name":"binarymuse","email":"michelle@michelletilley.net"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"}],"contributors":[{"name":"Brent Jackson"}],"bin":{"figma-theme":"bin/cli-boot.js"},"dist":{"shasum":"f81caf7faa7522ac4b181da3cbe50b3120e9ebcb","tarball":"https://registry.npmjs.org/@primer/figma-theme/-/figma-theme-0.0.2.tgz","fileCount":16,"integrity":"sha512-LpCv7v0OEshs8YkbZ8GN9/jlNZmX+YODVZUmdy/IcvAEVhmX/wKIs2izyjLY6ZHfDB8zADAezYFhzEb0M3RIew==","signatures":[{"sig":"MEUCIDLBI8doHkHFFmid5m66u+mVHjJNRkMoFZyi0mV0w/yVAiEA44NEyD4wprf2eIl2S4VDIWf1RzRW9rO0V7SkiXZRDR8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9RnmCRA9TVsSAnZWagAAT4cP/iSkGmvlj1ICsjRQYDD2\n2UqC1MztG+rwhOn+7KxLDSg8QfQU4kQZxCebTC2rU3nJggj9oWdki6XtwHdf\nRwc2/c9D8TI16LK2PMYu1LgJ7o0ihiQUD1cUzS2+z+l3z19pvUOVC0mkt/b7\n9aNOSo41Ma1UQWaCEXEeKmwT7XlzmS9WmSpJRJ8O5cSPlU9nTMNUOKxx5ECe\njO5AMghDwVE1pB97aA9Ho18GUGOSmkvppzKMwg4VAr711Y63x3mFQ7QWaBj9\nS1BeEvJfejyJikOSJNzsfErFXIPacR39LboWDJ23i9NkwyvnDFR9Cq5kx38R\nMcb3HQv1KF8brNSiGDEadDUc5jTWJlycOgZPYrh6Uzy8/USr3phujhkTTd2I\ngWnL7QJUHydQe6sCQbJFkV4tcmO/IWCoTZlctptuFFPoLf+Bm3XDGugPX1ND\nu4jqrI64EF513+Nt4cmCu99+piwEnxMme+sge3V2KArN40eLruQvcYifBKid\n6+EWGUecYvT7dtPIEGCRKyX0Owipv/B8CussmG5ylkx0sz98T+tyj+Bzf4qt\nRmDFl1myibMkVBLQyBjnozSgBkGDMsutADAbFJPv81eOkbhfjU3vZbQszzlG\nOFNsfp39KcauGIXgJy25T31omb2zgh+Mxn5ZQeOn3O9efF1g6yPXDyCMwJcU\nhJSG\r\n=tZE9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./src/index.ts","gitHead":"4e84a3827964d579470370efd1eb52037e9e194b","scripts":{"test":"ts-mocha -p tsconfig.json test/**/*.test.ts","test:fast":"yarn test -f '[slow]' -i","test:slow":"yarn test -f '[slow]'"},"_npmUser":{"name":"binarymuse","email":"michelle@michelletilley.net"},"_npmVersion":"6.13.4","description":"Generate development-ready theme JSON files from Figma Styles","directories":{},"_nodeVersion":"12.12.0","dependencies":{"dedent":"^0.7.0","dotenv":"^8.2.0","lodash":"^4.17.15","request":"^2.88.2","ts-node":"^8.10.2","chroma-js":"^2.1.0","commander":"^5.1.0","typescript":"^3.9.5","@types/node":"^14.0.13","@types/dedent":"^0.7.0","@types/dotenv":"^8.2.0","@types/lodash":"^4.14.156","@types/request":"^2.48.5","@types/chroma-js":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tmp":"^0.2.1","chai":"^4.2.0","mocha":"^8.0.1","ts-mocha":"^7.0.0","@types/tmp":"^0.2.0","@types/chai":"^4.2.11","@types/mocha":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/figma-theme_0.0.2_1593121254534_0.9256852898959893","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@primer/figma-theme","version":"0.0.3","keywords":[],"author":{"name":"Michelle Tilley","email":"michelle@michelletilley.net"},"license":"MIT","_id":"@primer/figma-theme@0.0.3","maintainers":[{"name":"binarymuse","email":"michelle@michelletilley.net"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"}],"contributors":[{"name":"Brent Jackson"}],"bin":{"figma-theme":"bin/cli-boot.js"},"dist":{"shasum":"1558d3874909708e3414a31fc885bab758ea13bf","tarball":"https://registry.npmjs.org/@primer/figma-theme/-/figma-theme-0.0.3.tgz","fileCount":11,"integrity":"sha512-faoWJuwH970RhD+xeaqjw0SArhRk5Hmj2klrctVt+sKp04FSJ9M50XWtkyv1slZB2w39AJC1g1YrGoLsovpHEg==","signatures":[{"sig":"MEYCIQD4XtefW8T4eUGgVpwERbjBo/nGaW7+Ajci7aZhqssiIQIhAM9ffCRZ/lZkqNTjGZafwRPo5kE3uerM73N8V7SqBYpG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14633,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9RpXCRA9TVsSAnZWagAAJrQP/0VnIHoGAza1BeLcJMhm\nLjX9k3fd3RaF+LzZ3a73z7PSUbsz3D59V4NgpMQcKI857bzVT0dzIeoYTSV6\nNtTHDHQKK44Qmu1UEM7lFyILXHmkomxBA5NvYIgYCmL0xJmULTqfWCbrPZcs\n/9sQOUmjHog6pnTHzY43xTKvyHF5iDohNQsvDa0ocr6oc0tv7ZbUGBXg7+fs\n6G5ZEEmkGlUDBbWVpAT9V9mREUVQROHeJW+OdPSbrp9gXNiGvw5ZuovjnKXz\nHEw7K+9+PMYU3b8a2/+/7C80VJXJgS1lroc8/IFGkhBoiTd7UjWsXBKS0Xf7\nR96Hy+pKiqbxySPuKaxIv+4xwBgFxmrOdMO8m6xqRhWxLQRUaoXvS5IPN/Wj\nVt0O7PFO5zZqeyyd3c7MeFUPQDJ7HgBCy8t9tMX0U5Tl2vTPzlnVG3d+WW7W\n4tkaoFTsOI2MJ7TdityRWBSYAqGoOFgZU+7gK6I/+PQp/EJOdsLzpYTsw5Fu\nY/7w5BqEFvOkrRNoBQhHO3v7+frjb42rso9ss3Vx50OX2nx/Z/i1Ubsdk+bn\neOMRof60V4VVgj63paAqBO9lEsAmeS3kRebhACA06otZtAixT/nNC0GK+7Qv\nxDbh4SVVgg9kfXwJ1JJFfxP8RG9ri4gO8O2uG+sTa5EGQFE5bewCh55K8QDp\n2GJN\r\n=0q/f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./src/index.ts","gitHead":"8ad1e6d6379e3790007f36cac002d557a650943d","scripts":{"test":"ts-mocha -p tsconfig.json test/**/*.test.ts","test:fast":"yarn test -f '[slow]' -i","test:slow":"yarn test -f '[slow]'"},"_npmUser":{"name":"binarymuse","email":"michelle@michelletilley.net"},"_npmVersion":"6.13.4","description":"Generate development-ready theme JSON files from Figma Styles","directories":{},"_nodeVersion":"12.12.0","dependencies":{"dedent":"^0.7.0","dotenv":"^8.2.0","lodash":"^4.17.15","request":"^2.88.2","ts-node":"^8.10.2","chroma-js":"^2.1.0","commander":"^5.1.0","typescript":"^3.9.5","@types/node":"^14.0.13","@types/dedent":"^0.7.0","@types/dotenv":"^8.2.0","@types/lodash":"^4.14.156","@types/request":"^2.48.5","@types/chroma-js":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tmp":"^0.2.1","chai":"^4.2.0","mocha":"^8.0.1","ts-mocha":"^7.0.0","@types/tmp":"^0.2.0","@types/chai":"^4.2.11","@types/mocha":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/figma-theme_0.0.3_1593121366690_0.2754828576927535","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@primer/figma-theme","version":"0.0.4","keywords":[],"author":{"name":"Michelle Tilley","email":"michelle@michelletilley.net"},"license":"MIT","_id":"@primer/figma-theme@0.0.4","maintainers":[{"name":"binarymuse","email":"michelle@michelletilley.net"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"}],"contributors":[{"name":"Brent Jackson"}],"bin":{"figma-theme":"bin/cli-boot.js"},"dist":{"shasum":"0437df2d799cc220ce4291facc6a284b8ef65d70","tarball":"https://registry.npmjs.org/@primer/figma-theme/-/figma-theme-0.0.4.tgz","fileCount":11,"integrity":"sha512-2EDMfkipq5x6L1aFKCGmW8zjhqTL81LhD2RRJkD8ToJ/OPCUg0Isa9gI8Bd36keiHQSlM6cMFRB8Au/QaDZ4HA==","signatures":[{"sig":"MEUCIQC5L5jspaKcsy0/pA+hgNgLabjXhlK6JukACBLAuwRQSQIgL5eC/p0SxvNfzusaN+eOzX++2/69Sr2Tby8iN4v5N3M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9RwsCRA9TVsSAnZWagAAtAQP/R5qBNxpSxTn5h1MJoj6\nmDw7zZGumGEPcH18v3Zi5u51aLftpABD+sTgmMCZOe0dVjaZqmvpkpb9OWjR\nsohVvGL7Yifjj7jvpf2FH8nUreKjDr9A3qIH4ZHjhkW/GjT4g8z7FxSvOd+n\nBVJz550n9/g2j+MUM4V+2EISsnecajGgBKqH7TvMSmIJ3sW905pbyHSKt3rY\nnz8uniUYB+AUzdYOTtk6g5RIafTeooU4KTxhmAXccK1HTg4+CaP86Nafr2UC\n/UCJITtS95USNqWTYvjnGut6BSLp121az+xbL9n5gNVDf7Tqz+V1o7JkBaJM\nm645wn1F0UrxHB3np3dtY9fzO4Zz6bBYxIshH+R0kubg9+wg8lC3FdedWka7\nRIOsmBay0apTlZWGc6GnGrDURZwehNez/e4jQqJJcvyG8u7RgYQEZHmPcEew\n+IAI9yViDjYHTefYdnSDQSEYed6Fu4Cli7/O7yz0dLACQZkkVXTCJTS1XcBM\ns2UzLeNBud/rEeiQKA18afqk3udruzoStXWTwa/e9Ks6lUd5yzlRvChNmJrB\naxpB+djAGZi2W4I9Xrv4TTNitObvnGk9a+Xy4PM7gvVkrSlrBGoG5qb9pKgC\nFhiw5ifHqPuaOt22vCrqfljnIspvziYJwo9jgS8PsFeB3qtTFqEMBkChTHpS\nzBom\r\n=G8SE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./src/index.ts","gitHead":"5ea1f72f6d714c5cf13c9245114730ac4c1472c1","scripts":{"test":"ts-mocha -p tsconfig.json test/**/*.test.ts","test:fast":"yarn test -f '[slow]' -i","test:slow":"yarn test -f '[slow]'"},"_npmUser":{"name":"binarymuse","email":"michelle@michelletilley.net"},"_npmVersion":"6.13.4","description":"Generate development-ready theme JSON files from Figma Styles","directories":{},"_nodeVersion":"12.12.0","dependencies":{"dedent":"^0.7.0","dotenv":"^8.2.0","lodash":"^4.17.15","request":"^2.88.2","ts-node":"^8.10.2","chroma-js":"^2.1.0","commander":"^5.1.0","typescript":"^3.9.5","@types/node":"^14.0.13","@types/dedent":"^0.7.0","@types/dotenv":"^8.2.0","@types/lodash":"^4.14.156","@types/request":"^2.48.5","@types/chroma-js":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tmp":"^0.2.1","chai":"^4.2.0","mocha":"^8.0.1","ts-mocha":"^7.0.0","@types/tmp":"^0.2.0","@types/chai":"^4.2.11","@types/mocha":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/figma-theme_0.0.4_1593121835623_0.3955664815389073","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@primer/figma-theme","version":"0.0.5","keywords":[],"author":{"name":"Michelle Tilley","email":"michelle@michelletilley.net"},"license":"MIT","_id":"@primer/figma-theme@0.0.5","maintainers":[{"name":"binarymuse","email":"michelle@michelletilley.net"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"}],"contributors":[{"name":"Brent Jackson"}],"bin":{"figma-theme":"bin/cli-boot.js"},"dist":{"shasum":"26aac386a795d1e0abe943350e2c5dc191858981","tarball":"https://registry.npmjs.org/@primer/figma-theme/-/figma-theme-0.0.5.tgz","fileCount":11,"integrity":"sha512-woDG+Ri2zkFwwfp8o6QkyQ9WcTKoAt1z0zYzb89U/Qvch2pXRX5kjOcJgY48m7CYu0XFRTwOlWHTIgB/YSMF1w==","signatures":[{"sig":"MEUCIQC5yq7CFpB4pz32UvQxEzZP4BKLltkiuWkgo4wwcxFTXAIgGGmV597zrxfod8Rcus8DnIcR+0yZJs5Nd9+odzw99wU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9R2DCRA9TVsSAnZWagAAl0YP/1RuaR87cXEOyhBo9Qkz\n6DZKveY1n0o3rqIkN9k6NWuHuQLGq/Z9QjYchzm0865/q/ScgycHUwmDQL3p\nIvOsQe4JWXFyy1NTibKQeTAGuYPCpAQooYNI81vx0jaot64RhFLpxXrczJBC\nwj18Zg6bu25duxUV/PAoKdt+TCiVmZdCJ62tvCPuudoosk/TycC243HDQUBs\nPoSEBsWx/cXpib/Boriibhpf5PZZQMr5CgSrmdMj3zAmLR138BpBlBJQqC+z\nhYMSt0OKco0VbnIQ955H4nIEmrURz23PSECpe4SigxjFudX66vKm2aOlhoWM\nF/fLy+6B5S3mF/SwqgqSe5s/ZeqPrSnAvoFhm3DJJGpEMmqzTp1mKHJJx678\nFLmKQXc1xRF2/5VLY8Xz0yQMqRD9C4c8EmbWPHw7ituH8VwlHd5/gbie8Mfk\njkQ9T31hzuqdJ6zjBIdhImYklQdpdrtuhOpIKaM8Ns6HQEMRLEnJEQ27/ByP\nqx5hRtL7UmhcTYRc9og2PhCv42jRJP9haMCxeHsAbTH2WZagLGsEyRBTnDab\nWAmAm9D0grjt/1J6b6YVcXyWbPSVhgR5Cj8fzEHI1dtRBBEQVqo+3NwPkOop\nOHpAgzAxKyRBC3qqSrz2zaBkjpHzz0Oc2wvpJ73qQtrbMhokAkjpLcR/DJ3Z\nU659\r\n=wwlD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./src/index.ts","gitHead":"d1dae992f6b7f1e102f6fbab7a9a398d6b458cda","scripts":{"test":"ts-mocha -p tsconfig.json test/**/*.test.ts","test:fast":"yarn test -f '[slow]' -i","test:slow":"yarn test -f '[slow]'"},"_npmUser":{"name":"binarymuse","email":"michelle@michelletilley.net"},"_npmVersion":"6.13.4","description":"Generate development-ready theme JSON files from Figma Styles","directories":{},"_nodeVersion":"12.12.0","dependencies":{"dedent":"^0.7.0","dotenv":"^8.2.0","lodash":"^4.17.15","request":"^2.88.2","ts-node":"^8.10.2","chroma-js":"^2.1.0","commander":"^5.1.0","typescript":"^3.9.5","@types/node":"^14.0.13","@types/dedent":"^0.7.0","@types/dotenv":"^8.2.0","@types/lodash":"^4.14.156","@types/request":"^2.48.5","@types/chroma-js":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tmp":"^0.2.1","chai":"^4.2.0","mocha":"^8.0.1","ts-mocha":"^7.0.0","@types/tmp":"^0.2.0","@types/chai":"^4.2.11","@types/mocha":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/figma-theme_0.0.5_1593122179518_0.10628603096994516","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@primer/figma-theme","version":"0.0.6","keywords":[],"author":{"name":"Michelle Tilley","email":"michelle@michelletilley.net"},"license":"MIT","_id":"@primer/figma-theme@0.0.6","maintainers":[{"name":"binarymuse","email":"michelle@michelletilley.net"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"}],"contributors":[{"name":"Brent Jackson"}],"bin":{"figma-theme":"dist/cli-boot.js"},"dist":{"shasum":"0e855a28723196c59236b1e7fa85818e184863f9","tarball":"https://registry.npmjs.org/@primer/figma-theme/-/figma-theme-0.0.6.tgz","fileCount":18,"integrity":"sha512-79Pf6JojZ3aE9MqC9YlzTP/8Fej7HTM/uljzBbIGR6dVZYYvcFNKTmHl82o8qJmHy3SK549GCpwap6WmPgtllA==","signatures":[{"sig":"MEYCIQDpQynUD8rgepiMjFTQlz5HsQ6WkV5q8k1jAe7HF+hnnwIhAKZ4EhCScY0EmQjqfjUBpWfwumMmfWSCV1h2pf+sBqZE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21219,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9SC9CRA9TVsSAnZWagAA1OcP/3fpk6jKB1SwOV48lQYP\nRYJJxueZTGaSkCdG6Bh98sYDyWW1JqQKKq8KmJKmORmeCwGoDWXakAJqsll7\ngU5M6n8G5/QTJ5l0g63XiuOA+qmNENXDIDrEZMfbpCW9t16mQ55n8KAa5Em8\nFM+W90n/KyU4XfpPI8t3ZvOCw8zAb/vIgOlyyQbRUD0qZXalIhoA/rU+OkER\n1jBmt1rFU6lb0D4s14F9pLAY2vsyRX/H0XS8oOgk0msXmlpt9wakI5lDgysU\nRfYS231tu5of6RLEoIbjMIx1d33erPClBJil/MaToKFKmWGmzpgaQeriOE/b\n4IkNZ9PndJ3PJk9LvTKtyLgrUIGNiRN33BeOJoJ+lBnNUf1DnLkFr+1Yu4RM\n7S0NJTROzwKtn7AZd8d7ypIEP5pisVnFUlcLVzzmVcZdrXEQhCrSUTwSYPQm\n154nIcsr9GaR0qPV1ijujn4CUt4nK/6PWKz/8lxJ6IeRZfyeXgTrFz0Bm84L\nwJeZM/N/YM8KdXRAALVaH6UpE7BFqQJBAiTecMZ9fhwXNRLnxsgiLz0m6fI6\nVj/j8Fc7ChT6Zis4BVJcmMcM5Q3Uwv40O5JGZJ8e/4FweAQtwuL49o0oB+TG\nbwR3vCUve3s5llWNXGLhG8amjbX8Gp/SyQA7qicg+HTDMlIqMQ6PLdGFETyQ\nnQK+\r\n=TT1I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"dist/index.d.ts","gitHead":"0928d00f830e9e536dc613aafdd811fde8ada301","scripts":{"cli":"ts-node src/cli-boot.ts","test":"ts-mocha -p tsconfig.json test/**/*.test.ts","build":"tsc && chmod +x ./dist/cli-boot.js","prebuild":"rm -rf dist","test:fast":"yarn test -f '[slow]' -i","test:slow":"yarn test -f '[slow]'","prepublishOnly":"yarn build"},"_npmUser":{"name":"binarymuse","email":"michelle@michelletilley.net"},"_npmVersion":"6.13.4","description":"Generate development-ready theme JSON files from Figma Styles","directories":{},"_nodeVersion":"12.12.0","dependencies":{"dedent":"^0.7.0","dotenv":"^8.2.0","lodash":"^4.17.15","request":"^2.88.2","ts-node":"^8.10.2","chroma-js":"^2.1.0","commander":"^5.1.0","typescript":"^3.9.5","@types/node":"^14.0.13","@types/dedent":"^0.7.0","@types/lodash":"^4.14.156","@types/request":"^2.48.5","@types/chroma-js":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tmp":"^0.2.1","chai":"^4.2.0","mocha":"^8.0.1","ts-mocha":"^7.0.0","@types/tmp":"^0.2.0","@types/chai":"^4.2.11","@types/mocha":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/figma-theme_0.0.6_1593123005255_0.8106989510439746","host":"s3://npm-registry-packages"}},"0.0.0-8fa45f8":{"name":"@primer/figma-theme","version":"0.0.0-8fa45f8","keywords":[],"author":{"name":"Michelle Tilley","email":"michelle@michelletilley.net"},"license":"MIT","_id":"@primer/figma-theme@0.0.0-8fa45f8","maintainers":[{"name":"binarymuse","email":"michelle@michelletilley.net"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"}],"contributors":[{"name":"Brent Jackson"}],"bin":{"figma-theme":"dist/cli-boot.js"},"dist":{"shasum":"277da1acca4b73c49ba8d6a612ea40044684cf09","tarball":"https://registry.npmjs.org/@primer/figma-theme/-/figma-theme-0.0.0-8fa45f8.tgz","fileCount":18,"integrity":"sha512-1smGL717H5s7imnnK3aQShRuk5Fi0zQVWvP719q8lZOEpF/QyAPD+PfHD+d/ZQWuqysuvvnHy1+LVOZZhDIUsQ==","signatures":[{"sig":"MEUCIQCG5dKGZ+LpJRK/ng8zW46/XhUVdq35x44cWSPFuW3VewIgCmEyyrSRHoVsA6hLZKm97kbfs7XPnNlRFIu4N/YSc20=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9SG7CRA9TVsSAnZWagAANWkP+QFJRKwzjTBNjVT/EeQb\nH9HR4d52+0CrncSnQNuSC8sqSKV5d9NbCCunkyJ4Ue6zzngnN/9SGCzUpH3A\nX8Xvq8cPGMnhIJfn3nXJ6wDeD+5K6ZNLVlayUEFZo/JB+8zdWjIJSPLZqTVw\nNu1NKfmMQOmNy4OqXt7Pp+DowM1I2dQXAff8csqZmCmsUlopz7fh6D7xCjsr\nauw5QYX57W6CJaslhY/qdeJ71TVhyu1tFN3uR+ee9FmwXOsLQH7sfMLSFVgq\nnmVfibVnUF1s+YkoVKr/iIkWvxpGyS2esHdEjSaRkIhbQYFP4nnFZ1iebSX7\nHSMT43qNLwlFWMaWxqG96gerWruVJTJr1qIE4HcXDbNaSXax8M6bC/P6gTYR\n5aA89arRFyIBOF5p2IRkq8LjrCGyy4c+ycQTp0YIdyTx1GCzjSxVAA+ziDBv\nicuAGtkPbUf3eEOtzubIQ17hTzvgMU+O1sckblH85qORidVOqBGN8bIm66gg\nJ2Q6Ai9u247iKvUdso1FB9QZnisTm1opbj1OPlyfDY0iTCFgNYONa+h5oggd\neTvpxJn5vyqwWHT7f73k3WdERC6Zr96q5aTuOLAiWJdio3Vf5lha2isnkrIW\nmfdOhh/G/QDAaCMckJ+/uTfM37gZU2BJEeUV3YCPkIM21h9rvtA833WBMofG\nD9rI\r\n=1nw1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"dist/index.d.ts","readme":"# @primer/figma-theme\n\nGenerate a JSON representation of style colors from a Figma file. Forked from [jxnblk/figma-theme][fork], which was created by [Brent Jackson][brent].\n\n## Installation\n\n`@primer/figma-theme` requires [Node.js][nodejs] 11.0 or higher.\n\nTo use the command-line API, you may want to install the package globally:\n\n```sh\n# with npm\nnpm i -g @primer/figma-theme\n\n# with yarn\nyarn global add @primer/figma-theme\n```\n\nIf you plan on using the package as part of another Node.js project, you can install it to your dependencies:\n\n```sh\n# with npm\nnpm i @primer/figma-theme\n\n# with yarn\nyarn add @primer/figma-theme\n```\n\nIf you've installed the package as a local dependency, you can run the binary with:\n\n```sh\n./node_modules/.bin/figma-theme\n```\n\n## Basic Usage\n\nThe CLI can parse JSON created from the [Figma API][api] and outputs JSON data to standard output.\n\n### Local files\n\nTo parse a JSON file created from the Figma API, pass the filename of the JSON file to the command:\n\n```sh\nfigma-theme my-figma-export.json\n```\n\nYou can also use `-` to specify stdin as the source for the JSON data:\n\n```sh\n./my-export-script.sh | figma-theme -\n```\n\n### Download from the Figma API\n\nIf you specify your Figma [personal access token][token] via an environment variable or a `.env` file, the CLI can contact the Figma API and export the file for you:\n\n```sh\n# using an environment variable\nFIGMA_TOKEN=asdf1234 figma-theme ...\n\n# using a .env file\necho \"FIGMA_TOKEN=asdf1234\" > .env\nfigma-theme ...\n```\n\nTo specify which file to export, use the `--fetch` option to specify a Figma file ID:\n\n```sh\nFIGMA_TOKEN=asdf1234 figma-theme --fetch xRlnI4wD4TEQGzOERdUfJz\n```\n\nTo identify the Figma file ID, look at the part of the URL after `/file/`. For example, in the URL:\n\n```\nhttps://www.figma.com/file/abcdef123456/My-Figma-File\n```\n\nthe ID is `abcdef123456`.\n\n## Figma styles\n\nThe styles in your Figma file must adhere to the following rules:\n\n- Create a nested structure by using `/` in your style names, e.g. `functional / text / primary` (spaces are optional)\n- Your style names must not contain a period\n- Every style you want to be a part of your theme must be used in the file; if a style is unused, its color will be `null`\n\n## Options\n\nOptions are passed as CLI flags.\n\n- `--out <file>`: redirect output to the given file\n- `--pretty`: format the JSON output to be more human readable\n- `--metadata`: include additional metadata for each style\n- `--fetch <file_id>`: fetch the specified Figma document from the Figma API\n\nFor a full list of options, run `figma-theme --help`.\n\n## Example\n\n```sh\n$ figma-theme --pretty test/fixtures/figma-file.json\n\n{\n  \"functional\": {\n    \"fill\": {\n      \"red\": \"#ff0000\",\n      \"blue\": \"#0085ff\",\n      \"blue-alpha\": \"rgba(0,133,255,0.7)\",\n      \"gray\": null,\n    }\n  },\n  \"borders\": {\n    \"green\": \"#007521\",\n    \"orange\": \"#ff7a00\",\n    \"black-fade-30\": \"rgba(0,0,0,0.3)\",\n  }\n}\n```\n\n## Local development\n\nTo develop locally, clone the repository and install the dependencies with [Yarn][yarn].\n\n```sh\n# install dependencies\nyarn install\n\n# run tests\nyarn test\n\n# run the CLI\n./node_modules/.bin/ts-node ./src/cli-boot.ts --help\n# OR\nyarn cli --help\n```\n\n[fork]: https://github.com/jxnblk/figma-theme\n[brent]: https://github.com/jxnblk\n[nodejs]: https://nodejs.org\n[api]: https://www.figma.com/developers/api#files-endpoints\n[token]: https://www.figma.com/developers/docs#auth-dev-token\n[yarn]: https://yarnpkg.com/\n","gitHead":"bc08aa655b4efacfb3010d76f9eb93ef823faaec","scripts":{"cli":"ts-node src/cli-boot.ts","test":"ts-mocha -p tsconfig.json test/**/*.test.ts","build":"tsc && chmod +x ./dist/cli-boot.js","prebuild":"rm -rf dist","test:fast":"yarn test -f '[slow]' -i","test:slow":"yarn test -f '[slow]'","prepublishOnly":"yarn build"},"_npmUser":{"name":"primer-css","email":"design-systems@github.com"},"_npmVersion":"6.14.4","description":"Generate development-ready theme JSON files from Figma Styles","directories":{},"_nodeVersion":"10.21.0","dependencies":{"dedent":"^0.7.0","dotenv":"^8.2.0","lodash":"^4.17.15","request":"^2.88.2","ts-node":"^8.10.2","chroma-js":"^2.1.0","commander":"^5.1.0","typescript":"^3.9.5","@types/node":"^14.0.13","@types/dedent":"^0.7.0","@types/lodash":"^4.14.156","@types/request":"^2.48.5","@types/chroma-js":"^2.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tmp":"^0.2.1","chai":"^4.2.0","mocha":"^8.0.1","ts-mocha":"^7.0.0","@types/tmp":"^0.2.0","@types/chai":"^4.2.11","@types/mocha":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/figma-theme_0.0.0-8fa45f8_1593123259089_0.6392770223126754","host":"s3://npm-registry-packages"}},"0.0.0-88caff9":{"name":"@primer/figma-theme","version":"0.0.0-88caff9","keywords":[],"author":{"name":"Michelle Tilley","email":"michelle@michelletilley.net"},"license":"MIT","_id":"@primer/figma-theme@0.0.0-88caff9","maintainers":[{"name":"binarymuse","email":"michelle@michelletilley.net"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"}],"contributors":[{"name":"Brent Jackson"}],"bin":{"figma-theme":"dist/cli-boot.js"},"dist":{"shasum":"07ff81781ec27c4bd39fbaa6e1a55c772ef7e6b9","tarball":"https://registry.npmjs.org/@primer/figma-theme/-/figma-theme-0.0.0-88caff9.tgz","fileCount":18,"integrity":"sha512-O1+cSxRYp9KUGdrRJl4dZh0JpA51KPmWdrvlaRwkHRQRYHQuXy+WlmnvcVAKfc2ru77kmA7GSui73omJCkbq/w==","signatures":[{"sig":"MEUCIC4IPESPz8ZVx/weZPmM0mrrj3SvOmX/6cc30x14OPzoAiEA+pnUJUVP7498ODu0jaR91smBCHkmavw0Xadc2nSkPx4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9SJ1CRA9TVsSAnZWagAAXnMP/i2CZycZIggbEXEOHifO\n9HfhuRAIvKt5wCGJD4a8Qwk3EZQJfhI+nJyqe9lBDvf8Ps4lacZI4HbOCyXB\nmMJiOSx4jwQT8ZeiC+nUzJBogkDhK07gOMsOQHTOiGn1s6VsIZ7K0srJSmcx\nA3U2HTSMl7GzxBzOgh9JKy8d6Irj2vqoZFM0Ih6mnEP/2xo2AlcVlx2A90q3\nzDhqfZCbhFxWqXbJuGG7Gxq/xTqg/jgz3+tbQ+UP9USlP+oXr1Z+hB+ddE7r\nvVyYyhkDbw0XQKbrdfgUcyIznNLXz2UQh1jOOcUe0/gwIqK4YfsoUdr9Rbo3\nC4+CKDH5OPuURMf8KGg+uc/8C37wTWLRy62aKNcOmZ1mqpcuJy87a7ChexjG\nTvi3E9R54z3pFcz/4lj/iOnGR3XhC+mN+mCWej48y5avbj53Z7vmCEJP7vQO\n53++Wzk7XIh+EeMD4lxt7gIzFAaDPyAWJd4b5j8ozmLBkyonA6hnZVKPJdVy\nnz9S4z3lBZBUlblVtrNAoJJXQVNSQVmg4jzl+qwd+4kcVo6JroV6ZQbC9g0j\nCdbS5P/elCWtG9HIZ6+6X6FVYGuoSnkrIOQarQTBxXnpQ3XKVEtpZgONn+NZ\nUuGatoJW5kKvwqiOjf+WdNrPMYNrYsQSvUoKtST0d4Bxg+Ecf86/aY/vvMrq\nbd/I\r\n=glPE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"dist/index.d.ts","readme":"# @primer/figma-theme\n\nGenerate a JSON representation of style colors from a Figma file. Forked from [jxnblk/figma-theme][fork], which was created by [Brent Jackson][brent].\n\n## Installation\n\n`@primer/figma-theme` requires [Node.js][nodejs] 11.0 or higher.\n\nTo use the command-line API, you may want to install the package globally:\n\n```sh\n# with npm\nnpm i -g @primer/figma-theme\n\n# with yarn\nyarn global add @primer/figma-theme\n```\n\nIf you plan on using the package as part of another Node.js project, you can install it to your dependencies:\n\n```sh\n# with npm\nnpm i @primer/figma-theme\n\n# with yarn\nyarn add @primer/figma-theme\n```\n\nIf you've installed the package as a local dependency, you can run the binary with:\n\n```sh\n./node_modules/.bin/figma-theme\n```\n\n## Basic Usage\n\nThe CLI can parse JSON created from the [Figma API][api] and outputs JSON data to standard output.\n\n### Local files\n\nTo parse a JSON file created from the Figma API, pass the filename of the JSON file to the command:\n\n```sh\nfigma-theme my-figma-export.json\n```\n\nYou can also use `-` to specify stdin as the source for the JSON data:\n\n```sh\n./my-export-script.sh | figma-theme -\n```\n\n### Download from the Figma API\n\nIf you specify your Figma [personal access token][token] via an environment variable or a `.env` file, the CLI can contact the Figma API and export the file for you:\n\n```sh\n# using an environment variable\nFIGMA_TOKEN=asdf1234 figma-theme ...\n\n# using a .env file\necho \"FIGMA_TOKEN=asdf1234\" > .env\nfigma-theme ...\n```\n\nTo specify which file to export, use the `--fetch` option to specify a Figma file ID:\n\n```sh\nFIGMA_TOKEN=asdf1234 figma-theme --fetch xRlnI4wD4TEQGzOERdUfJz\n```\n\nTo identify the Figma file ID, look at the part of the URL after `/file/`. For example, in the URL:\n\n```\nhttps://www.figma.com/file/abcdef123456/My-Figma-File\n```\n\nthe ID is `abcdef123456`.\n\n## Figma styles\n\nThe styles in your Figma file must adhere to the following rules:\n\n- Create a nested structure by using `/` in your style names, e.g. `functional / text / primary` (spaces are optional)\n- Your style names must not contain a period\n- Every style you want to be a part of your theme must be used in the file; if a style is unused, its color will be `null`\n\n## Options\n\nOptions are passed as CLI flags.\n\n- `--out <file>`: redirect output to the given file\n- `--pretty`: format the JSON output to be more human readable\n- `--metadata`: include additional metadata for each style\n- `--fetch <file_id>`: fetch the specified Figma document from the Figma API\n\nFor a full list of options, run `figma-theme --help`.\n\n## Example\n\n```sh\n$ figma-theme --pretty test/fixtures/figma-file.json\n\n{\n  \"functional\": {\n    \"fill\": {\n      \"red\": \"#ff0000\",\n      \"blue\": \"#0085ff\",\n      \"blue-alpha\": \"rgba(0,133,255,0.7)\",\n      \"gray\": null,\n    }\n  },\n  \"borders\": {\n    \"green\": \"#007521\",\n    \"orange\": \"#ff7a00\",\n    \"black-fade-30\": \"rgba(0,0,0,0.3)\",\n  }\n}\n```\n\n## Local development\n\nTo develop locally, clone the repository and install the dependencies with [Yarn][yarn].\n\n```sh\n# install dependencies\nyarn install\n\n# run tests\nyarn test\n\n# run the CLI\n./node_modules/.bin/ts-node ./src/cli-boot.ts --help\n# OR\nyarn cli --help\n```\n\n[fork]: https://github.com/jxnblk/figma-theme\n[brent]: https://github.com/jxnblk\n[nodejs]: https://nodejs.org\n[api]: https://www.figma.com/developers/api#files-endpoints\n[token]: https://www.figma.com/developers/docs#auth-dev-token\n[yarn]: https://yarnpkg.com/\n","gitHead":"fd4347e65438e9b4945127c9bc00cb2a3cb80a16","scripts":{"cli":"ts-node src/cli-boot.ts","test":"ts-mocha -p tsconfig.json test/**/*.test.ts","build":"tsc && chmod +x ./dist/cli-boot.js","prebuild":"rm -rf dist","test:fast":"yarn test -f '[slow]' -i","test:slow":"yarn test -f '[slow]'","prepublishOnly":"yarn build"},"_npmUser":{"name":"primer-css","email":"design-systems@github.com"},"_npmVersion":"6.14.4","description":"Generate development-ready theme JSON files from Figma Styles","directories":{},"_nodeVersion":"10.21.0","dependencies":{"dedent":"^0.7.0","dotenv":"^8.2.0","lodash":"^4.17.15","request":"^2.88.2","ts-node":"^8.10.2","chroma-js":"^2.1.0","commander":"^5.1.0","typescript":"^3.9.5","@types/node":"^14.0.13","@types/dedent":"^0.7.0","@types/lodash":"^4.14.156","@types/request":"^2.48.5","@types/chroma-js":"^2.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tmp":"^0.2.1","chai":"^4.2.0","mocha":"^8.0.1","ts-mocha":"^7.0.0","@types/tmp":"^0.2.0","@types/chai":"^4.2.11","@types/mocha":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/figma-theme_0.0.0-88caff9_1593123445376_0.4636356624980351","host":"s3://npm-registry-packages"}},"0.0.0-13af58f":{"name":"@primer/figma-theme","version":"0.0.0-13af58f","keywords":[],"author":{"name":"Michelle Tilley","email":"michelle@michelletilley.net"},"license":"MIT","_id":"@primer/figma-theme@0.0.0-13af58f","maintainers":[{"name":"binarymuse","email":"michelle@michelletilley.net"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"}],"contributors":[{"name":"Brent Jackson"}],"bin":{"figma-theme":"dist/cli-boot.js"},"dist":{"shasum":"e40e552f0289a78fff0cc3bff4d894275d2799a4","tarball":"https://registry.npmjs.org/@primer/figma-theme/-/figma-theme-0.0.0-13af58f.tgz","fileCount":18,"integrity":"sha512-2kMqCf2L4Ji3m7NhjFObxEjC+Ml+5CvCPX+hWeWVD7pH6I1uueOLqOBFPwuS+IhrqDK6NUO8sutVE/d8beyr0Q==","signatures":[{"sig":"MEQCIBxgpqjVmPXCqLrlGSUpp1thcIqUFX0EWb7y0rpeG7rJAiAEPkByxa4uBznScUBVQS5c/AjElIqxGUcjKZaLN+TJtA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9SMGCRA9TVsSAnZWagAACoIP/23YVAYHZ/pnqlwcqiAj\ntA4Xm07Ar8iUMyB7x+vkbQYQupqeAv7JmPZ9ffShaMwNIIBXGQE5Dn9g3jap\nrx+DlMvLggJR9Y34bsx2ZLNH1ddpfk4gl5nO94JIiPd/QoG+9koJcC1UYWmo\np+btaxEW+o0ZD8P6379I5V4U6Gs2Nn/2IXnBGc2rzOw+F+0Bh4K0D55qr+uL\n9CGDN2kXqMTWEA+xO5Vg+MFXQKseh9RT0kJOboUl364FQK64L+cKdSmL7bmx\nGRFTKh2PdT0nNJl+rXgTZds1Z+vcEMjxyvf4Ju7yxJI8ZuKA1xGash/+UGlE\nlab5X1NX6w/J4MMQjVhScpKDRQBHfxa7yXEXZQOKn9zbpUspTnvozzddxfpf\nfjcFJXuYFDISOW2ogESugNB9B6c1Ql87timtwyYM7i8G1uQ7S2lw8XsUg04K\nvwYrAECnGwrLvCUmUls8jHGGaEmcDk9BC2Yg2ndCYiSl47nrh6liAE45h5jd\ngn+1HyhOIS/2pBv7qXLIigG+h45sfNEe6bt1iGZ1BV3ZgOwIvPADBCTUu14c\n6fACgEWRt26ViKfIpPhIqyPH/NnXTiznpfYJ+Z4o0ZLg5mwwydmSe6Z3TaDw\nZECHLrUX9egpGiNaToAEoz3qRMmoSzd3jveI2nyaY1znAgHhNRSKLvZ8UuqG\njU+H\r\n=GdGS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"dist/index.d.ts","readme":"# @primer/figma-theme\n\nGenerate a JSON representation of style colors from a Figma file. Forked from [jxnblk/figma-theme][fork], which was created by [Brent Jackson][brent].\n\n## Installation\n\n`@primer/figma-theme` requires [Node.js][nodejs] 11.0 or higher.\n\nTo use the command-line API, you may want to install the package globally:\n\n```sh\n# with npm\nnpm i -g @primer/figma-theme\n\n# with yarn\nyarn global add @primer/figma-theme\n```\n\nIf you plan on using the package as part of another Node.js project, you can install it to your dependencies:\n\n```sh\n# with npm\nnpm i @primer/figma-theme\n\n# with yarn\nyarn add @primer/figma-theme\n```\n\nIf you've installed the package as a local dependency, you can run the binary with:\n\n```sh\n./node_modules/.bin/figma-theme\n```\n\n## Basic usage\n\nThe CLI can parse JSON created from the [Figma API][api] and outputs JSON data to standard output.\n\n### Local files\n\nTo parse a JSON file created from the Figma API, pass the filename of the JSON file to the command:\n\n```sh\nfigma-theme my-figma-export.json\n```\n\nYou can also use `-` to specify stdin as the source for the JSON data:\n\n```sh\n./my-export-script.sh | figma-theme -\n```\n\n### Download from the Figma API\n\nIf you specify your Figma [personal access token][token] via an environment variable or a `.env` file, the CLI can contact the Figma API and export the file for you:\n\n```sh\n# using an environment variable\nFIGMA_TOKEN=asdf1234 figma-theme ...\n\n# using a .env file\necho \"FIGMA_TOKEN=asdf1234\" > .env\nfigma-theme ...\n```\n\nTo specify which file to export, use the `--fetch` option to specify a Figma file ID:\n\n```sh\nFIGMA_TOKEN=asdf1234 figma-theme --fetch xRlnI4wD4TEQGzOERdUfJz\n```\n\nTo identify the Figma file ID, look at the part of the URL after `/file/`. For example, in the URL:\n\n```\nhttps://www.figma.com/file/abcdef123456/My-Figma-File\n```\n\nthe ID is `abcdef123456`.\n\n## Figma styles\n\nThe styles in your Figma file must adhere to the following rules:\n\n- Create a nested structure by using `/` in your style names, e.g. `functional / text / primary` (spaces are optional)\n- Your style names must not contain a period\n- Every style you want to be a part of your theme must be used in the file; if a style is unused, its color will be `null`\n\n## Options\n\nOptions are passed as CLI flags.\n\n- `--out <file>`: redirect output to the given file\n- `--pretty`: format the JSON output to be more human readable\n- `--metadata`: include additional metadata for each style\n- `--fetch <file_id>`: fetch the specified Figma document from the Figma API\n\nFor a full list of options, run `figma-theme --help`.\n\n## Example\n\n```sh\n$ figma-theme --pretty test/fixtures/figma-file.json\n\n{\n  \"functional\": {\n    \"fill\": {\n      \"red\": \"#ff0000\",\n      \"blue\": \"#0085ff\",\n      \"blue-alpha\": \"rgba(0,133,255,0.7)\",\n      \"gray\": null,\n    }\n  },\n  \"borders\": {\n    \"green\": \"#007521\",\n    \"orange\": \"#ff7a00\",\n    \"black-fade-30\": \"rgba(0,0,0,0.3)\",\n  }\n}\n```\n\n## Local development\n\nTo develop locally, clone the repository and install the dependencies with [Yarn][yarn].\n\n```sh\n# install dependencies\nyarn install\n\n# run tests\nyarn test\n\n# run the CLI\n./node_modules/.bin/ts-node ./src/cli-boot.ts --help\n# OR\nyarn cli --help\n```\n\n[fork]: https://github.com/jxnblk/figma-theme\n[brent]: https://github.com/jxnblk\n[nodejs]: https://nodejs.org\n[api]: https://www.figma.com/developers/api#files-endpoints\n[token]: https://www.figma.com/developers/docs#auth-dev-token\n[yarn]: https://yarnpkg.com/\n","gitHead":"425775c6f781aebf991fdbf190727d38715faa08","scripts":{"cli":"ts-node src/cli-boot.ts","test":"ts-mocha -p tsconfig.json test/**/*.test.ts","build":"tsc && chmod +x ./dist/cli-boot.js","prebuild":"rm -rf dist","test:fast":"yarn test -f '[slow]' -i","test:slow":"yarn test -f '[slow]'","prepublishOnly":"yarn build"},"_npmUser":{"name":"primer-css","email":"design-systems@github.com"},"_npmVersion":"6.14.4","description":"Generate development-ready theme JSON files from Figma Styles","directories":{},"_nodeVersion":"10.21.0","dependencies":{"dedent":"^0.7.0","dotenv":"^8.2.0","lodash":"^4.17.15","request":"^2.88.2","ts-node":"^8.10.2","chroma-js":"^2.1.0","commander":"^5.1.0","typescript":"^3.9.5","@types/node":"^14.0.13","@types/dedent":"^0.7.0","@types/lodash":"^4.14.156","@types/request":"^2.48.5","@types/chroma-js":"^2.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tmp":"^0.2.1","chai":"^4.2.0","mocha":"^8.0.1","ts-mocha":"^7.0.0","@types/tmp":"^0.2.0","@types/chai":"^4.2.11","@types/mocha":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/figma-theme_0.0.0-13af58f_1593123590269_0.4204210872795302","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@primer/figma-theme","version":"0.1.0","keywords":[],"author":{"name":"Michelle Tilley","email":"michelle@michelletilley.net"},"license":"MIT","_id":"@primer/figma-theme@0.1.0","maintainers":[{"name":"binarymuse","email":"michelle@michelletilley.net"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"}],"contributors":[{"name":"Brent Jackson"}],"bin":{"figma-theme":"dist/cli-boot.js"},"dist":{"shasum":"1b9c50f30a535ba23dba371037c633dd75f966fe","tarball":"https://registry.npmjs.org/@primer/figma-theme/-/figma-theme-0.1.0.tgz","fileCount":18,"integrity":"sha512-pEBApXSWJSFcHxOjGiGTyVZVMczx4R9XliI0U6kcJVUMIvl2Tye4lZpYVZB053AsEFwcQ+2mT0dVdE93KJqKBw==","signatures":[{"sig":"MEUCIQDIa3IB5NFVa12nV3mxu4iZMB2M5MJyRC2hWaCfBCoj3QIgcDPEDRi9zs0Rs/RtkxDa6BpI/SKjgmdH7/gQeCiSnOQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21219,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9SN+CRA9TVsSAnZWagAArHAP/RLWVXkoe0ujv4PoG3hc\n/H8VNo0r6qAB0gL/KUhw864foTVl3Q5giHFwTqunSS3iaV/82XadCnKG1xyt\ni4KDyIkuR0ajS6BVDl8OVMmAM7UHg98gCO2H9aHIIWt/x4jj7WKW1u8rZQ4u\nwGrZmwdRjzX/qByCcKhlSJ+G0NqejoqvenzAhTnSaRe2jqAwOK2P6YSJPXMh\nBrQ+3GnkqQxPlBcNK83xoANpcvzgRxFSXePXxsQr1f1YHSYdU4xPin9YffZi\npP2p15s+BDfG0jKNIwYj97Z8HbUC8S6onhtC1V1CdfBQ7HxvCy9qn+hOxWnk\nOiuL7/ObzT+L2YgXHD0JrG292JMC5nH/AAOE5NzdVFf4wgKv5oudd3n2noup\nLzfsizYYsevREyY1oL+2t0sg0NsbPDZCci/qQOTcdzYp+ZinaJKrXq9xt6+7\nm2F19myvNPYzQaOOrDk9oSaNBEg0Cu4sfkBMRq7dSqLaSFb6lxHR8Y2r/NlU\n3rDxeH5G63H/77OrKABdnfu5deTYtwIYwLP//JWNY7h0hdGFe/AvMi9mV7CV\nPgJVX6lTGbKbHa4jl8jp4MRHarhENEKnT9urX21yrr4xDZ7xxOwcW/b5DqKd\ni5jRC8Rp0ig9BGnftrCBvm32W/EzNn3Ayeznsrv5LwM+FC4SEKzHO5Hg3wo6\nyxkf\r\n=X6VX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"dist/index.d.ts","gitHead":"95a5f9133a64dec4dc6a35bf082248b0e4a18694","scripts":{"cli":"ts-node src/cli-boot.ts","test":"ts-mocha -p tsconfig.json test/**/*.test.ts","build":"tsc && chmod +x ./dist/cli-boot.js","prebuild":"rm -rf dist","test:fast":"yarn test -f '[slow]' -i","test:slow":"yarn test -f '[slow]'","prepublishOnly":"yarn build"},"_npmUser":{"name":"primer-css","email":"design-systems@github.com"},"_npmVersion":"6.14.4","description":"Generate development-ready theme JSON files from Figma Styles","directories":{},"_nodeVersion":"10.21.0","dependencies":{"dedent":"^0.7.0","dotenv":"^8.2.0","lodash":"^4.17.15","request":"^2.88.2","ts-node":"^8.10.2","chroma-js":"^2.1.0","commander":"^5.1.0","typescript":"^3.9.5","@types/node":"^14.0.13","@types/dedent":"^0.7.0","@types/lodash":"^4.14.156","@types/request":"^2.48.5","@types/chroma-js":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tmp":"^0.2.1","chai":"^4.2.0","mocha":"^8.0.1","ts-mocha":"^7.0.0","@types/tmp":"^0.2.0","@types/chai":"^4.2.11","@types/mocha":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/figma-theme_0.1.0_1593123708930_0.6691206302156556","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-06-25T21:39:05.912Z","modified":"2026-04-22T18:16:38.799Z","0.0.1":"2020-06-25T21:39:06.329Z","0.0.2":"2020-06-25T21:40:54.685Z","0.0.3":"2020-06-25T21:42:46.868Z","0.0.4":"2020-06-25T21:50:35.777Z","0.0.5":"2020-06-25T21:56:19.682Z","0.0.6":"2020-06-25T22:10:05.513Z","0.0.0-8fa45f8":"2020-06-25T22:14:19.213Z","0.0.0-88caff9":"2020-06-25T22:17:25.484Z","0.0.0-13af58f":"2020-06-25T22:19:50.376Z","0.1.0":"2020-06-25T22:21:49.035Z"},"author":{"name":"Michelle Tilley","email":"michelle@michelletilley.net"},"license":"MIT","keywords":[],"description":"Generate development-ready theme JSON files from Figma Styles","contributors":[{"name":"Brent Jackson"}],"maintainers":[{"email":"yes@jonrohan.codes","name":"jonrohan"},{"email":"joel@hawksley.org","name":"joelhawksley"},{"email":"design-systems@github.com","name":"primer-css"},{"email":"manuelpuyol@github.com","name":"manuelpuyol"},{"email":"clay@smockle.com","name":"smockle"},{"email":"sim@simurai.com","name":"simurai"},{"email":"katehiga8@gmail.com","name":"khiga8"},{"email":"oppermann.lukas@gmail.com","name":"lukasoppermann"},{"email":"siddharth.kshetrapal@gmail.com","name":"siddharthkp"},{"email":"josh@josh.black","name":"joshblack"},{"email":"leslie@cohnwein.com","name":"lesliecdubs"}],"readme":"# @primer/figma-theme\n\nGenerate a JSON representation of style colors from a Figma file. Forked from [jxnblk/figma-theme][fork], which was created by [Brent Jackson][brent].\n\n## Installation\n\n`@primer/figma-theme` requires [Node.js][nodejs] 11.0 or higher.\n\nTo use the command-line API, you may want to install the package globally:\n\n```sh\n# with npm\nnpm i -g @primer/figma-theme\n\n# with yarn\nyarn global add @primer/figma-theme\n```\n\nIf you plan on using the package as part of another Node.js project, you can install it to your dependencies:\n\n```sh\n# with npm\nnpm i @primer/figma-theme\n\n# with yarn\nyarn add @primer/figma-theme\n```\n\nIf you've installed the package as a local dependency, you can run the binary with:\n\n```sh\n./node_modules/.bin/figma-theme\n```\n\n## Basic usage\n\nThe CLI can parse JSON created from the [Figma API][api] and outputs JSON data to standard output.\n\n### Local files\n\nTo parse a JSON file created from the Figma API, pass the filename of the JSON file to the command:\n\n```sh\nfigma-theme my-figma-export.json\n```\n\nYou can also use `-` to specify stdin as the source for the JSON data:\n\n```sh\n./my-export-script.sh | figma-theme -\n```\n\n### Download from the Figma API\n\nIf you specify your Figma [personal access token][token] via an environment variable or a `.env` file, the CLI can contact the Figma API and export the file for you:\n\n```sh\n# using an environment variable\nFIGMA_TOKEN=asdf1234 figma-theme ...\n\n# using a .env file\necho \"FIGMA_TOKEN=asdf1234\" > .env\nfigma-theme ...\n```\n\nTo specify which file to export, use the `--fetch` option to specify a Figma file ID:\n\n```sh\nFIGMA_TOKEN=asdf1234 figma-theme --fetch xRlnI4wD4TEQGzOERdUfJz\n```\n\nTo identify the Figma file ID, look at the part of the URL after `/file/`. For example, in the URL:\n\n```\nhttps://www.figma.com/file/abcdef123456/My-Figma-File\n```\n\nthe ID is `abcdef123456`.\n\n## Figma styles\n\nThe styles in your Figma file must adhere to the following rules:\n\n- Create a nested structure by using `/` in your style names, e.g. `functional / text / primary` (spaces are optional)\n- Your style names must not contain a period\n- Every style you want to be a part of your theme must be used in the file; if a style is unused, its color will be `null`\n\n## Options\n\nOptions are passed as CLI flags.\n\n- `--out <file>`: redirect output to the given file\n- `--pretty`: format the JSON output to be more human readable\n- `--metadata`: include additional metadata for each style\n- `--fetch <file_id>`: fetch the specified Figma document from the Figma API\n\nFor a full list of options, run `figma-theme --help`.\n\n## Example\n\n```sh\n$ figma-theme --pretty test/fixtures/figma-file.json\n\n{\n  \"functional\": {\n    \"fill\": {\n      \"red\": \"#ff0000\",\n      \"blue\": \"#0085ff\",\n      \"blue-alpha\": \"rgba(0,133,255,0.7)\",\n      \"gray\": null,\n    }\n  },\n  \"borders\": {\n    \"green\": \"#007521\",\n    \"orange\": \"#ff7a00\",\n    \"black-fade-30\": \"rgba(0,0,0,0.3)\",\n  }\n}\n```\n\n## Local development\n\nTo develop locally, clone the repository and install the dependencies with [Yarn][yarn].\n\n```sh\n# install dependencies\nyarn install\n\n# run tests\nyarn test\n\n# run the CLI\n./node_modules/.bin/ts-node ./src/cli-boot.ts --help\n# OR\nyarn cli --help\n```\n\n[fork]: https://github.com/jxnblk/figma-theme\n[brent]: https://github.com/jxnblk\n[nodejs]: https://nodejs.org\n[api]: https://www.figma.com/developers/api#files-endpoints\n[token]: https://www.figma.com/developers/docs#auth-dev-token\n[yarn]: https://yarnpkg.com/\n","readmeFilename":"README.md"}