00:00:00
配置首页彩虹渐变样式
配置首页彩虹渐变样式
环境
在 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 首页彩虹渐变样式
验证:
结束。