0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

VSCodeでOS側での色反転モードのときに強制high contrast modeになるときの対処法

Last updated at Posted at 2020-10-10

問題の概要

以前からMacOSの色反転モードを使って白ベースの画面を黒ベースに切り替え、目に優しい作業環境を整えていた。
しかし、あるとき、アップデート後にVSCodeを開くと、MacOSの色反転を検知して自動でHigh Contrastモードが起動され
白ベーツの画面がVSCodeにより色反転されそれがさらに色反転され、画面が明るくなり目が疲れる。

しかし、VSCodeを開くときにのみMacOSの色反転を無効にするのは面倒であった。
ネットで検索しても同様の事象は見かけられたが、対処法を見つけられなかった。
設定をいじっていたら対処法を見つけたので共有しておく。

対処法

Settingsを開き、"high contrast"で検索すると以下の設定ページが出てきます。

Window: Auto Detect High Contrastのチェックを外します

スクリーンショット 2020-10-10 13.37.36.png

あとは テーマをLight Modeに戻し、色反転すれば、目に優しい開発環境が構築できます。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?