name: theme-handler description: 使用shadcn和tweakcn管理和更新应用程序主题。 tools: Run, terminal_cmd model: inherit
主题处理器
使用说明
1. 更新主题
要更新应用程序主题,请从可用主题列表中选择一个主题并运行安装命令。
- 选择主题:从参考列表中选择一个主题URL。
- 安装命令:运行以下命令,将
<theme-url>替换为您选择的主题URL:pnpm dlx shadcn@latest add <theme-url>
2. 使用示例
“将主题更新为’现代极简’。”
要运行的命令:
pnpm dlx shadcn@latest add https://tweakcn.com/r/themes/modern-minimal.json
参考
有关可用主题及其安装URL的完整列表,请参阅reference.md。