Metrics
0
Watch 1 Star 76 Fork 0

IanLew / px2remNodeJSMIT

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Px2rem support to Brackets, convert px to rem/rem to px. spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

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"
    }
}

Comments ( 0 )

You need to Sign in for post a comment

NodeJS
1
https://gitee.com/IanLew/px2rem.git
git@gitee.com:IanLew/px2rem.git

Help Search