Last active
October 12, 2016 16:00
-
-
Save allenmoore/26bb34f098093c4bd5be8f0b1acac6b8 to your computer and use it in GitHub Desktop.
Revisions
-
Allen Moore revised this gist
Oct 12, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ var pxtorem = require( 'postcss-pxtorem' ), pxtoremOptions = { replace: false, rootValue: 16, unitPrecision: 10, propWhiteList: [ -
Allen Moore revised this gist
Oct 12, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ var pxtorem = require( 'postcss-pxtorem' ), rootValue: 16, unitPrecision: 10, propWhiteList: [ 'font', 'font-size', 'letter-spacing'] }; module.exports = { -
Allen Moore created this gist
Oct 12, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ var pxtorem = require( 'postcss-pxtorem' ), pxtoremOptions = { rootValue: 16, unitPrecision: 10, propWhiteList: [ 'font', 'font-size', 'letter-spacing', 'top', 'right', 'bottom', 'left', 'width', 'max-width', 'height', 'max-height', 'padding', 'padding-top', 'padding-right', 'padding-bottom', 'padding-left', 'margin', 'margin-top', 'margin-right', 'margin-bottom', 'margin-left'] }; module.exports = { dist: { options: { map: { inline: false, annotation: 'assets/css/dist/' }, processors: [ pxtorem( pxtoremOptions ) ] }, files: [ { expand: true, cwd: 'assets/css/src/', src: [ '**/*.css' ], dest: 'assets/css/dist/', ext: '.css' } ] } };