Skip to content

pantoken-root / renderers/pendo/src / addImportant

Değişken: addImportant ​

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

Beta

add-!important eklentisini oluştur.

Type Declaration ​

Döndürür ​

Plugin

postcss ​

postcss: true

Gerekli PostCSS eklentisi işareti.

Örnek ​

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

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