Coner Murphy

Published on 27 May 2020 | 1 Minute Read

Changing the colour of VSCode's menu bar

VSCode is already one of the most customisable code editors out there but did you know you can change the menu bar colour per project?

Changing the colour of VSCode's menu bar

To change the menu bar colour of your VSCode instance per project you just need to add the following folders and files to your project and no matter who picks it up your colours will be there for all to see.

Start by creating a '.vscode' folder in the root of your project and inside this folder add a 'settings.json' file, so your structure will be like:

1/
2 .vscode
3 settings.json
4 ...Other folders in your project root

With your folder and file structure set-up, open your settings.json file and drop the following code into it:

1{
2 "workbench.colorCustomizations": {
3 "titleBar.activeBackground": "",
4 "titleBar.inactiveBackground": ""
5 }
6}

Now, all you need to do is change the two empty strings to be two hex values of your choosing.

And, there you go your VSCode menu bar now changes colour per project and if you're active or not on that window.



šŸ‘„

Latest Content...

What Iā€™m up to and more.

  • 3 Reasons Why You Need to Design Components and Not Pages

    26 Jun 2021

    3 Reasons Why You Need to Design Components and Not Pages

    If you want to design better websites then you need to stop designing at a page level and start thinkning about components. Here's 3 reasons why.

  • 6 Twitter Analytics Terms You Need to Know to Grow an Audience in 2021

    26 Jun 2021

    6 Twitter Analytics Terms You Need to Know to Grow an Audience in 2021

    Building a Twitter audience is a great way to grow your business. So, here are 6 Twitter analytics terms you need to know and how to measure them.

  • The Complete 2021 Guide to HTTP Status Codes and Their SEO Influence

    1 Jun 2021

    The Complete 2021 Guide to HTTP Status Codes and Their SEO Influence

    HTTP status codes are a vital part of the web, they allow for clear communication between clients and servers as well as influence your SEO score.

Want to read more?

View all posts here