Skip to content

styled-components CSS/SCSS rule sorting for vscode

Notifications You must be signed in to change notification settings

mrwwalmsley/vscode-styled-sort

 
 

Repository files navigation

vscode-styled-sort

Opinionated rule sorting for styled-components.

animated.gif

Install

Inside VSCode, press Ctrl+P, and enter:

ext install vscode-styled-sort

It should be the top result.

Opinionated sorting of styled-components rules:

Template Literals
line break
CSS ordered alphabetically
line break
Vendor prefixes (please don't)
line break
Pseudo Selectors
line break
Media Queries

Usage

Press key combination ⇧⌘P to bring up the Command Pallete. Grep for styled-components: sort.

About

styled-components CSS/SCSS rule sorting for vscode

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%