{"bugs":{"url":"https://github.com/tw-in-js/twind/issues"},"dist":{"shasum":"8d1895cd8aa1e6740f2ed5abf9e4a79b457e641c","tarball":"https://registry.npmjs.org/@twind/preset-ext/-/preset-ext-1.0.0-next.36.tgz","fileCount":37,"integrity":"sha512-MRrKiMpROkbpTkfrY3gBi1jXlWYdDj3xAAtH67+wJ58lurw82Uz2GNGD+HY++AMtflRPQ1lCyscUKr3qUcFKbw==","signatures":[{"sig":"MEUCIELcv/1E7DJ9lLO9UD91ybWSNhFSzPba7Mh46E/8ZmiRAiEAw/KA8m6O7jW2f9+jSYniRJlgpWjfYYaYYYcbMP2Ja5U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54985,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCrs5CRA9TVsSAnZWagAAbD0QAI3Pnvhqew7dsKKa/PD1\n5i02FDLGVSgtTs1ckup9TXARjnFCCN53fCyPvmVxoLNOSxNHino/EX6FkGf4\n8301gJhPgVbNNLo0MO6XhmfSGVuiId/ORGJv7nverCAqmZdpIJelyJvaEdFl\nYHGRhV8iBv0ddi2vmnHgbYP3r808/sE0LXVa8FC2wZ4bLAyDBtCHDbB/bU31\n3KcaABLUktwydD96tbSStgLeScTM3YR22luXCIrKBDwtnNHYxYwQWSqOPWcI\nokaR08gvQ4j3+5s9Dxf88mHCpWFc0zT5i5ujOyLD5flfKmsuMYiSHHnqOqLI\nntOWS2gMqSpHxB26DrvXbfug3TQNy5uA7M35N7weFurHwfoFSWziNhbBsBCt\n48t6hyMIDEfhr8X8jlskf+s12V1WQZ9rzd3c/YAyy8X4NZxrYbagu4a/03Bh\n0bl9ZaOAfKB7bWaw6HvhM/znSUZCJu49SZJYtW9xOF7IqhOUtvxsABAYELme\nk76JkDq6ZZ00GMJqY2QYjQIo8f12UcsIQkbZJBQMWRWX3PTcMy2ZECl4S4zb\nuT1YyexRq9Ox1yRtbAYkrpA1giPNV2dcHblDS2fYKDp3ZnNMCBezeJD6XFCD\ndVTfrXmOUJ1uoK9fXTPtREa4IgF4huTQzi9VUgkKGJynrWflf4ohFa1BG/os\n6pGj\r\n=2/hn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./preset-ext.cjs","name":"@twind/preset-ext","type":"module","_from":"file:twind-preset-ext-1.0.0-next.36.tgz","types":"./preset-ext.d.ts","unpkg":"./preset-ext.global.js","author":{"url":"https://github.com/sastan","name":"Sascha Tandel"},"esnext":"./preset-ext.esnext.js","module":"./preset-ext.js","readme":"# @twind/preset-ext [![MIT License](https://flat.badgen.net/github/license/tw-in-js/twind)](https://github.com/tw-in-js/twind/blob/next/LICENSE) [![Latest Release](https://flat.badgen.net/npm/v/@twind/preset-ext/next?icon=npm&label&cache=10800&color=blue)](https://www.npmjs.com/package/@twind/preset-ext/v/next) [![Github](https://flat.badgen.net/badge/icon/tw-in-js%2Ftwind%23preset-ext?icon=github&label)](https://github.com/tw-in-js/twind/tree/next/packages/preset-ext)\n\n---\n\n## READ THIS FIRST!\n\n**Twind v1 is still in beta. Expect bugs!**\n\n---\n\nUsed within the following [examples](https://github.com/tw-in-js/twind/tree/next/examples):\n\n- [Playground](https://github.com/tw-in-js/twind/tree/next/examples/playground)\n\n## Installation\n\nInstall from npm:\n\n```sh\nnpm install twind@next @twind/preset-ext@next\n```\n\nThen add the preset to your twind config:\n\n**with [twind](https://github.com/tw-in-js/twind/tree/next/packages/twind)**\n\n```js\nimport { setup } from 'twind'\nimport presetExt from '@twind/preset-ext'\n\nsetup({\n  presets: [presetExt()],\n  // ... additional config\n})\n```\n\n<details><summary>Usage with a script tag</summary>\n\n```html\n<head>\n  <script\n    src=\"https://cdn.jsdelivr.net/combine/npm/twind@next,npm/@twind/preset-ext@next\"\n    crossorigin\n  ></script>\n  <script>\n    twind.setup({\n      presets: [twind.presetExt()],\n      // ...\n    })\n  </script>\n</head>\n```\n\n</details>\n\n**with [Twind CDN](https://github.com/tw-in-js/twind/tree/next/packages/cdn)** — a drop-in replacement for [Tailwind CSS Play CDN](https://tailwindcss.com/docs/installation/play-cdn)\n\n```html\n<head>\n  <script\n    src=\"https://cdn.jsdelivr.net/combine/npm/@twind/cdn@next,npm/@twind/preset-ext@next\"\n    crossorigin\n  ></script>\n  <script>\n    twind.setup({\n      presets: [twind.presetExt()],\n      /* config */\n    })\n  </script>\n</head>\n```\n\n## Usage\n\nTBD: Look at the [source](./src/index.ts) for now.\n\n### Short CSS\n\nAllows any CSS properties to be added:\n\n```html\n<div class=\"background-color[#1da1f1]\" />\n```\n\n↓ ↓ ↓ ↓ ↓ ↓\n\n```css\n.background-color\\[\\#1da1f1\\] {\n  background-color: #1da1f1;\n}\n```\n\nWhen a value needs to contain a space, use an underscore (`_`) instead and Twind will automatically convert it to a space at build-time [^1].\n\n[^1]: [Tailwind CSS › Adding Custom Styles › Handling whitespace](https://tailwindcss.com/docs/adding-custom-styles#handling-whitespace)\n","engines":{"node":">=12.4"},"exports":{".":{"node":{"import":"./preset-ext.mjs","require":"./preset-ext.cjs"},"types":"./preset-ext.d.ts","esnext":"./preset-ext.esnext.js","module":"./preset-ext.js","script":"./preset-ext.global.js","default":"./preset-ext.js"},"./rules":{"node":{"import":"./rules.mjs","require":"./rules.cjs"},"types":"./rules.d.ts","esnext":"./rules.esnext.js","module":"./rules.js","script":"./rules.global.js","default":"./rules.js"},"./variants":{"node":{"import":"./variants.mjs","require":"./variants.cjs"},"types":"./variants.d.ts","esnext":"./variants.esnext.js","module":"./variants.js","script":"./variants.global.js","default":"./variants.js"},"./package.json":"./package.json"},"funding":[{"url":"https://opencollective.com/twind","type":"Open Collective"},{"url":"https://github.com/sponsors/tw-in-js","type":"Github Sponsor"}],"license":"MIT","_npmUser":{"name":"sastan","email":"s.tandel@me.com"},"homepage":"https://twind.style","jsdelivr":"./preset-ext.global.js","keywords":["twind","tw-in-js","tailwind","tailwindcss","tailwind-in-js","twind-preset","preset"],"_resolved":"/home/runner/work/twind/twind/packages/preset-ext/dist/twind-preset-ext-1.0.0-next.36.tgz","_integrity":"sha512-MRrKiMpROkbpTkfrY3gBi1jXlWYdDj3xAAtH67+wJ58lurw82Uz2GNGD+HY++AMtflRPQ1lCyscUKr3qUcFKbw==","repository":{"url":"git+https://github.com/tw-in-js/twind.git","type":"git","direction":"packages/preset-ext"},"_npmVersion":"8.1.2","description":"extension preset for twind","directories":{},"maintainers":[{"name":"sastan","email":"s.tandel@me.com"}],"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@swc/helpers":"^0.3.3"},"publishConfig":{"tag":"next","access":"public","directory":"dist"},"_hasShrinkwrap":false,"peerDependencies":{"twind":"1.0.0-next.36","typescript":"^4.4.0"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/preset-ext_1.0.0-next.36_1644870457012_0.8867741194509526","host":"s3://npm-registry-packages"},"_id":"@twind/preset-ext@1.0.0-next.36","version":"1.0.0-next.36"}