Skip to content

pantoken / renderers/pendo/src / buildPendoCss

Funktion: buildPendoCss()

buildPendoCss(options?): string

Beta

Bygg Pendo-guidens stilark.

Parametrar

options?

BuildPendoCssOptions = {}

BuildPendoCssOptions.

Returnerar

string

Den sammansatta CSS:en.

Exempel

Standard omprofilbygge (skopad, !important, beskuren)

ts
import { buildPendoCss } from "@pantoken/pendo";

const css = buildPendoCss();

Canvas-tema, oskopad, behåll hela tokensatsen

ts
import { buildPendoCss } from "@pantoken/pendo";

const css = buildPendoCss({ theme: "canvas", scope: false, prune: false });