Skip to content

Commit ebda694

Browse files
committed
Removed pxtorem
We don’t know enough about the theme to reliably use REMs
1 parent 78ff022 commit ebda694

2 files changed

Lines changed: 1 addition & 26 deletions

File tree

config/grunt/postcss.js

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,10 @@
11
// https://github.com/nDmitry/grunt-postcss
2-
var autoprefixer = require( 'autoprefixer' ),
3-
pxtorem = require( 'postcss-pxtorem' );
2+
var autoprefixer = require( 'autoprefixer' );
43

54
module.exports = {
65
options: {
76
map: true,
87
processors: [
9-
pxtorem( {
10-
rootValue: 10,
11-
propWhiteList: [
12-
'font',
13-
'font-size',
14-
'line-height',
15-
'letter-spacing',
16-
'margin',
17-
'margin-left',
18-
'margin-right',
19-
'margin-top',
20-
'margin-bottom',
21-
'padding',
22-
'padding-left',
23-
'padding-right',
24-
'padding-top',
25-
'padding-bottom'
26-
],
27-
selectorBlackList: [
28-
'html'
29-
],
30-
minPixelValue: 2
31-
} ),
328
autoprefixer( {
339
browsers: [
3410
'Android >= 2.1',

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"grunt-shell": "1.x",
3535
"grunt-version": "1.x",
3636
"grunt-wp-i18n": "0.x",
37-
"postcss-pxtorem": "3.x",
3837
"time-grunt": "1.x"
3938
}
4039
}

0 commit comments

Comments
 (0)