1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 21:15:31 -04:00

add Prettier to workflow 🎀 (#128)

* prettier init

* prettier ignore

* run on everything 😬

* add prettier check script

* update deps

* Update .prettierignore
This commit is contained in:
2020-05-06 12:19:21 -04:00
committed by GitHub
parent 739f161183
commit 323b3dd9f6
43 changed files with 856 additions and 454 deletions

View File

@@ -16,14 +16,20 @@
}
// Web fonts (see components/_fonts.scss)
@mixin font-face($family, $src, $weight: normal, $style: normal, $display: swap) {
@mixin font-face(
$family,
$src,
$weight: normal,
$style: normal,
$display: swap
) {
@font-face {
font-family: $family;
font-style: $style;
font-weight: $weight;
font-display: $display;
src: url($base-url + $src + ".woff2") format("woff2"),
url($base-url + $src + ".woff") format("woff"); // stylelint-disable-line indentation
url($base-url + $src + ".woff") format("woff");
// Allow additional declarations to be passed in:
@content;