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 — tạo theme cho site VitePress với token của Instructure.

Việc tạo theme cho VitePress được điều khiển bởi các biến CSS --vp-*. Điều này trỏ chúng tới var(--instui-*), vì vậy thả kết quả đầu ra vào .vitepress/theme/custom.css (cùng với @pantoken/css, cái định nghĩa các thuộc tính tùy chỉnh) sẽ khoác lại giao diện tài liệu theo phong cách Instructure trong khi chế độ sáng/tối vẫn tiếp tục dựa trên cùng các token.

Giao diện ​

Biến ​