postcss-droproot

1.0.3 • Public • Published

postcss-droproot

Remove :root rules

Installation

npm install postcss-droproot
postcss -u postcss-droproot -o dist/index.css src/index.css

Usage

Let's say you have :root {} rules you want gone. This plugin turns this:

:root {
  --prefix-component-background-color: blue;
}

Into this:

/postcss-droproot/

    Package Sidebar

    Install

    npm i postcss-droproot

    Weekly Downloads

    5

    Version

    1.0.3

    License

    BSD-2-Clause

    Unpacked Size

    13.4 kB

    Total Files

    5

    Last publish

    Collaborators

    • garthdb
    • lazd
    • patrickfulton
    • castastrophe