feat: add custom theme color, 增加自定义配色风格 - #151
Closed
forcemeter wants to merge 1 commit into
Closed
Conversation
Author
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
为 Dashboard 增加与浅色/深色正交的**品牌配色(palette)**切换能力:在现有
data-theme+ CSS 变量体系上扩展data-palette,账号菜单新增配色色点选择,偏好仅存localStorage(octop:ui-palette)。五套配色:玫瑰(默认
#E85D75)、科技(#4B74FA)、翠绿、琥珀、石墨。Ant DesigncolorPrimary、聊天输入框/气泡/侧栏高亮、发送按钮等品牌色改为跟随 CSS 变量;清理聊天与 Memory/TokenUsage 等处硬编码粉红,避免换配色后仍露粉。Target branch
develop(feature / fix — default)main(release/*orhotfix/*only)Type of change
Test plan
make allpasses locallycd dashboard && ./node_modules/.bin/tsc --noEmitpasseslocalStoragekeyoctop:ui-palette)Checklist
CHANGELOG.md(if user-facing)Suggested title:
feat(dashboard): add custom brand color palettesBranch:
feature/custom-theme→develop