在 macOS 使用“液态玻璃风格”的图标替代现有图标,并引入随主题变化图标#5084
Open
WhatDamon wants to merge 13 commits intoHMCL-dev:mainfrom
Open
在 macOS 使用“液态玻璃风格”的图标替代现有图标,并引入随主题变化图标#5084WhatDamon wants to merge 13 commits intoHMCL-dev:mainfrom
WhatDamon wants to merge 13 commits intoHMCL-dev:mainfrom
Conversation
Contributor
Contributor
Author
我也注意到发灰问题了
GitHub Desktop 下面变深其实是因为背景是深色的,上一个图层应用液态玻璃效果并启用透明后会图层会从上到下降低的透明度,然后这个白色背景似乎真有点太灰,共同早就了这个问题,当然这些都是可以调整的 调整背景渐变 + 稍微拉低一点透明度(50% -> 35%)的效果如下,如果还行就用这个新的:
Icon Composer 文件:hmcl.icon.zip |
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.




在 macOS 下随主题变化而自动切换图标
部分完成了 #4117,但要随 macOS 26 的系统外观设置显示 Mono 或者 Tinted 的图标依旧需要 App Bundle
对比
价值
或许可以让 HMCL 在 macOS 26 及更高版本程序坞中图标风格没有那么突兀,macOS 15 及更早版本看起来和系统的图标风格相对更加协调
图标工程文件
新:hmcl.icon.zip
旧:hmcl.icon.zip需要做的事情
FXUtils有问题,干脆独立出来)EntryPoint中的isInsideMacAppBundle()放到OperatingSystem,毕竟未来在其他地方也有可能会使用局限性
首次打开的时候依旧会使用默认的白色图标,在
EntryPoint删除图标的初始化虽然看似问题解决但是打开软件会先显示占位图标,综合考量还是选择保留Co-developed with Qwen3-Max