Skip to content

pantoken / renderers/pendo/src / addImportant

Variable: addImportant

const addImportant: {(): Plugin; postcss: true; }

Behta

Geavahit add-!important plugin.

Type Declaration

Gullii / Gávdnat

Plugin

postcss

postcss: true

Dárbbuheapmi PostCSS-plugga-márgga.

Exempel

ts
import postcss from "postcss";
import { addImportant } from "@pantoken/pendo";

const { css } = postcss([addImportant()]).process(".x{color:red}", { from: undefined });
// ".x{color:red !important}"