5
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

VSCodeの左下のボタンの色を変えたい!

Posted at

まずはじめに

VSCodeの左下のボタンってなんぞ?って感じだと思いますが、リモートウィンドウを開くためのボタンのことです!

↓↓↓これの青いところ↓↓↓
スクリーンショット 2025-02-19 23.55.19.png

これVScodeでは青色がデフォルトで設定されてるんですよね。自分は業務ではCursorを使ってるんですが、Cursorの文字の配色が好きでCursorではこのボタンが紫っぽい色で好きでした。
なのでVScodeでもCursorと同じ配色テーマ(Anysphere Dark)に設定したんですけど、ここのボタンの色だけ変わらなくて色々調べてみた結果変えることができたので、備忘録もかねて記事にしました^^

やり方

  1. まずVScodeでsettings.jsonを開きます。(settings.jsonの開き方はこちらを参考にしてみてください)
  2. settings.jsonに以下のコードを書く
    settings.json
    "workbench.colorCustomizations": {
            "statusBarItem.remoteBackground": "#784B84",
            "statusBarItem.remoteForeground": "#ffffff",
        }
    
  3. 以上!簡単ですね^^

ちなみにBackgroundが背景色でForegroudがボタン内の> <の色のところですね

簡単にできるので試してみてください

完成系
スクリーンショット 2025-02-20 0.21.17.png

余談ですが

この好きな配色をさがす旅をしていた時に友達のエンジニアと配色テーマの好みが違いすぎて面白かったです^v^
よければ好きな配色テーマやこのボタンの配色だったりエディタのこだわり設定があればコメントしてくれるとうれしいです!

素敵なhappy hackig life を!

5
3
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
5
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?