Skip to content
/ px2rem Public

px2rem support to Brackets, convert px to rem or rem to px.

License

Notifications You must be signed in to change notification settings

IanLew/px2rem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Px2rem

Px2rem is a extension for Brackets.

Setting

The root size is 10px, set root size Ctrl+:.

Using

When the cursor is on the value, press Shift+Tab.

Custom

If you don't like the shortcut, you can reset it. Debug -> Open Your Key Map -> Add your convert key in overrides, such as:

{
    "overrides": {
        "<key>": "me.convert.pxrem"
    }
}

That's my keymap.json:

{
    "overrides": {
	"`": "me.convert.pxrem"
    }
}

About

px2rem support to Brackets, convert px to rem or rem to px.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published