Skip to content

pantoken / renderers/pendo/src / buildPendoCss

Funksjon: buildPendoCss()

buildPendoCss(options?): string

Beta

Bygg stilarket for Pendo-guiden.

Parametere

options?

BuildPendoCssOptions = {}

BuildPendoCssOptions.

Returnerer

string

Den sammensatte CSS-en.

Eksempler

Standard rebrand-bygg (scoped, !important, prunet)

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

const css = buildPendoCss();

Canvas-tema, ikke scoped, behold hele token-settet

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

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