Repository navigation
feat(mist-player): 新增平板类 Apple Music 播放页插件 - #13
Merged
Merged
Conversation
基于 API 1.12:画布用封面图复刻模糊封面背景,叠调色板光晕;覆盖平板 宽屏、竖屏、全屏歌词页与迷你播放器,歌词左对齐、当前行放大、其余行模糊。 宿主 1.12 发布前暂不加入目录。
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.
概要
新增沙盒插件「平板类 Apple Music 播放页」(
com.melodia.mistplayer1.1.0,apiVersion: 1.12)。state.cover(canvasCover: true)拿到封面图,按设计稿 CSS 复刻模糊封面:放大 1.4 倍,blur(6% 宽) saturate(1.6) brightness(.75),叠两个取自调色板的径向光晕和 18% 黑色遮罩;浅色主题整体提亮。模糊结果缓存到离屏画布,只在封面、尺寸或配色变化时重画。依赖与发布
feat/plugin-api-1.12),宿主发布前不加入index.json,本 PR 合并不会触发自动发布。验证
node mist-player/test-background.cjs通过python mist-player/package.py布局校验与打包通过