Git Product home page Git Product logo

beautiful-vscode's Introduction

How to make Visual Studio Code look good

So you want your Visual Studio Code to stop looking like a Microsoft product. It may not be as easy as it sounds, we are talking about Microsoft after all. Lucky for you, I've already done all the hard work, so here's how to beautify VSCode from start to finish.

๐ŸŽจ Colour theme

First off, you need to stop using the same theme that comes default out of the box. It's reminiscent of Visual Studio, which is never a good thing (bright green comments ๐Ÿคฎ).

  • Go to the Marketplace.
  • Install Horizon Theme.
  • Select it by pressing โŒ˜+Shift+P (or Ctrl+Shift+P for you poor Windows users), typing in "Color Theme" and selecting "Horizon" from the dropdown.

๐ŸชŸ Translucency

You gotta love that beautiful blur that you get nowadays in most UIs. Why does Visual Studio Code not have it out of the box?

  • Go to the Marketplace.
  • Install Vibrancy.
  • Restart Visual Studio Code when it asks you.

Upon restarting you should have a semi-ugly broken UI with some translucent blurry bits. Not to worry, we will fix it.

โš ๏ธ Warning

YMMV depending on your operating system. This was all tested on macOS but unless you're running an ancient version of Windows you should also be fine.

๐Ÿ‘จโ€๐Ÿ”ง Fixing the UI

Now we get to the fun part, the CSS customisations that tie everything together.

  • Go to the Marketplace.
  • Install "Customize UI".
  • It may also ask you to install Monkey Patch, do it.

Now that it's installed (you may have to restart VSCode), we need to specify which elements on the page we want to change. Since we want to remove all those ugly non-transparent bits, you have to specify the CSS rules that allow you to remove the background colour of most elements.

Not to worry, I've already done it for you.

  • Open your VSCode settings.json file (โŒ˜+Shift+P and type in "Settings JSON").
  • Paste in the following customisations.
{
	"window.titleBarStyle": "custom",
	"customizeUI.titleBar": "inline",
	"customizeUI.stylesheet": {
		".statusbar": "background-color: transparent !important",
		"#workbench.parts.statusbar": "background-color: transparent !important",
		".editor": "border-radius: 5px; background-color: transparent; overflow: hidden;",
		".editor .content, .monaco-workbench .part.panel .pane-body.integrated-terminal .terminal-outer-container": "background-color: rgba(28, 30, 38, 0.5) !important",
		".title, .tabs, .tab, .activity-bar-placeholder, .monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input, .monaco-editor .margin, .editor-container, .part.panel": "background-color: transparent !important",
		".pane-header": "background-color: transparent !important;",
		".editor > content": "background-color: rgb(28, 30, 38) !important; border-radius: 10px;",
		".composite.title > .title-label, .window-title, .activity-bar-placeholder": "display: none !important",
		".sidebar > .content": "margin-top: 5px !important",
		".sidebar .shadow": "display: none !important",
		".monaco-workbench .part.sidebar .title-actions .actions-container": "justify-content: space-evenly !important",
		".scrollbar .slider": "border-radius: 20px",
		".part.panel .composite.title": "border-top: none !important" ,
		".monaco-workbench .part.panel .pane-body.integrated-terminal .terminal-outer-container": "border-radius: 5px"
	},
	"vscode_vibrancy.theme": "Dark (Only Subbar)",
}

I know it looks like a jumbled mess but only machines understand CSS nowadays anyway, so stop complaining.

๐Ÿ”ฅ Some opinionated customisations

Realistically, you don't need half the shit that VSCode plonks on your screen every time you open it. If you wanna go full Zen mode, add the following customisations too. Be real, you don't look at the minimap.

{
	"editor.minimap.enabled": false,
	"breadcrumbs.enabled": false
}

Now you're all set! Star this repo if you found it helpful and go impress everyone with your elusive VSCode configuration.

โš ๏ธ Caveats

Don't expect this to work perfectly. This is obviously gonna be quite janky, you should only run this if you're confortable with a few UI glitches and issues.

beautiful-vscode's People

Contributors

frannyfx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.