pantoken / renderers/pendo/src / addImportant
Function: addImportant()
addImportant():
Plugin
Beta
Create the add-!important plugin.
Returns
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}"