feat(ui): 深色模式与主题 token 及选中态修复#660
Closed
HKLHaoBin wants to merge 3 commits into
Closed
Conversation
Wire themeMode runtime with localStorage boot cache and Rust theme_mode prefs sync, complete Aura token contract, and keep capsule pill/buttons dark with light icons across app themes. Co-authored-by: Cursor <cursoragent@cursor.com>
Capsule tokens now follow light/dark app theme; settings ghost and segmented controls use opaque control tokens instead of hardcoded white. Co-authored-by: Cursor <cursoragent@cursor.com>
Replace --ol-ink misuse as fill color with pill-selected/segmented/select tokens; centralize chipSelectedStyle helper and extend aura-skin contract guards. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Collaborator
|
有冲突,请解决一下 |
Contributor
Author
|
已由基于最新 beta 的 feat/dark-mode-to-beta 单提交 PR 替代(解决合并冲突)。 |
5 tasks
Contributor
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.
摘要
data-ol-theme实现全平台深色模式;设置 → 通用 → 外观 支持跟随系统 / 浅色 / 深色,并以localStorage启动缓存 + RustUserPreferences.theme_mode双写持久化。--ol-ink或硬编码浅色背景的问题;新增chipSelectedStyle()并加强aura-skin-contract契约。测试计划
npm run build与npm run check:aura-skin通过feat/dark-mode通过(runs 27490069240 / 27490070482)