Skip to content

pantoken / renderers/pendo/src / buildPendoCss

Funktion: buildPendoCss()

buildPendoCss(options?): string

Beta

Opbyg Pendo-vejledningens stylesheet.

Parametre

options?

BuildPendoCssOptions = {}

BuildPendoCssOptions.

Returnerer

string

Den komponerede CSS.

Eksempler

Standardopbygning for rebranding (omfang, !important, beskåret)

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

const css = buildPendoCss();

Canvas-tema, uden omfang, behold det fulde token-sæt

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

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