Skip to content

pantoken / renderers/pendo/src / buildPendoCss

Swyddogaeth: buildPendoCss()

buildPendoCss(options?): string

Bêta

Adeiladu dalen arddull canllaw Pendo.

Paramedrau

options?

BuildPendoCssOptions = {}

BuildPendoCssOptions.

Yn dychwelyd

string

Y CSS wedi'i gyfuno.

Enghreifftiau

Adeilad ailfrandio diofyn (wedi'i gyfyngu, !important, wedi'i dorri)

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

const css = buildPendoCss();

Thema Canvas, heb ei gyfyngu, cadw set tokenau gyflawn

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

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