macos - Turn off Dark Mode only for Safari in macOS Big Sur 11.6
问题描述
The solutions provided in these related questions
- Is there a way to toggle Dark Mode on/off for individual apps in MacOs Mojave?
- https://apple.stackexchange.com/questions/338044/can-i-turn-to-dark-mode-only-for-specific-apps-in-macos-mojave
- https://apple.stackexchange.com/questions/346579/how-can-i-remove-dark-mode-from-ms-office-apps-without-disabling-it-across-mac
do not work with the most recent update of MacOS. Specifically, the line
defaults write <Bundle-Identifier> NSRequiresAquaSystemAppearance -bool yes
does not have any effect in Safari. Neither does the app NightOwl, though it does work for apps other than Safari.
Does anyone have any suggestions on why this no longer works?
解决方案
I use Gray, which is available on GitHub. It will do what you want to do.
推荐阅读
- javascript - 如何使用 Javascript 驱动媒体查询?
- c# - Blazor:没有会话/JWT 令牌时重定向到登录页面?
- oracle - Oracle Apex 5.1 - 如何根据特定条件动态显示/隐藏文本字段上的“*”必需符号
- arrays - 当值指定为数组时,如何设置类属性?
- python - 如何将物体的图像与其用固定相机拍摄的旋转版本的图像相匹配?
- c# - 如何使用 NuGet Bing.RestClient 调用 Bing Maps REST 服务
- powershell - 仅从具有特定文件类型的给定树中复制特定文件夹结构
- web-services - 将服务引用添加到 DNN 站点时出错
- kubernetes - 带有断路器的 EKS 上的 Traefik
- elixir - 在配置文件中调用 Project.Endpoint.static_url()