{"versions":{"1.0.0":{"name":"@csstools/postcss-alpha-function","description":"Use the alpha() function in CSS","version":"1.0.0","contributors":[{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"license":"MIT-0","funding":[{"type":"github","url":"https://github.com/sponsors/csstools"},{"type":"opencollective","url":"https://opencollective.com/csstools"}],"engines":{"node":">=18"},"type":"module","main":"dist/index.cjs","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"},"require":{"default":"./dist/index.cjs"}}},"dependencies":{"@csstools/css-color-parser":"^3.1.0","@csstools/css-parser-algorithms":"^3.0.5","@csstools/css-tokenizer":"^3.0.4","@csstools/postcss-progressive-custom-properties":"^4.2.0","@csstools/utilities":"^2.0.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-alpha-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-alpha-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["alpha","color","css","design","postcss","postcss-plugin"],"_id":"@csstools/postcss-alpha-function@1.0.0","gitHead":"fca7b4f89596801d44669f71cff1a49a2d9e39c0","types":"./dist/index.d.ts","_nodeVersion":"24.4.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-r2L8KNg5Wriq5n8IUQcjzy2Rh37J5YjzP9iOyHZL5fxdWYHB08vqykHQa4wAzN/tXwDuCHnhQDGCtxfS76xn7g==","shasum":"8764fbbf25a5f1e106fb623ae632e01a220a6fc2","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@csstools/postcss-alpha-function/-/postcss-alpha-function-1.0.0.tgz","fileCount":7,"unpackedSize":13913,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDbbYDK1dg1b6MsHSw9XLuAAsJxS3YH7X6LOhu9TrEylgIgGtssCsCbAy1cHCjBH435lmv6jwA6L4VcdQYApbSk4Tw="}],"size":4327},"_npmUser":{"name":"anonymous","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonathantneal@hotmail.com"},{"name":"anonymous","email":"sombragriselros@gmail.com"},{"name":"anonymous","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-alpha-function_1.0.0_1755891890599_0.6988256144147242"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-22T19:44:50.810Z","publish_time":1755891890810,"_source_registry_name":"default"},"1.0.1":{"name":"@csstools/postcss-alpha-function","description":"Use the alpha() function in CSS","version":"1.0.1","contributors":[{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"license":"MIT-0","funding":[{"type":"github","url":"https://github.com/sponsors/csstools"},{"type":"opencollective","url":"https://opencollective.com/csstools"}],"engines":{"node":">=18"},"type":"module","main":"dist/index.cjs","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"},"require":{"default":"./dist/index.cjs"}}},"dependencies":{"@csstools/css-color-parser":"^3.1.0","@csstools/css-parser-algorithms":"^3.0.5","@csstools/css-tokenizer":"^3.0.4","@csstools/postcss-progressive-custom-properties":"^4.2.1","@csstools/utilities":"^2.0.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-alpha-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-alpha-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["alpha","color","css","design","postcss","postcss-plugin"],"_id":"@csstools/postcss-alpha-function@1.0.1","gitHead":"fc8c96d47a9c96dea921c90d786bde7f261e8fad","types":"./dist/index.d.ts","_nodeVersion":"24.4.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-isfLLwksH3yHkFXfCI2Gcaqg7wGGHZZwunoJzEZk0yKYIokgre6hYVFibKL3SYAoR1kBXova8LB+JoO5vZzi9w==","shasum":"7989605711de7831bc7cd75b94c9b5bac9c3728e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@csstools/postcss-alpha-function/-/postcss-alpha-function-1.0.1.tgz","fileCount":7,"unpackedSize":13774,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHZv2PdhhI7RCRMd8LFfB22aYNUg/z6+yEsuIIn5jcYDAiEAiLTJisFko7IFP5I528I/XMEd7hVFtyAv4cqeEhZ064M="}],"size":4307},"_npmUser":{"name":"anonymous","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonathantneal@hotmail.com"},{"name":"anonymous","email":"sombragriselros@gmail.com"},{"name":"anonymous","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-alpha-function_1.0.1_1758465386959_0.35048730906107917"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-21T14:36:27.224Z","publish_time":1758465387224,"_source_registry_name":"default"},"2.0.0":{"name":"@csstools/postcss-alpha-function","description":"Use the alpha() function in CSS","version":"2.0.0","contributors":[{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"license":"MIT-0","funding":[{"type":"github","url":"https://github.com/sponsors/csstools"},{"type":"opencollective","url":"https://opencollective.com/csstools"}],"engines":{"node":">=20.19.0"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"dependencies":{"@csstools/css-color-parser":"^4.0.0","@csstools/css-parser-algorithms":"^4.0.0","@csstools/css-tokenizer":"^4.0.0","@csstools/postcss-progressive-custom-properties":"^5.0.0","@csstools/utilities":"^3.0.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-alpha-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-alpha-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["alpha","color","css","design","postcss","postcss-plugin"],"gitHead":"e82e58fbb15702d23eca7458edf0a14cbbbe7f7a","_id":"@csstools/postcss-alpha-function@2.0.0","_nodeVersion":"25.1.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-MZUgpdBcg4vMk3/fal+PF9NagFhgjWlet7dbbNjhyfzsmM/FPO6iHF6M451YEJxkYGqdSJOl5wVZdvg0I2IZaw==","shasum":"08e1de44eb3451a75ae9939d45afa179882df8ec","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@csstools/postcss-alpha-function/-/postcss-alpha-function-2.0.0.tgz","fileCount":6,"unpackedSize":11229,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDCLijIpSolqd6v26AO1TNUCydvv/2SWFLHjLTlyZmjBAiAXW99XQ/NBCzcdKt12zYz4MKPbpAPZH82ncmgM0vxZnw=="}],"size":3933},"_npmUser":{"name":"anonymous","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonathantneal@hotmail.com"},{"name":"anonymous","email":"sombragriselros@gmail.com"},{"name":"anonymous","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-alpha-function_2.0.0_1768376151904_0.6597151907891043"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-14T07:35:52.047Z","publish_time":1768376152047,"_source_registry_name":"default"},"2.0.1":{"name":"@csstools/postcss-alpha-function","description":"Use the alpha() function in CSS","version":"2.0.1","contributors":[{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"license":"MIT-0","funding":[{"type":"github","url":"https://github.com/sponsors/csstools"},{"type":"opencollective","url":"https://opencollective.com/csstools"}],"engines":{"node":">=20.19.0"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"dependencies":{"@csstools/css-color-parser":"^4.0.0","@csstools/css-parser-algorithms":"^4.0.0","@csstools/css-tokenizer":"^4.0.0","@csstools/postcss-progressive-custom-properties":"^5.0.0","@csstools/utilities":"^3.0.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-alpha-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-alpha-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["alpha","color","css","design","postcss","postcss-plugin"],"gitHead":"0c784a35ede967a095300930ce36423bb7cea323","_id":"@csstools/postcss-alpha-function@2.0.1","_nodeVersion":"25.1.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-kXppoqo6QI4xVjfuRMf/2XSxldYnWELHy5R6Vo/RI8iu2IpE2vY80ZjXFJ0N36yn7zT1ZPuHpiAszpfrIaa2hA==","shasum":"862c7c2c517efbbdd7f9e914fd42f47fcb39491e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@csstools/postcss-alpha-function/-/postcss-alpha-function-2.0.1.tgz","fileCount":6,"unpackedSize":9892,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGB10t+oU/ytUMGQT7VU/UjmpFKAyTYG8YW1WqUDsiE7AiBTBo9YCciYJHbB0Q3UfaT8Bo7/z727EMmAMxsk/A+lnA=="}],"size":3737},"_npmUser":{"name":"anonymous","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonathantneal@hotmail.com"},{"name":"anonymous","email":"sombragriselros@gmail.com"},{"name":"anonymous","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-alpha-function_2.0.1_1768485874700_0.4431808312394925"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-15T14:04:34.843Z","publish_time":1768485874843,"_source_registry_name":"default"},"2.0.2":{"name":"@csstools/postcss-alpha-function","description":"Use the alpha() function in CSS","version":"2.0.2","contributors":[{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"license":"MIT-0","funding":[{"type":"github","url":"https://github.com/sponsors/csstools"},{"type":"opencollective","url":"https://opencollective.com/csstools"}],"engines":{"node":">=20.19.0"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"dependencies":{"@csstools/css-color-parser":"^4.0.1","@csstools/css-parser-algorithms":"^4.0.0","@csstools/css-tokenizer":"^4.0.0","@csstools/postcss-progressive-custom-properties":"^5.0.0","@csstools/utilities":"^3.0.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-alpha-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-alpha-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["alpha","color","css","design","postcss","postcss-plugin"],"gitHead":"219dbe1dcbcd4d76c6dd23d85ab17a1764950736","_id":"@csstools/postcss-alpha-function@2.0.2","_nodeVersion":"25.1.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-EXdJC5fds0h1KqoioUBkcYPZvcNKR64jrGkbqlDNbMU3FP1MzLEr/QJR8bj/bu53TJFIgkc9WvKcpbwVqZ4WPg==","shasum":"74ac78ae10daf06be144bbebfb919220d0443127","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@csstools/postcss-alpha-function/-/postcss-alpha-function-2.0.2.tgz","fileCount":6,"unpackedSize":10082,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDR/0Kzy9GOT9hk4ArApyzzsw9KzfAMo9x19vrIaEvclQIhAKcNSQKv0btByv66xxd24hpHx0bnj8RIMTZ5Q1agXdk+"}],"size":3752},"_npmUser":{"name":"anonymous","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonathantneal@hotmail.com"},{"name":"anonymous","email":"sombragriselros@gmail.com"},{"name":"anonymous","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-alpha-function_2.0.2_1769346272194_0.13450715028812232"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-25T13:04:32.335Z","publish_time":1769346272335,"_source_registry_name":"default"},"2.0.3":{"name":"@csstools/postcss-alpha-function","description":"Use the alpha() function in CSS","version":"2.0.3","contributors":[{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"license":"MIT-0","funding":[{"type":"github","url":"https://github.com/sponsors/csstools"},{"type":"opencollective","url":"https://opencollective.com/csstools"}],"engines":{"node":">=20.19.0"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"dependencies":{"@csstools/css-color-parser":"^4.0.2","@csstools/css-parser-algorithms":"^4.0.0","@csstools/css-tokenizer":"^4.0.0","@csstools/postcss-progressive-custom-properties":"^5.0.0","@csstools/utilities":"^3.0.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-alpha-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-alpha-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["alpha","color","css","design","postcss","postcss-plugin"],"gitHead":"ca199f9ac95cb1a21b599aead5eb8ceda849c94c","_id":"@csstools/postcss-alpha-function@2.0.3","_nodeVersion":"25.1.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-8GqzD3JnfpKJSVxPIC0KadyAfB5VRzPZdv7XQ4zvK1q0ku+uHVUAS2N/IDavQkW40gkuUci64O0ea6QB/zgCSw==","shasum":"cf7f1cfd98ec7b312813d01bb8e5b108327ed88c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@csstools/postcss-alpha-function/-/postcss-alpha-function-2.0.3.tgz","fileCount":6,"unpackedSize":10083,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD1o61611PXlviPaxLC9kvXNRRKFYI4WvZ5Yc7FhmE/XwIgIZKGzdQts+8HPdzvCLZTHC5uUimrIsrBxJ6keoOlSkg="}],"size":3758},"_npmUser":{"name":"anonymous","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonathantneal@hotmail.com"},{"name":"anonymous","email":"sombragriselros@gmail.com"},{"name":"anonymous","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-alpha-function_2.0.3_1771686462857_0.2935580607228967"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-21T15:07:42.998Z","publish_time":1771686462998,"_source_registry_name":"default"},"2.0.4":{"name":"@csstools/postcss-alpha-function","description":"Use the alpha() function in CSS","version":"2.0.4","contributors":[{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"license":"MIT-0","funding":[{"type":"github","url":"https://github.com/sponsors/csstools"},{"type":"opencollective","url":"https://opencollective.com/csstools"}],"engines":{"node":">=20.19.0"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"dependencies":{"@csstools/css-color-parser":"^4.1.0","@csstools/css-parser-algorithms":"^4.0.0","@csstools/css-tokenizer":"^4.0.0","@csstools/postcss-progressive-custom-properties":"^5.0.0","@csstools/utilities":"^3.0.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-alpha-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-alpha-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["alpha","color","css","design","postcss","postcss-plugin"],"gitHead":"8c20a4095317b7ef5f73694c8b4b42cc5145c1f5","_id":"@csstools/postcss-alpha-function@2.0.4","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-fti7+GybzvfMrv5TSU6x8rWtXWOth5nLefT5w5AKJ3F3T0bZoxlRqajF0ZUgTtnytfMd4dQ8n5UiaNmsjFA65A==","shasum":"385db639c6f87454694588b2521418295babf36f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@csstools/postcss-alpha-function/-/postcss-alpha-function-2.0.4.tgz","fileCount":6,"unpackedSize":10080,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIB58KtlRdC27PHhAuuPER6ag7FfGnup44adJPSatR+W+AiB9+aMw4znp08tTG4Rj2i05K/9rqJFZNi83Df7mfCjIWA=="}],"size":3754},"_npmUser":{"name":"anonymous","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonathantneal@hotmail.com"},{"name":"anonymous","email":"sombragriselros@gmail.com"},{"name":"anonymous","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-alpha-function_2.0.4_1776014858533_0.9338518107001399"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-12T17:27:38.674Z","publish_time":1776014858674,"_source_registry_name":"default"}},"dist-tags":{"latest":"2.0.4"},"name":"@csstools/postcss-alpha-function","time":{"created":"2025-08-22T19:44:58.889Z","modified":"2026-04-12T17:27:49.052Z","1.0.0":"2025-08-22T19:44:50.810Z","1.0.1":"2025-09-21T14:36:27.224Z","2.0.0":"2026-01-14T07:35:52.047Z","2.0.1":"2026-01-15T14:04:34.843Z","2.0.2":"2026-01-25T13:04:32.335Z","2.0.3":"2026-02-21T15:07:42.998Z","2.0.4":"2026-04-12T17:27:38.674Z"},"readme":"# PostCSS Alpha 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-alpha-function --save-dev`\n\n[PostCSS Alpha Function] lets you use the `alpha` function in\nCSS, following the [CSS Color] specification.\n\n```css\n.color {\n\tcolor: alpha(from #dddd / calc(alpha / 2));\n}\n\n:root {\n\t--a-color: alpha(from rgb(2 1 0 / var(--a)) / calc(alpha / 2));\n}\n\n/* becomes */\n\n.color {\n\tcolor: rgb(from #dddd r g b / calc(alpha / 2));\n}\n\n:root {\n\t--a-color: rgb(from rgb(2 1 0 / var(--a)) r g b / calc(alpha / 2));\n}\n```\n\n## Usage\n\nAdd [PostCSS Alpha Function] to your project:\n\n```bash\nnpm install postcss @csstools/postcss-alpha-function --save-dev\n```\n\nUse it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssAlphaFunction = require('@csstools/postcss-alpha-function');\n\npostcss([\n\tpostcssAlphaFunction(/* 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\npostcssAlphaFunction({ preserve: true })\n```\n\n```css\n.color {\n\tcolor: alpha(from #dddd / calc(alpha / 2));\n}\n\n:root {\n\t--a-color: alpha(from rgb(2 1 0 / var(--a)) / calc(alpha / 2));\n}\n\n/* becomes */\n\n.color {\n\tcolor: rgb(from #dddd r g b / calc(alpha / 2));\n\tcolor: alpha(from #dddd / calc(alpha / 2));\n}\n\n:root {\n\t--a-color: rgb(from rgb(2 1 0 / var(--a)) r g b / calc(alpha / 2));\n}\n\n@supports (color: alpha(from red / 1)) and (color: rgb(0 0 0 / 0)) {\n:root {\n\t--a-color: alpha(from rgb(2 1 0 / var(--a)) / calc(alpha / 2));\n}\n}\n```\n\n### enableProgressiveCustomProperties\n\nThe `enableProgressiveCustomProperties` option determines whether the original notation\nis wrapped with `@supports` when used in Custom Properties. By default, it is enabled.\n\n> [!NOTE]\n> We only recommend disabling this when you set `preserve` to `false` or if you bring your own fix for Custom Properties.  \n> See what the plugin does in its [README](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-progressive-custom-properties#readme).\n\n```js\npostcssAlphaFunction({ enableProgressiveCustomProperties: false })\n```\n\n```css\n.color {\n\tcolor: alpha(from #dddd / calc(alpha / 2));\n}\n\n:root {\n\t--a-color: alpha(from rgb(2 1 0 / var(--a)) / calc(alpha / 2));\n}\n\n/* becomes */\n\n.color {\n\tcolor: rgb(from #dddd r g b / calc(alpha / 2));\n\tcolor: alpha(from #dddd / calc(alpha / 2));\n}\n\n:root {\n\t--a-color: rgb(from rgb(2 1 0 / var(--a)) r g b / calc(alpha / 2));\n\t--a-color: alpha(from rgb(2 1 0 / var(--a)) / calc(alpha / 2));\n}\n```\n\n_Custom properties do not fallback to the previous declaration_\n\n## Copyright : color conversions\n\nThis software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/tree/main/css-color-4. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).\n\n[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test\n[css-url]: https://cssdb.org/#alpha-function\n[discord]: https://discord.gg/bUadyRwkJS\n[npm-url]: https://www.npmjs.com/package/@csstools/postcss-alpha-function\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Alpha Function]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-alpha-function\n[CSS Color]: https://drafts.csswg.org/css-color-5/#relative-alpha","users":{}}