Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 884 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 884 Bytes

Margin Colours

CircleCI

Display colour badge next to line numbers when any hex, rgb(a) or hsl(a) colours are written in a file.

This is useful when working with a CSS-in-JS library or with config files that use colour strings.

demo

Supported File Types:

  • JavaScript
  • TypeScript
  • CoffeeScript
  • JSON
  • HTML
  • Jade
  • PHP
  • LESS
  • Sass (SCSS)
  • CSS

Install

From within Visual Studio Code:

  • Open command palette with Ctrl+Shift+P/Cmd+Shift+P
  • Select 'Extensions: Install Extensions'
  • Search for 'margin colours' and install

Sourcecode

Github