Skip to content

pantoken-root / vitepress

vitepress ​

Compatibility ​

Target: VitePress. Current format: Built site CSS includes the Pantoken primary-brand bridge. Minimum host version: 1.6.4. Tested through 1.6.4. Newer releases require review.

Full compatibility matrix

ベータ

@pantoken/vitepress — Instructure トークンを使って VitePress サイトのテーマを設定します。

VitePress のテーマ設定は --vp-* の CSS 変数によって駆動されます。これが var(--instui-*) を指すため、出力を .vitepress/theme/custom.css に(カスタムプロパティを定義する @pantoken/css と並べて)配置するだけで、ドキュメントを Instructure の見た目に再スキンし、ライト/ダークの切り替えも同じトークンを通じて維持されます。

インターフェース ​

変数 ​