Skip to content

在 macOS 下随明暗模式设置 NSAppearanceNameDarkAqua#5778

Open
WhatDamon wants to merge 5 commits intoHMCL-dev:mainfrom
WhatDamon:NSAppearanceNameDarkAqua
Open

在 macOS 下随明暗模式设置 NSAppearanceNameDarkAqua#5778
WhatDamon wants to merge 5 commits intoHMCL-dev:mainfrom
WhatDamon:NSAppearanceNameDarkAqua

Conversation

@WhatDamon
Copy link
Contributor

@WhatDamon WhatDamon commented Mar 13, 2026

Resolve: #5098

Important

现在会在 macOS 上启用 JNA!

此 PR 的开发使用了 Vibe 和人工 Review 结合方式, 不能 100% 保证代码写法适宜
相关文档: https://developer.apple.com/documentation/appkit/nsappearance

效果:

image image

@Calboot
Copy link
Contributor

Calboot commented Mar 13, 2026

这下舒服了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] 在 macOS 下随应用明暗模式设置 NSAppearanceNameDarkAqua

2 participants