GithubHelp home page GithubHelp logo

vscode-custom-css's Introduction

VSCode Custom CSS

Custom CSS for VSCode for some visual improvements, just my personal preferences, easily configurable to your liking. Should work okay with most themes, but no guarantees. Only tested on Windows.

Features

This CSS file adds rounded borders and/or background blur and box shadows to the following elements:

  • IntelliSense suggestions & details widget (two versions, toggleable in :root)
  • Parameter hints widget
  • Editor hover tooltips
  • Command palette
  • Files/extensions/etc
  • Minimap slider
  • Breadcrumbs widget
  • Hide the VSCode icon in the title bar

Screenshots

Suggest widget (1)

Suggest Widget (1)

Suggest widget (0)

Suggest Widget (0)

Parameter hint

Parameter hint

GitLive tooltip

GitLive tooltip

Command palette

Command palette

Screenshots are taken with the Github Dark theme.

Installation

Install the Custom CSS and JS Loader extension.

Add the following to your settings.json:

"vscode_custom_css.imports": [
  "file:///path/to/vscode-custom-css/custom.css"
],

Extra

Theme tweaks

My changes to the One Dark Pro Darker theme to make it just a little nicer. To use, add the following to your settings.json:

"workbench.colorCustomizations": {
  "[One Dark Pro Darker]": {
    "editor.background": "#1e2227",
    "sideBar.background": "#191d22",
    "list.inactiveSelectionBackground": "#2d333d",
    "list.hoverBackground": "#2d333d80",
    "titleBar.activeBackground": "#1e2227",
    "sideBarSectionHeader.background": "#1e2227",
    "terminal.background": "#1e2227"
  }
},
"editor.tokenColorCustomizations": {
  "[One Dark Pro Darker]": {
    "comments": "#5c6370",
    "textMateRules": [
      {
        "scope": "comment",
        "settings": {
          "fontStyle": "italic"
        }
      }
    ]
  }
}

Customization tips

Toggle the developer tools from the command palette to view element classes, properties, etc. Use the inspecter to target specific elements.

The JavaScript snippet below can make it easier to inspect elements that don't play nice, just paste it into the console and VSCode will be paused in debug mode after a 3 second delay. Close the developer tools to resume.

setTimeout(function () {
	debugger;
}, 3000);

vscode-custom-css's People

Contributors

mvahaste avatar

Stargazers

 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.