添加深色模式,添加Mimo模型#40
Merged
Merged
Conversation
通过 CSS 变量 + prefers-color-scheme: dark 实现明暗主题切换
OpenAI 兼容,Base URL: https://api.xiaomimimo.com/v1
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
这个 PR 主要为扩展弹窗设置页补充深色模式适配,并在 LLM 预设列表中新增 Xiaomi MiMo 入口,属于配置界面与开发协作文档的小范围更新。
Changes:
- 在
src/popup.html中引入 CSS 变量,并基于prefers-color-scheme: dark为弹窗设置页增加深色主题配色。 - 在
src/popup.ts的 OpenAI 兼容预设中新增 Xiaomi MiMo 的 Base URL 与注册链接。 - 更新仓库协作文档与忽略规则,补充 commit 提交流程说明并忽略本地目录。
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/popup.ts | 为 OpenAI 兼容 SDK 预设新增 Xiaomi MiMo 平台入口。 |
| src/popup.html | 将弹窗样式改为主题变量驱动,并新增深色模式配色。 |
| CLAUDE.md | 补充 AI 协作时的 Git 提交确认规则。 |
| .gitignore | 新增本地目录忽略项。 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| { name: 'MiniMax', baseUrl: 'https://api.minimaxi.com/v1', actionLabel: '注册', actionUrl: 'https://platform.minimaxi.com/subscribe/token-plan?code=FapfOonxo7&source=link' }, | ||
| { name: 'Kimi', baseUrl: 'https://api.moonshot.ai/v1', actionLabel: '注册', actionUrl: 'https://platform.moonshot.cn/' }, | ||
| { name: 'DeepSeek', baseUrl: 'https://api.deepseek.com', actionLabel: '注册', actionUrl: 'https://platform.deepseek.com/api_keys' }, | ||
| { name: 'Xiaomi MiMo', baseUrl: 'https://api.xiaomimimo.com/v1', actionLabel: '注册', actionUrl: 'https://platform.xiaomimimo.com?ref=HFFE2V' }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.