This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

postcss-root-var

0.1.4 • Public • Published

Purpose

Parse CSS variables declared in the :root selector.

Example

/* input */
:root {
  --red: #f00;
}

div {
  color: root-var(--red);
}

/* output */
:root {
  --red: #f00;
}

div {
  color: #f00;
}

Readme

Keywords

none

Package Sidebar

Install

npm i postcss-root-var

Weekly Downloads

6

Version

0.1.4

License

MIT

Unpacked Size

2.13 kB

Total Files

4

Last publish

Collaborators

  • mdmoreau