有没有办法为MacOs Mojave中的单个应用程序打开/关闭暗模式? [英] Is there a way to toggle Dark Mode on/off for individual apps in MacOs Mojave?

查看:124
本文介绍了有没有办法为MacOs Mojave中的单个应用程序打开/关闭暗模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

终端中是否可以在不影响其余环境的情况下为单个应用打开/关闭暗模式?我在Mac上使用日历,外观令人恐惧.其余应用在黑暗模式下看起来很棒.我只想为那个应用程序禁用它.

Is there a way in Terminal to toggle Dark Mode On/Off for an individual app without affecting the rest of the environment? I use calendar on my Mac, and the appearance is dreadful. The rest of the apps look great in Dark Mode. I want to disable it JUST for that one app.

推荐答案

Terminal中,运行以下命令:

defaults write com.apple.iCal NSRequiresAquaSystemAppearance true

要还原更改:

defaults write com.apple.iCal NSRequiresAquaSystemAppearance false

这篇关于有没有办法为MacOs Mojave中的单个应用程序打开/关闭暗模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆