Skip to content

Commit

Permalink
- Switched back to uncss 0.14.1 with Phantom JS, because JSDOM versio…
Browse files Browse the repository at this point in the history
…n has no option to ignore .js, which causes issues for external resources when developing behind a firewall

- Fixed breaking change of precss (migrated from postcss-color-function 'color' to postcss-preset-env 'color-mod')
  • Loading branch information
michaelx committed Jun 22, 2018
1 parent d45125a commit 9060038
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/_assets/styles/base/_base.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ a {
text-decoration: none;
color: $brand-color;
&:visited {
color: color($brand-color shade(15%));
color: color-mod($brand-color shade(15%));
}
&:hover {
text-decoration: underline;
Expand Down
4 changes: 2 additions & 2 deletions app/_assets/styles/utilities/_variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ $background-color: #fdfdfd;
$brand-color: #2a7ae2;

$grey-color: #828282;
$grey-color-light: color($grey-color lightness(90%));
$grey-color-dark: color($grey-color shade(40%));
$grey-color-light: color-mod($grey-color lightness(90%));
$grey-color-dark: color-mod($grey-color shade(40%));

$on-palm: 600px;
$on-laptop: 800px;
1 change: 0 additions & 1 deletion gulp/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ module.exports = {
dest: productionAssets + '/css/',
options: {
uncss: {
htmlroot: production,
html: [
production + '/**/*.html'
],
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gulp-jekyll",
"version": "0.2.0",
"version": "0.2.1",
"description": "The build process for gulp-jekyll",
"author": "Michael Xander",
"repository": "michaelx/gulp-jekyll",
Expand Down Expand Up @@ -39,14 +39,14 @@
"jshint": "^2.9.5",
"jshint-stylish": "^2.2.1",
"postcss-reporter": "^5.0.0",
"postcss-uncss": "^0.16.1",
"postcss-uncss": "^0.14.0",
"precss": "^3.1.2",
"pretty-hrtime": "^1.0.3",
"require-dir": "^1.0.0",
"run-sequence": "^2.2.1",
"stylelint": "^9.3.0",
"stylelint-order": "^0.8.1",
"uncss": "^0.16.1",
"uncss": "^0.14.1",
"vinyl-source-stream": "^2.0.0",
"watchify": "^3.11.0"
},
Expand Down

0 comments on commit 9060038

Please sign in to comment.