Skip to content

pantoken / renderers/pendo/src / buildPendoCss

函式: buildPendoCss()

buildPendoCss(options?): string

Beta(測試)

建立 Pendo 指南樣式表。

參數

options?

BuildPendoCssOptions = {}

BuildPendoCssOptions.

回傳

string

組合後的 CSS。

範例

預設重新品牌建置(已作用域、使用 !important、已精簡)

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

const css = buildPendoCss();

Canvas 主題,未加作用域,保留完整的 token 集合

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

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