Skip to content

pantoken / renderers/pendo/src / buildPendoCss

Funkcja: buildPendoCss()

buildPendoCss(options?): string

Beta

Zbuduj arkusz stylów przewodnika Pendo.

Parametry

options?

BuildPendoCssOptions = {}

BuildPendoCssOptions.

Zwraca

string

Skomponowany CSS.

Przykłady

Domyślny build rebrandu (z ograniczonym zakresem, !important, przycięty)

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

const css = buildPendoCss();

Motyw Canvas, bez zakresu, zachowaj pełny zestaw tokenów

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

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