Improve status bar color parsing on mobile - #18073
Merged
Merged
Conversation
Member
|
ok,等会我应用你给的移动端补丁。 |
88250
added a commit
to siyuan-note/siyuan-android
that referenced
this pull request
Jul 4, 2026
88250
added a commit
to siyuan-note/siyuan-harmony
that referenced
this pull request
Jul 4, 2026
88250
added a commit
to siyuan-note/siyuan-ios
that referenced
this pull request
Jul 4, 2026
Closed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description / 描述
目前移动端状态栏只支持 --b3-theme-background 的值为 rgb 或者 hex,给主题开发带来不便。本 PR 改进为任何浏览器支持的颜色都能解析。
配套的移动端原生代码更改如下,但我没有环境进行测试,不知道有没有改对:
harmony
ios
android
Type of change / 变更类型
缺陷修复
代码重构
新功能
修改文案或增加新语言
Checklist / 检查清单
我对自己的代码进行了自我审查
我拥有所提交代码的完整权利,并同意其以本项目的 AGPL-3.0 许可证授权
devbranch and has no merge conflictsPR 提交到
dev分支,并且没有合并冲突