Skip to content

pantoken / renderers/pendo/src / addImportant

Function: addImportant()

addImportant(): Plugin

Beta

Create the add-!important plugin.

Returns

Plugin

Example

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

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