# 贡献指南 欢迎为墨韵(dsh-web-theme)贡献代码! ## 开发流程 1. Fork 本仓库 2. 创建功能分支(`git checkout -b feature/amazing-feature`) 3. 提交更改(`git commit -m 'feat: add amazing feature'`) 4. 推送到分支(`git push origin feature/amazing-feature`) 5. 提交 Pull Request ## 代码规范 - TypeScript 宿主端代码使用 2 空格缩进 - 客户端 `client.js` 使用 `__ModuleLoader__` 格式 - 所有主题必须包含 8 种语言的文案 - 新增主题需提供对应的预览图 ## 提交信息 遵循 [Conventional Commits](https://www.conventionalcommits.org/) 规范: - `feat:` 新功能 - `fix:` Bug 修复 - `docs:` 文档更新 - `style:` 代码风格调整 - `refactor:` 代码重构