Skip to content

Commit 886a089

Browse files
authored
Update devDependencies (#4304)
* linkinator ^2.16.2 → ^3.0.1 * marked ^4.0.7 → ^4.0.8 * remark-cli ^10.0.0 → ^10.0.1 * stylelint ^13.13.1 → ^14.1.0 * stylelint-config-twbs-bootstrap ^2.2.4 → ^3.0.0 * switch to @metalsmith/markdown 1.4.0 Also, specify `--report-needless-disables` for stylelint while at it
1 parent cc4b5b7 commit 886a089

File tree

6 files changed

+2056
-3686
lines changed

6 files changed

+2056
-3686
lines changed

Diff for: .stylelintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": [
3-
"stylelint-config-twbs-bootstrap/scss"
3+
"stylelint-config-twbs-bootstrap"
44
],
55
"rules": {
66
"declaration-no-important": null,

Diff for: build.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const feed = require('metalsmith-feed');
1717
const discoverHelpers = require('metalsmith-discover-helpers');
1818
const discoverPartials = require('metalsmith-discover-partials');
1919
const layouts = require('metalsmith-layouts');
20-
const markdown = require('metalsmith-markdown');
20+
const markdown = require('@metalsmith/markdown');
2121
const prism = require('metalsmith-prism');
2222
const permalinks = require('@metalsmith/permalinks');
2323
const pagination = require('metalsmith-yearly-pagination');

Diff for: layouts/css/page-modules/_home.scss

+22-22
Original file line numberDiff line numberDiff line change
@@ -129,19 +129,19 @@
129129
*/
130130

131131
[role="button"] {
132-
border: 1px solid hsl(0, 0%, 39%);
132+
border: 1px solid hsl(0deg, 0%, 39%);
133133
border-radius: 5px;
134-
box-shadow: 0 1px 2px hsl(0, 0%, 45%);
134+
box-shadow: 0 1px 2px hsl(0deg, 0%, 45%);
135135
color: #fff;
136-
text-shadow: 0 -1px 1px hsl(0, 0%, 15%);
137-
background-color: hsl(0, 0%, 31%);
138-
background-image: linear-gradient(to bottom, hsl(0, 0%, 33%), hsl(0, 0%, 27%));
136+
text-shadow: 0 -1px 1px hsl(0deg, 0%, 15%);
137+
background-color: hsl(0deg, 0%, 31%);
138+
background-image: linear-gradient(to bottom, hsl(0deg, 0%, 33%), hsl(0deg, 0%, 27%));
139139
}
140140

141141
[role="button"]:hover {
142-
border-color: hsl(0, 0%, 19%);
143-
background-color: hsl(0, 0%, 21%);
144-
background-image: linear-gradient(to bottom, hsl(0, 0%, 23%), hsl(0, 0%, 17%));
142+
border-color: hsl(0deg, 0%, 19%);
143+
background-color: hsl(0deg, 0%, 21%);
144+
background-image: linear-gradient(to bottom, hsl(0deg, 0%, 23%), hsl(0deg, 0%, 17%));
145145
cursor: pointer;
146146
}
147147

@@ -158,34 +158,34 @@
158158
right: calc(-1px - 3px - 3px);
159159
bottom: calc(-1px - 3px - 3px);
160160
left: calc(-1px - 3px - 3px);
161-
border: 3px solid hsl(0, 0%, 39%);
161+
border: 3px solid hsl(0deg, 0%, 39%);
162162

163163
/* button border radius + outline width + offset */
164164
border-radius: calc(5px + 3px + 3px);
165165
content: "";
166166
}
167167

168168
[role="button"]:active {
169-
border-color: hsl(0, 0%, 29%);
170-
background-color: hsl(0, 0%, 11%);
171-
background-image: linear-gradient(to bottom, hsl(0, 0%, 33%), hsl(0, 0%, 27%));
172-
box-shadow: inset 0 3px 5px 1px hsl(0, 0%, 10%);
169+
border-color: hsl(0deg, 0%, 29%);
170+
background-color: hsl(0deg, 0%, 11%);
171+
background-image: linear-gradient(to bottom, hsl(0deg, 0%, 33%), hsl(0deg, 0%, 27%));
172+
box-shadow: inset 0 3px 5px 1px hsl(0deg, 0%, 10%);
173173
}
174174

175175
[role="button"][aria-pressed] {
176-
border-color: hsl(0, 0%, 29%);
177-
box-shadow: 0 1px 2px hsl(0, 0%, 35%);
178-
text-shadow: 0 -1px 1px hsl(0, 0%, 5%);
179-
background-color: hsl(0, 0%, 31%);
180-
background-image: linear-gradient(to bottom, hsl(0, 0%, 33%), hsl(0, 0%, 27%));
176+
border-color: hsl(0deg, 0%, 29%);
177+
box-shadow: 0 1px 2px hsl(0deg, 0%, 35%);
178+
text-shadow: 0 -1px 1px hsl(0deg, 0%, 5%);
179+
background-color: hsl(0deg, 0%, 31%);
180+
background-image: linear-gradient(to bottom, hsl(0deg, 0%, 33%), hsl(0deg, 0%, 27%));
181181
}
182182

183183
[role="button"][aria-pressed]:hover {
184-
border-color: hsl(0, 0%, 9%);
185-
background-color: hsl(0, 0%, 31%);
186-
background-image: linear-gradient(to bottom, hsl(0, 0%, 13%), hsl(0, 0%, 7%));
184+
border-color: hsl(0deg, 0%, 9%);
185+
background-color: hsl(0deg, 0%, 31%);
186+
background-image: linear-gradient(to bottom, hsl(0deg, 0%, 13%), hsl(0deg, 0%, 7%));
187187
}
188188

189189
[role="button"][aria-pressed]:focus::before {
190-
border-color: hsl(0, 0%, 29%);
190+
border-color: hsl(0deg, 0%, 29%);
191191
}

Diff for: layouts/css/page-modules/_scrollToTop.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ html {
2222

2323
// Prevent button from flashing on page load
2424
opacity: 0;
25-
animation: buttonFade .5s 1s 1 forwards;
25+
animation: button-fade .5s 1s 1 forwards;
2626

27-
@keyframes buttonFade {
27+
@keyframes button-fade {
2828
0% {
2929
opacity: 0;
3030
}

0 commit comments

Comments
 (0)