mirror of
https://github.com/GuerillaStudio/vanillalist.git
synced 2024-12-30 11:51:57 +00:00
Update depencies
This commit is contained in:
parent
d7f89859cb
commit
2a41e11af6
6 changed files with 2207 additions and 2591 deletions
4728
package-lock.json
generated
4728
package-lock.json
generated
File diff suppressed because it is too large
Load diff
29
package.json
29
package.json
|
@ -9,33 +9,34 @@
|
||||||
"build:sass": "sass --no-source-map src/sass/style.scss:public/css/style.css",
|
"build:sass": "sass --no-source-map src/sass/style.scss:public/css/style.css",
|
||||||
"build:eleventy": "eleventy",
|
"build:eleventy": "eleventy",
|
||||||
"postbuild": "postcss public/css/*.css -u autoprefixer cssnano -r --no-map",
|
"postbuild": "postcss public/css/*.css -u autoprefixer cssnano -r --no-map",
|
||||||
"start": "npm-run-all build:sass --parallel watch:*",
|
"start": "npm run dev",
|
||||||
|
"dev": "npm-run-all build:sass --parallel watch:*",
|
||||||
"build": "npm-run-all build:sass build:eleventy"
|
"build": "npm-run-all build:sass build:eleventy"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@11ty/eleventy": "^0.12.1",
|
"@11ty/eleventy": "^1.0.0",
|
||||||
"autoprefixer": "^9.8.6",
|
"autoprefixer": "^10.4.2",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"cssnano": "^5.0.14",
|
"cssnano": "^5.0.17",
|
||||||
"eleventy-plugin-sharp": "0.0.3",
|
"eleventy-plugin-sharp": "0.0.3",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"postcss-cli": "^8.3.1",
|
"postcss-cli": "^9.1.0",
|
||||||
"sass": "^1.32.7",
|
"sass": "^1.49.7",
|
||||||
"sifter": "^0.0.5"
|
"sifter": "^0.5.4"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"> 1%",
|
"> 1%",
|
||||||
"not dead"
|
"not dead"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"glob": "^7.1.6",
|
"glob": "^7.2.0",
|
||||||
"glob-promise": "^4.0.1",
|
"glob-promise": "^4.2.2",
|
||||||
"postcss": "^8.4.5",
|
"postcss": "^8.4.6",
|
||||||
"postcss-import": "^14.0.2",
|
"postcss-import": "^14.0.2",
|
||||||
"postcss-scss": "^4.0.2",
|
"postcss-scss": "^4.0.3",
|
||||||
"stylelint": "^14.2.0",
|
"stylelint": "^14.4.0",
|
||||||
"stylelint-config-rational-order": "^0.0.4",
|
"stylelint-config-rational-order": "^0.1.2",
|
||||||
"stylelint-config-standard": "^24.0.0",
|
"stylelint-config-standard": "^25.0.0",
|
||||||
"stylelint-scss": "^4.1.0"
|
"stylelint-scss": "^4.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,14 +1,16 @@
|
||||||
// --------------------------------------------------------------
|
@use "sass:math";
|
||||||
// == mixins */
|
|
||||||
// --------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
|
// mixins
|
||||||
|
// -------------------------------------------------------------
|
||||||
|
|
||||||
@mixin flow($font-size, $bf: $base-font, $lh: $line-height) {
|
@mixin flow($font-size, $bf: $base-font, $lh: $line-height) {
|
||||||
$lh-value: $base-font * $lh;
|
$lh-value: $base-font * $lh;
|
||||||
$coeff: ceil($font-size / $lh-value);
|
$coeff: math.ceil(math.div($font-size, $lh-value));
|
||||||
$new-lh: ($lh-value / $font-size) * $coeff;
|
$new-lh: math.div($lh-value, $font-size) * $coeff;
|
||||||
$margin-bottom: $new-lh / $coeff;
|
$margin-bottom: math.div($new-lh, $coeff);
|
||||||
|
|
||||||
margin-bottom: $margin-bottom + em;
|
margin-bottom: $margin-bottom + em;
|
||||||
font-size: $font-size / 10 + rem;
|
font-size: math.div($font-size, 10) + rem;
|
||||||
line-height: $new-lh;
|
line-height: $new-lh;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
// -----------------------------------------------------------
|
@use "sass:math";
|
||||||
// == typography
|
|
||||||
// -----------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
|
// typography
|
||||||
|
// -------------------------------------------------------------
|
||||||
|
|
||||||
html {
|
html {
|
||||||
font-size: 62.5%;
|
font-size: 62.5%;
|
||||||
// IE9-11 calculation fix
|
font-size: calc(1em * .625); // IE9-11 calculation fix
|
||||||
font-size: calc(1em * .625);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-size: $base-font / 10 + em;
|
font-size: math.div($base-font, 10) + em;
|
||||||
line-height: $line-height;
|
line-height: $line-height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
// -----------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
// == helpers
|
// helpers
|
||||||
// -----------------------------------------------------------// screen readers
|
// -------------------------------------------------------------
|
||||||
|
|
||||||
|
// screen readers
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
|
|
||||||
// Hide only visually, but have it available for screen readers (from HTML5 Boilerplate)
|
// Hide only visually, but have it available for screen readers (from HTML5 Boilerplate)
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
|
|
||||||
.contribute__box:hover .contribute__content .emoji {
|
.contribute__box:hover .contribute__content .emoji {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
animation: "emoji-shake";
|
animation-name: emoji-shake;
|
||||||
animation-duration: 1s;
|
animation-duration: 1s;
|
||||||
animation-fill-mode: both;
|
animation-fill-mode: both;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue