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

Beta

@pantoken/vitepress — memberi tema situs VitePress dengan token Instructure.

Pemberian tema VitePress digerakkan oleh variabel CSS --vp-*. Ini menunjuknya ke var(--instui-*), so meletakkan keluaran ke dalam .vitepress/theme/custom.css (bersama @pantoken/css, yang mendefinisikan properti kustom) mengubah tampilan dokumen menjadi gaya Instructure sementara mode terang/gelap tetap mengalir melalui token yang sama.

Antarmuka ​

Variabel ​