{"library":"css-variables-loader","type":"library","category":null,"description":"A Webpack loader that extracts CSS custom properties (variables) from CSS files and makes them available as a JavaScript object map. Version 2.0.2 is the latest stable release. It only supports variables defined on the `:root` selector and requires a Webpack-based build setup. Unlike CSS-modules or other approaches, this loader provides a simple key-value export of CSS variable names to their string values, facilitating dynamic theme or configuration use.","language":"javascript","status":"active","version":"2.0.2","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install css-variables-loader","imports":["import variables from 'css-variables-loader!./variables.css';","require('css-variables-loader!./variables.css')","import * as variables from 'css-variables-loader!./variables.css';"]},{"cmd":"yarn add css-variables-loader","imports":[]},{"cmd":"pnpm add css-variables-loader","imports":[]}],"homepage":null,"github":"https://github.com/Dashlane/css-variables-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/css-variables-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/css-variables-loader/compatibility"}}