feat: 暖色主题系统 + 配置页重设计 + tiktoken/端口修复 - #14
Open
mindfn wants to merge 1 commit into
Open
Conversation
1. UI 主题系统:5 套主题(amber/ocean/forest/glass/iOS)x 明暗模式 - CSS 变量驱动,100+ 语义化变量 - 暖色 amber 为默认主题 2. 配置页 Apple Settings 风格重设计 - ConfigPanel 去除 Tailwind 硬编码,改为语义化 CSS 类 + data-tone - 三级嵌套通过缩进区分层级(非色块叠加) - 0.5px 极细分割线 + 胶囊输入框 - i18n 配置面板翻译(zh/en) 3. tiktoken SSL 修复 - app.py / react_agent.py 在 import 前预设 TIKTOKEN_CACHE_DIR - 避免运行时联网下载编码文件 4. 端口配置规范化 - vite.config.ts: 5173→4003, 19000→4005 - app_web.py: 支持 FRONTEND_PORT/WEB_PORT 环境变量 5. .gitignore 添加 .tiktoken/ 缓存目录 [宪宪/Opus-46🐾] Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
改动文件
index.cssConfigPanel/index.tsxApp.tsx/App.cssapp.py/react_agent.pyapp_web.py/vite.config.tsen.json/zh.jsonTest plan
npm run build无报错[宪宪/Opus-46🐾]
🤖 Generated with Claude Code