Skip to content

pantoken / pendo

pendo

Beta

@pantoken/pendo — alþjóðlegt stílsnið í Instructure-stíl fyrir Pendo leiðbeiningar.

Pendo stingur leiðbeininga‑HTML inn í gestasíðu; þetta renderar þann leiðbeininga‑DOM (._pendo-*) to match Instructure UI, using pantoken's --instui-* token layer for alignment. It includes responsive violet and sea banner guide treatments alongside alerts, popovers, surveys, and controls. The component CSS is ported from @instructure/pendo-global-css; pantoken supplies the tokens and the assembly. A single theme class containing instui activates the scoped stylesheet; compact suffixes on that class select banner colors and glyphs, and an instui-banner prefix extends the banner surface to popovers and surveys while keeping their overlay elevation.

buildPendoCss setur saman stílsniðið; pendoCss er tilbúna rebrand buildið (afmarkað, !important). Stöðug skrá er birt á @pantoken/pendo/global.css.

Dæmi

ts
import { pendoCss } from "@pantoken/pendo";
// or a variant: buildPendoCss({ theme: "canvas", scope: false })

Viðmót

Breytur

Föll

Tilvísanir

default

Endurnefnir og endurflytur út pendoCss