Skip to content

pantoken / renderers/pendo/src / addImportant

Variabel: addImportant

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

Beta

Skapa tillägget add-!important.

Type Declaration

Returnerar

Plugin

postcss

postcss: true

Obligatorisk PostCSS-pluginmarkör.

Exempel

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

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