feat: 全局主题系统——主题引擎、语义钩子、羊皮纸主题、阅读区主题面板与照片背景 - #45
Open
Feplus2 wants to merge 3 commits into
Open
Conversation
Feplus2
added a commit
to Feplus2/better-sageread
that referenced
this pull request
Jul 26, 2026
Feplus2
added a commit
to Feplus2/better-sageread
that referenced
this pull request
Aug 13, 2026
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.
概述
本地改造的第二批:完整的全局主题能力,共 3 个独立 commit:
data-region属性(chat 面板、消息气泡等),主题包可精准定位;灵感来自 CherryStudio 主题机制"留口子但不给 DOM 地图"的痛点public/themes/parchment.css完整示例 +docs/THEMING.md(钩子清单与 CSS 变量文档化)——主题包 = manifest + CSS,社区可照文档 PR 贡献主题reader-background-service+reader-scenes场景样式说明
side-chat两个文件有 3 行data-region的交叠:那边先合的话这边 rebase 一下即可,冲突点已知且极小tsc --noEmit通过