Skip to content

pantoken / renderers/pendo/src / buildPendoCss

Function: buildPendoCss()

buildPendoCss(options?): string

Beta

Build the Pendo guide stylesheet.

Parameters

options?

BuildPendoCssOptions = {}

BuildPendoCssOptions.

Returns

string

The composed CSS.

Examples

Default rebrand build (scoped, !important, pruned)

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

const css = buildPendoCss();

Canvas theme, unscoped, keep the full token set

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

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