Skip to content
0

配置首页彩虹渐变样式

配置首页彩虹渐变样式

环境

Teek@1.5.0-2025.9.23 版本上测试

自己的开源库《vitepress-theme-teek-one》 --(克隆自 作者Teeker的文档风开源库《vitepress-theme-teek-docs-template》)

2025年9月27日测试

默认

配置

编辑docs\.vitepress\theme\index.ts文件:

ts
import "vitepress-theme-teek/theme-chalk/tk-index-rainbow.css"; // Vitepress 首页彩虹渐变样式

验证:

image-20250927071416173

结束。

最近更新