pantoken / renderers/vitepress/src / toVitePressCss
Function: toVitePressCss()
toVitePressCss(
options?):string
Beta
Emit the VitePress → Instructure CSS-variable bridge.
Parameters
options?
Returns
string
The bridging CSS string.
Example
ts
import { toVitePressCss } from "@pantoken/vitepress";
const css = toVitePressCss();
// ":root { --vp-c-bg: var(--instui-color-background-base); … }"
// Write it into .vitepress/theme/custom.css alongside @pantoken/css.