Skip to content

pantoken / renderers/pendo/src / addImportant

Variabel: addImportant

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

Beta

Buat plugin add-!important.

Type Declaration

Mengembalikan

Plugin

postcss

postcss: true

Penanda plugin PostCSS yang diperlukan.

Contoh

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

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