diff --git a/app/dist/type/inter/400.woff b/app/dist/type/inter/400.woff deleted file mode 100644 index 487fb80..0000000 Binary files a/app/dist/type/inter/400.woff and /dev/null differ diff --git a/app/dist/type/inter/400.woff2 b/app/dist/type/inter/400.woff2 deleted file mode 100644 index 1154f30..0000000 Binary files a/app/dist/type/inter/400.woff2 and /dev/null differ diff --git a/app/dist/type/inter/400i.woff b/app/dist/type/inter/400i.woff deleted file mode 100644 index 5629298..0000000 Binary files a/app/dist/type/inter/400i.woff and /dev/null differ diff --git a/app/dist/type/inter/400i.woff2 b/app/dist/type/inter/400i.woff2 deleted file mode 100644 index 86df364..0000000 Binary files a/app/dist/type/inter/400i.woff2 and /dev/null differ diff --git a/app/dist/type/inter/700.woff b/app/dist/type/inter/700.woff deleted file mode 100644 index c031137..0000000 Binary files a/app/dist/type/inter/700.woff and /dev/null differ diff --git a/app/dist/type/inter/700.woff2 b/app/dist/type/inter/700.woff2 deleted file mode 100644 index 24bf1f7..0000000 Binary files a/app/dist/type/inter/700.woff2 and /dev/null differ diff --git a/app/dist/type/inter/700i.woff b/app/dist/type/inter/700i.woff deleted file mode 100644 index 8a3e464..0000000 Binary files a/app/dist/type/inter/700i.woff and /dev/null differ diff --git a/app/dist/type/inter/700i.woff2 b/app/dist/type/inter/700i.woff2 deleted file mode 100644 index f719620..0000000 Binary files a/app/dist/type/inter/700i.woff2 and /dev/null differ diff --git a/app/dist/type/karmilla/400.woff b/app/dist/type/karmilla/400.woff deleted file mode 100755 index 6c8add5..0000000 Binary files a/app/dist/type/karmilla/400.woff and /dev/null differ diff --git a/app/dist/type/karmilla/400.woff2 b/app/dist/type/karmilla/400.woff2 deleted file mode 100755 index 6353280..0000000 Binary files a/app/dist/type/karmilla/400.woff2 and /dev/null differ diff --git a/app/dist/type/karmilla/400i.woff b/app/dist/type/karmilla/400i.woff deleted file mode 100755 index 26552ab..0000000 Binary files a/app/dist/type/karmilla/400i.woff and /dev/null differ diff --git a/app/dist/type/karmilla/700.woff b/app/dist/type/karmilla/700.woff deleted file mode 100755 index 3afd84c..0000000 Binary files a/app/dist/type/karmilla/700.woff and /dev/null differ diff --git a/app/dist/type/karmilla/700.woff2 b/app/dist/type/karmilla/700.woff2 deleted file mode 100755 index b130d38..0000000 Binary files a/app/dist/type/karmilla/700.woff2 and /dev/null differ diff --git a/app/dist/type/karmilla/700i.woff b/app/dist/type/karmilla/700i.woff deleted file mode 100755 index b6f7c08..0000000 Binary files a/app/dist/type/karmilla/700i.woff and /dev/null differ diff --git a/app/dist/type/playfair/400.woff b/app/dist/type/playfair/400.woff deleted file mode 100755 index db786dd..0000000 Binary files a/app/dist/type/playfair/400.woff and /dev/null differ diff --git a/app/dist/type/playfair/400.woff2 b/app/dist/type/playfair/400.woff2 deleted file mode 100755 index f9abf7e..0000000 Binary files a/app/dist/type/playfair/400.woff2 and /dev/null differ diff --git a/app/dist/type/playfair/400i.woff b/app/dist/type/playfair/400i.woff deleted file mode 100755 index 708c818..0000000 Binary files a/app/dist/type/playfair/400i.woff and /dev/null differ diff --git a/app/dist/type/playfair/400i.woff2 b/app/dist/type/playfair/400i.woff2 deleted file mode 100755 index 270109a..0000000 Binary files a/app/dist/type/playfair/400i.woff2 and /dev/null differ diff --git a/app/dist/type/playfair/700.woff b/app/dist/type/playfair/700.woff deleted file mode 100755 index 474879b..0000000 Binary files a/app/dist/type/playfair/700.woff and /dev/null differ diff --git a/app/dist/type/playfair/700.woff2 b/app/dist/type/playfair/700.woff2 deleted file mode 100755 index fd5918b..0000000 Binary files a/app/dist/type/playfair/700.woff2 and /dev/null differ diff --git a/app/dist/type/playfair/700i.woff b/app/dist/type/playfair/700i.woff deleted file mode 100755 index f93ac8d..0000000 Binary files a/app/dist/type/playfair/700i.woff and /dev/null differ diff --git a/app/dist/type/playfair/700i.woff2 b/app/dist/type/playfair/700i.woff2 deleted file mode 100755 index d4749c3..0000000 Binary files a/app/dist/type/playfair/700i.woff2 and /dev/null differ diff --git a/app/sass/_layout.scss b/app/sass/_layout.scss index b9a0294..55c64e3 100644 --- a/app/sass/_layout.scss +++ b/app/sass/_layout.scss @@ -1,3 +1,6 @@ +@include font-face(400); +@include font-face(700); + html, body { width: 100%; height: 100%; diff --git a/app/sass/bundle.scss b/app/sass/bundle.scss index 8e3ae00..08374c0 100755 --- a/app/sass/bundle.scss +++ b/app/sass/bundle.scss @@ -4,8 +4,6 @@ @import "init/markdown"; @import "init/extends"; -@import "type/inter"; - @import "partials/animation"; @import "partials/ecosystem"; @import "partials/email-subscribe"; diff --git a/app/sass/type/_inter.scss b/app/sass/type/_inter.scss deleted file mode 100644 index 7f24258..0000000 --- a/app/sass/type/_inter.scss +++ /dev/null @@ -1,36 +0,0 @@ -// sass-lint:disable indentation -// 400 - -@font-face { - font-family: "Inter UI"; - font-style: normal; - font-weight: 400; - src: url("../assets/type/inter/400.woff2") format("woff2"), - url("../assets/type/inter/400.woff") format("woff"); -} - -@font-face { - font-family: "Inter UI"; - font-style: italic; - font-weight: 400; - src: url("../assets/type/inter/400i.woff2") format("woff2"), - url("../assets/type/inter/400i.woff") format("woff"); -} - -// 700 - -@font-face { - font-family: "Inter UI"; - font-style: normal; - font-weight: 700; - src: url("../assets/type/inter/700.woff2") format("woff2"), - url("../assets/type/inter/700.woff") format("woff"); -} - -@font-face { - font-family: "Inter UI"; - font-style: italic; - font-weight: 700; - src: url("../assets/type/inter/700i.woff2") format("woff2"), - url("../assets/type/inter/700i.woff") format("woff"); -} diff --git a/package.json b/package.json index a4b6571..6cfded2 100755 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "fastify": "^1.13.1", "fastify-compress": "^0.7.1", "fastify-helmet": "^3.0.0", - "fastify-plugin": "^1.2.1", + "fastify-plugin": "^1.3.0", "fastify-static": "^0.14.0", "fastify-ws": "^1.0.0", "front-matter": "^3.0.1", @@ -59,7 +59,7 @@ "@inc/eslint-config": "^1.1.2", "@inc/sasslint-config": "^1.1.2", "@lbry/color": "^1.0.5", - "@lbry/components": "^1.3.1", + "@lbry/components": "^1.4.2", "eslint": "^5.9.0", "husky": "^1.2.0", "nodemon": "^1.18.7",