{"_id":"@_tw/themejson","_rev":"7-4e1a9ec6cc0e859f150a0191060f5ab3","name":"@_tw/themejson","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.1":{"name":"@_tw/themejson","version":"0.1.1","license":"MIT","_id":"@_tw/themejson@0.1.1","maintainers":[{"name":"gregsullivan","email":"greg@gregsullivan.com"}],"homepage":"https://github.com/gregsullivan/_tw-themejson#readme","bugs":{"url":"https://github.com/gregsullivan/_tw-themejson/issues"},"dist":{"shasum":"657d07016b89d3439edb37651efec2af092fb66d","tarball":"https://registry.npmjs.org/@_tw/themejson/-/themejson-0.1.1.tgz","fileCount":4,"integrity":"sha512-oY1j0tkLJkSbBjHbCjDcnN+dQEcuREsA+yJzN2pAA8mdQTwGLZHR9YzOAp3aWKhpC4eJjNbMvFdGMcfDXBqX1Q==","signatures":[{"sig":"MEYCIQCGW+/8oY+vMU4rxb2ATu7Z8SNrlE9I6mwa1NoY7CruKQIhALZAGRM3N+HhjfJpqUwpjzdyhxkeMzjbpDikCPVb0G4f","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2985,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOUopCRA9TVsSAnZWagAAzzsP/3fs1SKfzBEOYEi5MG/I\no87GYMngSp8k3QZbo6+OEgtmwdyIYxd7e+yuYOUflHV2Ofn4CnGKqKfcxWEo\nuvjZIbq/Ffbd1Fd04m9zHc8zkp53G9gKsekGKf5ejXKW5aZLjTJ7OkAL/EEo\nL67CQSIDH0qLFr802wNxxfaTXlV3GJQj5kZYZJwKDInCAPhrffKyXSNUn5Xf\nAkV4Xksgak4n4ySJ4Y5n+D0DCX2TQm8PoNt1a9LILEckTXFi49BqmLcG993P\nAQQWaggdXBEiVQQ3uQl5LB8VIqjkIR/fvjTVmvWY8Q212XUdS1WzWfoJY7GC\neoFC1PI00IUuEFgJFHQpjhTs7ZgMORc/jtrjAPMzfarKAPUCGo6+XZ1LUUyC\nuj/eWwXgcyqnSrsqCtLz3QIzjgtgAw0bJLMrmd6nJTWCAdbHdoQO+YxDorMl\n+4INpjtTrPL9q4pbh5lWUoLPKIxCupWpXg1Xm8UhfM/uKd7PC+R+tu+ngBQM\naJivmPhg0s9XnGC3X8qlqNHgCWfRVvFqu7sydaHmLk3A83RvtfJPsZFbnfjy\nCW3V4yTF4dIbUxVv5FHvDOo3EqWMBqAXObuvwiJTn4kERgGe+dVzUFsJm39j\nsWJLQFWLqy8Ii1xxt/XBHO13bAi/cOuduiTVCYR1PQbHSuRKa3CXRLYIOtkC\nYnVg\r\n=H9H2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"fc51b1cbd743ee3e7e4dba7c326583b744c83d1f","_npmUser":{"name":"gregsullivan","email":"greg@gregsullivan.com"},"repository":{"url":"git+https://github.com/gregsullivan/_tw-themejson.git","type":"git"},"_npmVersion":"7.20.1","description":"A Tailwind CSS plugin that adds colors and widths from a WordPress theme’s theme.json file to a Tailwind project's configuration.","directories":{},"_nodeVersion":"14.17.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"tailwindcss":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/themejson_0.1.1_1631144489781_0.15268308301280498","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@_tw/themejson","version":"0.1.2","license":"MIT","_id":"@_tw/themejson@0.1.2","maintainers":[{"name":"gregsullivan","email":"greg@gregsullivan.com"}],"homepage":"https://github.com/gregsullivan/_tw-themejson#readme","bugs":{"url":"https://github.com/gregsullivan/_tw-themejson/issues"},"dist":{"shasum":"772c2e615aa6ca37171b46aac3e95401c10a9a10","tarball":"https://registry.npmjs.org/@_tw/themejson/-/themejson-0.1.2.tgz","fileCount":4,"integrity":"sha512-tPenPQcRncoYJdr3CmawxE0XvMCJO+0tUcxA+MiP9vWm2NZF3OkPa5IrWp0KFmDGkzdDe3Gm0ezRR48NXNB1eg==","signatures":[{"sig":"MEUCIQDZwUT7QA/FSFYvWYrJ6gbfeaNCVRRQpLWD+PiTc03j8gIgagfErqMV3r8hh6zyfLOAH+zCu55eD3kxUiRWV/MrR0Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOUqJCRA9TVsSAnZWagAAqdIQAIy2m9FB0WSERkurx1pD\nUvw79dkfWTuw30iZ9H444YKNDzW66MJMnljAz2d8rANJaOxEyIScVp7ZNvZd\nyCxk8rP6qhsSYZAz2wxG5YoU53g8uCqGKhLptJbvg0E8y3WtqhPssxWwsB07\n/wUjMmSb4m6cG10gOQ9XByjHXLhj6Fr8Hlg2qMMUsv3XGVAj5CzDshjjezsJ\nnoOthCFZlxqDLPulfCE4Yi9/CZEbwWWk+qYwlXsOWUVX+lch2XD9iTraQa2W\nPasOOVYmOXXOc186FG+zDbq8wtmFLGxBdV4yo8qsavwqrkKJJgE1BfLVKxXV\nbCC+IxiZfSAQERRrNLwKUfU/8auL/90L7iHrJ63GTDZx27JBedU7RREjPAf3\n7TLDQDW99oKr27m3eHnC70Afnhg2VxyMHdGqWSNS7rBunv/8MnqO7LTk9/Rl\nDwjxiDKcEvUnq5/p7Wng5aajG/wK3NV8m63OV4Bne0dmyxJeaQMji1e2U0u/\nRc8YbvCjXozJ+6s8KctQ3IzqVFHLl1xvuVomVP5sjc3UbBfDfhh+5dKNLRLR\nc6wPr42NWmpwnPPmbFrBUyr4ScUsfBXpshJNkHmCgq8UYWcb3aVkTtr74QOv\n+3HkREwJRJhKeDWSF1P+1xeLlZV/82xTXVJ74UZV5a1IGgkhku2uVxn3dOAi\n67zQ\r\n=ho/8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"fc51b1cbd743ee3e7e4dba7c326583b744c83d1f","_npmUser":{"name":"gregsullivan","email":"greg@gregsullivan.com"},"repository":{"url":"git+https://github.com/gregsullivan/_tw-themejson.git","type":"git"},"_npmVersion":"7.20.1","description":"A Tailwind CSS plugin that adds colors and widths from a WordPress theme’s theme.json file to a Tailwind project’s configuration.","directories":{},"_nodeVersion":"14.17.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"tailwindcss":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/themejson_0.1.2_1631144584909_0.7503949509259478","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@_tw/themejson","version":"0.2.0","license":"MIT","_id":"@_tw/themejson@0.2.0","maintainers":[{"name":"gregsullivan","email":"greg@gregsullivan.com"}],"homepage":"https://github.com/gregsullivan/_tw-themejson#readme","bugs":{"url":"https://github.com/gregsullivan/_tw-themejson/issues"},"dist":{"shasum":"420ccdb32b99dbc97febe6bc11b6d25fecfc3089","tarball":"https://registry.npmjs.org/@_tw/themejson/-/themejson-0.2.0.tgz","fileCount":4,"integrity":"sha512-Zp9+53R/ej6rEWQN6alcZZR4Tem2mvOxYXyzM0U7vxC4VP6cfyBzfBQFtY6LxerI7WPVHWlh2EW5Izo6qhElCw==","signatures":[{"sig":"MEUCIBWHq+sakdi/dJERDOXW8vH0XBv2Th3FEfMN2v/GuocFAiEA4CojafsOxlbunNepLGkWlDrDErsjCX4X2kPQMtsHi7k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4700},"main":"index.js","gitHead":"e7704f5ce6324e0b2eadd67625a2640df18f8d2b","_npmUser":{"name":"gregsullivan","email":"greg@gregsullivan.com"},"repository":{"url":"git+https://github.com/gregsullivan/_tw-themejson.git","type":"git"},"_npmVersion":"8.19.3","description":"A Tailwind CSS plugin that adds colors and widths from a WordPress theme’s theme.json file to a Tailwind project’s configuration.","directories":{},"_nodeVersion":"18.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"tailwindcss":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/themejson_0.2.0_1700163965328_0.843164134656399","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@_tw/themejson","version":"0.2.1","description":"A Tailwind CSS plugin that adds colors and widths from a WordPress theme’s theme.json file to a Tailwind project’s configuration.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/gregsullivan/_tw-themejson.git"},"license":"MIT","publishConfig":{"access":"public"},"peerDependencies":{"tailwindcss":">=3.0.0 || insiders || >=4.0.0-alpha.20 || >=4.0.0-beta.1"},"_id":"@_tw/themejson@0.2.1","gitHead":"46595dfa5bc787fe6c53877a2af3885d9013b41a","bugs":{"url":"https://github.com/gregsullivan/_tw-themejson/issues"},"homepage":"https://github.com/gregsullivan/_tw-themejson#readme","_nodeVersion":"22.13.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-kbw7nI6MsPTZpi4EjT5BwFqb3NdAYxgrL7eMW3DaxF4Z2rOh/y+thix3HGOuX3pXdoF/EpFUYD15JVYAIoEoEQ==","shasum":"fc66a970e3c4e8b31cb0b276e5af9d91210ad4b1","tarball":"https://registry.npmjs.org/@_tw/themejson/-/themejson-0.2.1.tgz","fileCount":4,"unpackedSize":4768,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFu1YKZu+ITbd6TSmIO0qYm1HvVSVhlbJ7dmHA9ebEtMAiBwMRYyvfxesWBitAhBCGzGcZC8sNG8IsqSDUDay4zgjQ=="}]},"_npmUser":{"name":"gregsullivan","email":"greg@gregsullivan.com"},"directories":{},"maintainers":[{"name":"gregsullivan","email":"greg@gregsullivan.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/themejson_0.2.1_1737405513257_0.927519141450682"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-08T23:41:29.700Z","modified":"2025-01-20T20:38:33.641Z","0.1.0":"2021-09-07T22:31:58.877Z","0.1.1":"2021-09-08T23:41:29.996Z","0.1.2":"2021-09-08T23:43:05.103Z","0.2.0":"2023-11-16T19:46:05.506Z","0.2.1":"2025-01-20T20:38:33.430Z"},"bugs":{"url":"https://github.com/gregsullivan/_tw-themejson/issues"},"license":"MIT","homepage":"https://github.com/gregsullivan/_tw-themejson#readme","repository":{"type":"git","url":"git+https://github.com/gregsullivan/_tw-themejson.git"},"description":"A Tailwind CSS plugin that adds colors and widths from a WordPress theme’s theme.json file to a Tailwind project’s configuration.","maintainers":[{"name":"gregsullivan","email":"greg@gregsullivan.com"}],"readme":"# \\_tw × theme.json\n\nA Tailwind CSS plugin created for [\\_tw](https://underscoretw.com/) that automatically pulls colors and widths from a WordPress theme’s `theme.json` file, initiated as follows:\n\n```js\n// tailwind.config.js\nplugins: [\n\trequire('@_tw/themejson'),\n]\n```\n\nBy default, the `theme.json` file will be loaded from `./theme/theme.json`, relative to the current working directory. (The default path corresponds with that of \\_tw.) You can override this location by passing a new path as a string:\n\n```js\n// tailwind.config.js\nplugins: [\n\trequire('@_tw/themejson')('path/to/theme.json'),\n]\n```\n\nYou can also parse `theme.json` yourself and pass in the corresponding object:\n\n```js\n// tailwind.config.js\nplugins: [\n\trequire('@_tw/themejson')(require('path/to/theme.json')),\n]\n```\n\nYou may need to manage caching should you choose to use `require` to parse the JSON file.\n\nAfter initiation, the plugin will extract the base color palette (`settings.color.palette`) as well as values for `contentSize` and `wideSize`.\n\nIf one or more of your color palette’s `slug` values matches a slug in Tailwind’s default color palette, those colors from the default palette—including all shades—will be overridden by the `color` value from your `theme.json` file.\n","readmeFilename":"README.md"}