Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jan 11, 2024
1 parent 49db16f commit 9347d95
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 25 deletions.
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,26 @@
"type": "module",
"devDependencies": {
"bail": "^2.0.0",
"cssnano": "^5.0.0",
"debounce": "^1.0.0",
"esbuild": "^0.12.0",
"cssnano": "^6.0.0",
"debounce": "^2.0.0",
"esbuild": "^0.19.0",
"franc": "^6.0.0",
"iso-639-3": "^3.0.0",
"postcss-cli": "^8.0.0",
"prettier": "^2.0.0",
"rehype-cli": "^11.0.0",
"rehype-preset-minify": "^6.0.0",
"rehype-prevent-favicon-request": "^3.0.0",
"remark-cli": "^10.0.0",
"postcss-cli": "^11.0.0",
"prettier": "^3.0.0",
"rehype-cli": "^12.0.0",
"rehype-preset-minify": "^7.0.0",
"rehype-prevent-favicon-request": "^4.0.0",
"remark-cli": "^12.0.0",
"remark-preset-wooorm": "^9.0.0",
"stylelint": "^13.0.0",
"stylelint-config-prettier": "^8.0.0",
"stylelint-config-standard": "^22.0.0",
"xo": "^0.44.0"
"stylelint": "^14.0.0",
"stylelint-config-prettier": "^9.0.0",
"stylelint-config-standard": "^28.0.0",
"xo": "^0.56.0"
},
"scripts": {
"generate": "node build",
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix && stylelint src/index.css --fix",
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix && stylelint src/index.css --fix",
"build:js": "esbuild src/index.js --bundle --minify --target=es6 --outfile=dest/index.nomodule.js && esbuild src/index.js --bundle --minify --target=es2020 --format=esm --outfile=dest/index.module.js",
"build:css": "postcss src/index.css > dest/index.css",
"build:html": "rehype -u preset-minify -u prevent-favicon-request src -o dest",
Expand Down
27 changes: 16 additions & 11 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:root {
color-scheme: light dark;
font-family: system-ui;
background-color: hsl(0, 0%, 95%);
background-color: hsl(0deg 0% 95%);
word-break: break-word;
}

Expand All @@ -10,7 +10,7 @@ body {
}

main {
background-color: hsl(0, 0%, 97.5%);
background-color: hsl(0deg 0% 97.5%);
position: relative;
max-width: 40em;
margin: 0 auto;
Expand All @@ -21,7 +21,7 @@ main {
main {
/* Go all Tschichold when supported */
margin: 11.1vh 22.2vw 22.2vh 11.1vw;
border: 1px solid hsl(214, 13%, 90%);
border: 1px solid hsl(214deg 13% 90%);
border-radius: 3px;
}
}
Expand Down Expand Up @@ -65,7 +65,7 @@ section:last-child {
}

.highlight {
background-color: hsl(0, 0%, 100%);
background-color: hsl(0deg 0% 100%);
}

* {
Expand Down Expand Up @@ -113,7 +113,12 @@ a:target {

table,
textarea {
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier,
font-family:
SFMono-Regular,
Consolas,
"Liberation Mono",
Menlo,
Courier,
monospace;
}

Expand All @@ -140,25 +145,25 @@ textarea {

@media (prefers-color-scheme: dark) {
:root {
background-color: hsl(214, 13%, 7.5%);
color: hsl(214, 13%, 95%);
background-color: hsl(214deg 13% 7.5%);
color: hsl(214deg 13% 95%);
}

main {
background-color: hsl(214, 13%, 5%);
background-color: hsl(214deg 13% 5%);
}

@media (min-width: 40em) and (min-height: 20em) {
main {
border-color: hsl(214, 13%, 12.5%);
border-color: hsl(214deg 13% 12.5%);
}
}

.highlight {
background-color: hsl(214, 13%, 2.5%);
background-color: hsl(214deg 13% 2.5%);
}

section {
border-color: hsl(214, 13%, 12.5%);
border-color: hsl(214deg 13% 12.5%);
}
}

0 comments on commit 9347d95

Please sign in to comment.