Skip to content

pantoken / renderers/pendo/src / addImportant

Athróg: addImportant

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

Béite

Cruthaigh an breiseán add-!important.

Type Declaration

Tuairisceáin

Plugin

postcss

postcss: true

Marcóir riachtanach do bhreiseán PostCSS.

Sampla

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

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