{"_id":"@csstools/postcss-image-function","_rev":"7-3653e2337d04891bbd591b6d18daddf2","name":"@csstools/postcss-image-function","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.0":{"name":"@csstools/postcss-image-function","version":"1.0.0","keywords":["csswg","fallback","image function","postcss-plugin"],"license":"MIT-0","_id":"@csstools/postcss-image-function@1.0.0","maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-image-function#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"79b04fc07087de7971c2bef666957ab9f9da6cf9","tarball":"https://registry.npmjs.org/@csstools/postcss-image-function/-/postcss-image-function-1.0.0.tgz","fileCount":6,"integrity":"sha512-iuQztV6Cfeuc7NczazfickrzEhALOpxUS0yWgGkmRY1zZ0CKjBBFc/7WWSN9qupfpNAzHY7cPNcJCqUhtr+YMw==","signatures":[{"sig":"MEUCIQCphQfp6BMWrZ2cFSJbyQUQRzPJAjQaba2QSJFBHqgGRAIgJcDO/8WOBqPT/qbo+nN9nZMhcQ/kJtFazsQXn9mrRy4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6808},"type":"module","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"0b5bb6d65a0376b3bc273ac543a075997e1d6f61","scripts":{},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins/postcss-image-function"},"_npmVersion":"11.13.0","description":"Generate a solid-color image from any color","directories":{},"_nodeVersion":"26.1.0","dependencies":{"@csstools/utilities":"^3.0.0","@csstools/css-tokenizer":"^4.0.0","@csstools/css-parser-algorithms":"^4.0.0","@csstools/postcss-progressive-custom-properties":"^5.1.0"},"_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4"},"_npmOperationalInternal":{"tmp":"tmp/postcss-image-function_1.0.0_1778682382248_0.7962382219064561","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@csstools/postcss-image-function","version":"1.0.1","keywords":["csswg","fallback","image function","postcss-plugin"],"license":"MIT-0","_id":"@csstools/postcss-image-function@1.0.1","maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-image-function#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"b02065426f97fe47d03136084572cc13ad8835c1","tarball":"https://registry.npmjs.org/@csstools/postcss-image-function/-/postcss-image-function-1.0.1.tgz","fileCount":6,"integrity":"sha512-6V7+8npoBxVgO3JbIdKqI6eo1NAIQtO0oNSfLSgH439WYB43/kM+GneG4elkgglRo1ppgVhjXxmNqhI+K4pEzg==","signatures":[{"sig":"MEYCIQCDcmL3NVrCbKWmlzhAw/uAK3X+7QawMuQUVxanqg5vpAIhANh1+g0W9sb6DmSmDVrZP22Ja33qav70A7C39Yfq7bMc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6908},"type":"module","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"5439880b141f1975292c1d98cee51578eae4af3d","scripts":{},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins/postcss-image-function"},"_npmVersion":"11.13.0","description":"Generate a solid-color image from any color","directories":{},"_nodeVersion":"26.1.0","dependencies":{"@csstools/utilities":"^3.0.0","@csstools/css-tokenizer":"^4.0.0","@csstools/css-parser-algorithms":"^4.0.0","@csstools/postcss-progressive-custom-properties":"^5.1.1"},"_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4"},"_npmOperationalInternal":{"tmp":"tmp/postcss-image-function_1.0.1_1782651284744_0.9764295655790449","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@csstools/postcss-image-function","version":"1.0.2","keywords":["csswg","fallback","image function","postcss-plugin"],"license":"MIT-0","_id":"@csstools/postcss-image-function@1.0.2","maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-image-function#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"908d45817c707b2ce8426fbfc05e53b3132d1313","tarball":"https://registry.npmjs.org/@csstools/postcss-image-function/-/postcss-image-function-1.0.2.tgz","fileCount":6,"integrity":"sha512-P6y1oL5tBnJRitYe4FmHnW4zoDd5grCFWOnEsTkfAXhTJCy+lZ1wqUuluDIT2JYnhwKrOcyBmWEN/qFB9SlGHQ==","signatures":[{"sig":"MEYCIQCpoWUTO61rBILyzxrHL2Ew1poSdwIaHU+1ATXkmioUIwIhAJJrW7XeEhiavIPLpdn4NnbeGm87aCsfi439KD4XJXKq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6910},"type":"module","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"5153ff3d3cd8b15c0376c461f199a520bbb38fec","scripts":{},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins/postcss-image-function"},"_npmVersion":"11.13.0","description":"Generate a solid-color image from any color","directories":{},"_nodeVersion":"26.1.0","dependencies":{"@csstools/utilities":"^3.0.0","@csstools/css-tokenizer":"^4.0.0","@csstools/css-parser-algorithms":"^4.0.0","@csstools/postcss-progressive-custom-properties":"^5.1.2"},"_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4"},"_npmOperationalInternal":{"tmp":"tmp/postcss-image-function_1.0.2_1786812423833_0.2842017175600342","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@csstools/postcss-image-function","version":"1.0.3","keywords":["csswg","fallback","image function","postcss-plugin"],"license":"MIT-0","_id":"@csstools/postcss-image-function@1.0.3","maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-image-function#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"3533b2034234d8f90f2fc606a02a38593acdfa9c","tarball":"https://registry.npmjs.org/@csstools/postcss-image-function/-/postcss-image-function-1.0.3.tgz","fileCount":6,"integrity":"sha512-xEt0juUL09VQhyelxuQqgircEkAM2FUSOY/cMqVxz2oy1h7WMI2HvMeG8ryFqlKcZ51IDHTx9Rh1HlzWW8z+wA==","signatures":[{"sig":"MEYCIQCHmvFyT4Kpq5C9tA5Ss8Rxe8gyf238Qn/gvzpGZHHKmAIhAJuaCXfSt4xiIMqYqBDlhRvGFh+l2NC8bAU/ECdpFKJd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6912},"type":"module","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"32958f853774515e447940beee80aa3bc7eb215f","scripts":{},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins/postcss-image-function"},"_npmVersion":"11.13.0","description":"Generate a solid-color image from any color","directories":{},"_nodeVersion":"26.1.0","dependencies":{"@csstools/utilities":"^3.0.0","@csstools/css-tokenizer":"^4.0.0","@csstools/css-parser-algorithms":"^4.0.0","@csstools/postcss-progressive-custom-properties":"^5.1.3"},"_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4"},"_npmOperationalInternal":{"tmp":"tmp/postcss-image-function_1.0.3_1788708794074_0.5984044488379889","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@csstools/postcss-image-function","version":"1.0.4","keywords":["csswg","fallback","image function","postcss-plugin"],"license":"MIT-0","_id":"@csstools/postcss-image-function@1.0.4","maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-image-function#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"888c082245e2745156a2eabfd531dd85873351b5","tarball":"https://registry.npmjs.org/@csstools/postcss-image-function/-/postcss-image-function-1.0.4.tgz","fileCount":6,"integrity":"sha512-rvYIfHMEacvWsZBN6gbHFt3tW2CWiLjOHhv2xNT2nahH6N27OjsAu3ZATcj8rtC1Yq2Ih9KiNM/695nQ1CYeTQ==","signatures":[{"sig":"MEUCIQCYts+i4I3L6ZcFvYzMf+IJ24fGkWNaQY8DxI8dzddADAIgQvO80Fnwrz8JRBU82YfZGSeaoxS8E6jKCnMy033j1Sg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCu2GhgXM9z5DEST3+4Gzu1CZlVeygJuiMUWdI8/NGVvgIhAIjL5kvZhmaSL841l9qGPYtxfSfSUq2tfJqI6Du08XWt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7788},"type":"module","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"c71323d9760b2153b5febca3c719f98c0d6dac28","scripts":{},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins/postcss-image-function"},"_npmVersion":"11.13.0","description":"Generate a solid-color image from any color","directories":{},"_nodeVersion":"26.1.0","dependencies":{"@csstools/utilities":"^3.0.0","@csstools/css-tokenizer":"^4.0.2","@csstools/css-parser-algorithms":"^4.0.1","@csstools/postcss-progressive-custom-properties":"^5.1.3"},"_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4"},"_npmOperationalInternal":{"tmp":"tmp/postcss-image-function_1.0.4_1790347272006_0.2192897075460305","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@csstools/postcss-image-function","version":"1.0.5","keywords":["color","css","csswg","fallback","function","image","image-function","postcss","postcss-plugin"],"license":"MIT-0","_id":"@csstools/postcss-image-function@1.0.5","maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-image-function#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"e05662fd72f8ac45e0fe75d3f4c4504613415872","tarball":"https://registry.npmjs.org/@csstools/postcss-image-function/-/postcss-image-function-1.0.5.tgz","fileCount":6,"integrity":"sha512-sgMTZ7pvWZUbhfOGWBY6Wx4+xfLUiPbMkGtoVtvo9hrJBM9s9eAs6K8XLac0XBwYKMC7jJSH9Zq8qPNOMvTOhg==","signatures":[{"sig":"MEUCIHbAJXVX+fgH1zrFfnZqBEbJO0/ITohVq9GGDyS1unQ3AiEAiQ2jIpMyzm/+7IOwS1+pwirYl/M2kOg8w2cd6oIwr8U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCcZ9Q4i01QHDIehkNsAUQCOXx+arvdAlVluIT0E3uj5wIhAPllcfnNHesR6sB7wPwxRXGNX+i4U+/sjyr8CSBBQHMo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7231},"type":"module","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"93abc184108106095410f6576027c82aa345c20e","scripts":{},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins/postcss-image-function"},"_npmVersion":"11.13.0","description":"Generate a solid-color image from any color","directories":{},"_nodeVersion":"26.1.0","dependencies":{"@csstools/utilities":"^3.0.0","@csstools/css-tokenizer":"^4.0.2","@csstools/css-parser-algorithms":"^4.0.2","@csstools/postcss-progressive-custom-properties":"^5.1.3"},"_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4"},"_npmOperationalInternal":{"tmp":"tmp/postcss-image-function_1.0.5_1790835213466_0.357324259852555","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"_id":"@csstools/postcss-image-function@1.0.6","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"65575a10ae69bb255174ad7bc014a887c207c339","tarball":"https://registry.npmjs.org/@csstools/postcss-image-function/-/postcss-image-function-1.0.6.tgz","fileCount":6,"integrity":"sha512-zPnvAvsW0aT50joShUdBol8BtBUGwp/9OcaqLfnh3+cDetPyjGxRAf0VXrm02nWB4tivf7Yf1sKMBt6qgR2diw==","signatures":[{"sig":"MEQCICukaBXLeSwDQRUD9m5DIq750fSJoPDTH/gHEITf6fq1AiAwiGyXaycqPUx77MzJohFzh+KMymZoN8/1JHagr9ZbUQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDzTNLuos3ukNl4Xo6d+UCMSV1WIBcJYktsE+JlG2WzCAiEA0KcGhxvBQfF3u6SEEAZ9Vxmf0PAPZKohIPregSop2EQ="}],"unpackedSize":7372},"name":"@csstools/postcss-image-function","type":"module","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"a3ba3ed2174a9b2ec499cf6b380a58726e20b7f1","license":"MIT-0","scripts":{},"version":"1.0.6","_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-image-function#readme","keywords":["color","css","csswg","fallback","function","image","image-function","postcss","postcss-plugin"],"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins/postcss-image-function"},"_npmVersion":"11.13.0","description":"Generate a solid-color image from any color","directories":{},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"_nodeVersion":"26.1.0","contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"dependencies":{"@csstools/utilities":"^3.0.0","@csstools/css-tokenizer":"^4.0.2","@csstools/css-parser-algorithms":"^4.0.2","@csstools/postcss-progressive-custom-properties":"^5.1.4"},"_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-image-function_1.0.6_1790956565880_0.08783658059791888"}}},"time":{"created":"2026-05-13T14:26:22.127Z","modified":"2026-10-02T15:56:06.151Z","1.0.0":"2026-05-13T14:26:22.398Z","1.0.1":"2026-06-28T12:54:44.890Z","1.0.2":"2026-08-15T16:47:03.979Z","1.0.3":"2026-09-06T15:33:14.218Z","1.0.4":"2026-09-25T14:41:12.095Z","1.0.5":"2026-10-01T06:13:33.556Z","1.0.6":"2026-10-02T15:56:05.982Z"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"license":"MIT-0","homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-image-function#readme","keywords":["color","css","csswg","fallback","function","image","image-function","postcss","postcss-plugin"],"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins/postcss-image-function"},"description":"Generate a solid-color image from any color","contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"readme":"# PostCSS Image Function [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS Logo\" width=\"90\" height=\"90\" align=\"right\">][PostCSS]\n\n`npm install @csstools/postcss-image-function --save-dev`\n\n[PostCSS Image Function] lets you easily generate a solid-color image from any color following the [CSS Images 4 Specification].\n\n```css\n.foo {\n\tbackground-image: image(transparent);\n}\n\n.foo {\n\t--bg-image: image(transparent);\n}\n\n/* becomes */\n\n.foo {\n\tbackground-image: linear-gradient(transparent,transparent);\n}\n\n.foo {\n\t--bg-image: linear-gradient(transparent,transparent);\n}\n```\n\n## Usage\n\nAdd [PostCSS Image Function] to your project:\n\n```bash\nnpm install postcss @csstools/postcss-image-function --save-dev\n```\n\nUse it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssImageFunction = require('@csstools/postcss-image-function');\n\npostcss([\n\tpostcssImageFunction(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n\n\n## Options\n\n### preserve\n\nThe `preserve` option determines whether the original notation\nis preserved. By default, it is not preserved.\n\n```js\npostcssImageFunction({ preserve: true })\n```\n\n```css\n.foo {\n\tbackground-image: image(transparent);\n}\n\n.foo {\n\t--bg-image: image(transparent);\n}\n\n/* becomes */\n\n.foo {\n\tbackground-image: linear-gradient(transparent,transparent);\n\tbackground-image: image(transparent);\n}\n\n.foo {\n\t--bg-image: linear-gradient(transparent,transparent);\n}\n\n@supports (background-image: image(red)) {\n.foo {\n\t--bg-image: image(transparent);\n}\n}\n```\n\n[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test\n[css-url]: https://cssdb.org/#image-function\n[discord]: https://discord.gg/bUadyRwkJS\n[npm-url]: https://www.npmjs.com/package/@csstools/postcss-image-function\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Image Function]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-image-function\n[CSS Images 4 Specification]: https://drafts.csswg.org/css-images-4/#funcdef-image\n","readmeFilename":"README.md"}