Skip to content

pantoken / renderers/pendo/src / addImportant

Variabel: addImportant

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

Beta

Opret tilføj-!important plugin'et.

Type Declaration

Returnerer

Plugin

postcss

postcss: true

Påkrævet PostCSS plugin marker.

Eksempel

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

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