Skip to content

pantoken / renderers/pendo/src / addImportant

משתנה: addImportant

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

בטא

צור את התוסף add-!important.

Type Declaration

מחזיר

Plugin

postcss

postcss: true

סמן דרוש לתוסף PostCSS.

דוגמה

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

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