Skip to content

Commit 9060038

Browse files
committed
- Switched back to uncss 0.14.1 with Phantom JS, because JSDOM version 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')
1 parent d45125a commit 9060038

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

app/_assets/styles/base/_base.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ a {
8080
text-decoration: none;
8181
color: $brand-color;
8282
&:visited {
83-
color: color($brand-color shade(15%));
83+
color: color-mod($brand-color shade(15%));
8484
}
8585
&:hover {
8686
text-decoration: underline;

app/_assets/styles/utilities/_variables.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ $background-color: #fdfdfd;
1212
$brand-color: #2a7ae2;
1313

1414
$grey-color: #828282;
15-
$grey-color-light: color($grey-color lightness(90%));
16-
$grey-color-dark: color($grey-color shade(40%));
15+
$grey-color-light: color-mod($grey-color lightness(90%));
16+
$grey-color-dark: color-mod($grey-color shade(40%));
1717

1818
$on-palm: 600px;
1919
$on-laptop: 800px;

gulp/config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ module.exports = {
250250
dest: productionAssets + '/css/',
251251
options: {
252252
uncss: {
253-
htmlroot: production,
254253
html: [
255254
production + '/**/*.html'
256255
],

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gulp-jekyll",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "The build process for gulp-jekyll",
55
"author": "Michael Xander",
66
"repository": "michaelx/gulp-jekyll",
@@ -39,14 +39,14 @@
3939
"jshint": "^2.9.5",
4040
"jshint-stylish": "^2.2.1",
4141
"postcss-reporter": "^5.0.0",
42-
"postcss-uncss": "^0.16.1",
42+
"postcss-uncss": "^0.14.0",
4343
"precss": "^3.1.2",
4444
"pretty-hrtime": "^1.0.3",
4545
"require-dir": "^1.0.0",
4646
"run-sequence": "^2.2.1",
4747
"stylelint": "^9.3.0",
4848
"stylelint-order": "^0.8.1",
49-
"uncss": "^0.16.1",
49+
"uncss": "^0.14.1",
5050
"vinyl-source-stream": "^2.0.0",
5151
"watchify": "^3.11.0"
5252
},

0 commit comments

Comments
 (0)