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 — dostosowuje wygląd witryny VitePress przy użyciu tokenów Instructure.

Motywowanie VitePress jest napędzane zmiennymi CSS --vp-*. Wskazuje je na var(--instui-*), więc wklejenie wygenerowanego wyjścia do .vitepress/theme/custom.css (obok @pantoken/css, który definiuje własne właściwości) nadaje dokumentacji wygląd Instructure, podczas gdy tryb jasny/ciemny nadal opiera się na tych samych tokenach.

Interfejsy ​

Zmienne ​