{"bugs":{"url":"https://github.com/robinweser/fela/issues"},"dist":{"shasum":"291b3f6c0cbf741fadf01cde257d4814f5000238","tarball":"https://registry.npmjs.org/fela-plugin-fallback-value/-/fela-plugin-fallback-value-12.0.0-y.0.tgz","fileCount":6,"integrity":"sha512-ydyU5xfsxVlFKG53MOfgxRyQ9s7Up1kMGVMTFbRLdnUm8jgP1V78gzgZxJS7JJQrYqxOASlBJaRPzgo3jL1fJA==","signatures":[{"sig":"MEYCIQCw2cSge1vCPQ23ni0AOBijLCTPUvGmS5pCJphygqZWzgIhAOaiLcOk1XV6tQ4l1Si89GtJu4u+FFqwrTih+4BFT3o5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFRpkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoB3A//V2SgCYw6Ir1gvzJ4QgUBmRrJiZqvrN78Tk1m3+yWVpo7bzdX\r\nQtLYwK/lDPtI+xM8E/8fbPK6m7pWby70ElpXRlD3UJnS83GtpJOhJ35niMbv\r\nOFIQQMszlRhJbtDS4LjQlXyVRMpCaAYQ7OumY4sG5FKDzXuEXR1GJQKDxbmz\r\nrY2xc8LbzDur3V3xjl3q5fq8mJTGa3ouGHd3CxwqivPxxEPyVzQt9pQtPNHd\r\nV97l7bQY9gUSFDiU1oYUUy3UIG/t1Z7VBU4JsnJ0QAZbP+VaLaFqQtxZEAMh\r\n7A+93BoETvY3xejz3QfvPXWBJEyCQ+vCpBBazyMn9iYZN6QWr10SXykO6ong\r\nePTu2/96NJjVdWzm4KlWP3zZPxxB3uCL08BgvZoXifMsFAJebCEC4abJmg97\r\nzwXWNX1ft8H6aLkTOEaATpYxBlVVhT67lGJZ3bWEBkP8VONc7YhIi+Rwuxc4\r\nEXyqENne7nGzWJvkGKROMIk5SBkAND4oDp3B2x0LGr3DPD4eCszlAozaqMiJ\r\n5lg/n3xyRN15zIgFDy4AAlhbUq3H9XG5YcGYqOHhLojh6biXNZzod7LkXRK4\r\nymlfL1dTXn0w8q/buEGp1mVzuOCWgcSrtOiDrEFydM7YM/hwg6wXoA5K0dmp\r\nB1V7zGpZqZKS7jaUqmqpZMGJVjyvrABEwvg=\r\n=+qz/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","name":"fela-plugin-fallback-value","author":{"name":"Robin Weser"},"module":"es/index.js","readme":"# fela-plugin-fallback-value\n\n<img alt=\"npm version\" src=\"https://badge.fury.io/js/fela-plugin-fallback-value.svg\"> <img alt=\"npm downloads\" src=\"https://img.shields.io/npm/dm/fela-plugin-fallback-value.svg\"> <a href=\"https://bundlephobia.com/result?p=fela-plugin-fallback-value@latest\"><img alt=\"Bundlephobia\" src=\"https://img.shields.io/bundlephobia/minzip/fela-plugin-fallback-value.svg\"></a>\n\nSometimes you want to provide alternative values also know as _fallback values_. <br>\nFor example in Internet Explorer 8 there is no `rgba` compatibility for colors which means just passing _e.g. `color: rgba(0, 0, 0, 0.5)`_ would not be applied correctly.\nBy passing an array of values you can provide fallback values.\n\n## Installation\n\n```sh\nyarn add fela-plugin-fallback-value\n```\n\nYou may alternatively use `npm i --save fela-plugin-fallback-value`.\n\n## Usage\n\nMake sure to read the documentation on [how to use plugins](https://fela.js.org/docs/latest/advanced/plugins#using-plugins).\n\n```javascript\nimport { createRenderer } from 'fela'\nimport fallbackValue from 'fela-plugin-fallback-value'\n\nconst renderer = createRenderer({\n  plugins: [fallbackValue()],\n})\n```\n\n## Example\n\n#### Input\n\n```javascript\n{\n  color: ['#ccc', 'rgba(0, 0, 0, 0.5)']\n}\n```\n\n#### Output\n\n```javascript\n{\n  color: '#ccc;rgba(0, 0, 0, 0.5);'\n}\n```\n\nwhich is similar to the following CSS code:\n\n```CSS\n{\n\tcolor: #ccc;\n\tcolor: rgba(0, 0, 0, 0.5);\n}\n```\n\n## License\n\nFela is licensed under the [MIT License](http://opensource.org/licenses/MIT).<br>\nDocumentation is licensed under [Creative Commons License](http://creativecommons.org/licenses/by/4.0/).<br>\nCreated with ♥ by [@robinweser](http://weser.io) and all the great contributors.\n","gitHead":"26804548dae15e08097785c19be45d072fee217e","license":"MIT","scripts":{"test":"jest --config=jest.config.js","build":"pnpm clean && pnpm build:es && pnpm build:lib","clean":"rimraf lib es coverage","setup":"pnpm build","watch":"npm run watch:lib & npm run watch:es","build:es":"babel src --out-dir es --ignore **/__tests__","coverage":"pnpm test --coverage","watch:es":"babel src -d es -w","build:lib":"cross-env BABEL_ENV=commonjs babel src --out-dir lib --ignore **/__tests__","build:umd":"webpack --config webpack.config.js","watch:lib":"BABEL_ENV=commonjs babel src -d lib -w"},"typings":"index.d.ts","_npmUser":{"name":"rofrischmann","email":"robin@weser.io"},"homepage":"https://github.com/robinweser/fela#readme","keywords":["fela","fela-plugin","fallback value","cssinjs"],"repository":{"url":"git+https://github.com/robinweser/fela.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.2+arm64 (darwin)","description":"Fela plugin to resolve fallback values","directories":{},"jsnext:main":"es/index.js","maintainers":[{"name":"rofrischmann","email":"robin@weser.io"},{"name":"txhawks","email":"tofu.hawks@gmail.com"}],"sideEffects":false,"_nodeVersion":"14.18.2","dependencies":{"isobject":"^4.0.0","css-in-js-utils":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.0","rimraf":"^3.0.0","webpack":"^4.41.6","cross-env":"^6.0.3","@babel/cli":"^7.2.0","babel-core":"7.0.0-bridge.0","babel-jest":"^26.6.0","@babel/core":"^7.2.2","@babel/node":"^7.13.0","webpack-cli":"^3.3.10","babel-loader":"^8.2.3","@babel/polyfill":"^7.7.0","@babel/preset-env":"^7.5.5","clean-webpack-plugin":"^3.0.0","@babel/plugin-transform-modules-commonjs":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/fela-plugin-fallback-value_12.0.0-y.0_1645550180785_0.936402300165242","host":"s3://npm-registry-packages"},"_id":"fela-plugin-fallback-value@12.0.0-y.0","version":"12.0.0-y.0"}