feat: 歌词混合模式#61
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
该 PR 为播放器歌词区域新增「歌词混合模式」设置项,用于控制歌词容器的 mix-blend-mode,以在特定模式(如 plus-lighter)下增强歌词可读性。
Changes:
- 新增
LyricBlendMode类型,并把lyricBlendMode纳入LyricSettings。 - 在设置默认值与设置面板中加入「歌词混合模式」选择项,同时补充中英文 i18n 文案。
- 在全屏播放器歌词容器样式中绑定
mixBlendMode,使设置对两种歌词引擎(AMLL / 默认)生效。
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/types/settings.ts | 增加歌词混合模式相关类型与配置字段 |
| src/stores/settings.ts | 为歌词设置增加 lyricBlendMode 默认值 |
| src/settings/categories/lyric.ts | 在歌词设置分类中新增选择项与默认值 |
| src/i18n/locales/zh-CN.json | 增加「歌词混合模式」相关中文文案 |
| src/i18n/locales/en-US.json | 增加「歌词混合模式」相关英文文案 |
| src/components/player/FullPlayer/index.vue | 在歌词容器样式中应用 mixBlendMode |
Comment on lines
+919
to
+920
| "screen": "Screen", | ||
| "plusLighter": "Plus Lighter" |
726302b to
f2ff96c
Compare
imsyy
approved these changes
Jul 1, 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.
改动类型
是否包含破坏性变更
改动说明
增加了设置项「歌词混合模式」用来控制歌词的
mix-blend-mode。当它为plus-lighter的时候能增强歌词的可读性测试情况
测试良好。测试了「默认」和「AMLL」渲染引擎
截图 / 录屏
Details
自查清单
pnpm format,并确认pnpm typecheck、pnpm lint通过pnpm build:native验证;未手写native/*/index.d.tsdev分支提交