Skip to content

Commit

Permalink
feat: add fonts locally
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzwa committed Jun 23, 2023
1 parent 9d572db commit 14c9e96
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"vuetify": "2.6.15"
},
"devDependencies": {
"@fontsource/roboto": "^5.0.3",
"@types/jest": "29.5.2",
"@types/luxon": "3.3.0",
"@types/validator": "13.7.17",
Expand All @@ -60,6 +61,7 @@
"eslint-plugin-vue": "9.15.0",
"jest": "29.5.0",
"lint-staged": "13.2.2",
"material-design-icons-iconfont": "6.7.0",
"prettier": "2.8.8",
"rimraf": "5.0.1",
"sass": "1.63.6",
Expand Down
2 changes: 0 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>FDM Monster</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Material+Icons">
</head>
<body>
<noscript>
Expand Down
2 changes: 2 additions & 0 deletions src/plugins/vuetify.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import Vue from "vue";
import Vuetify from "vuetify/lib/framework";
import "material-design-icons-iconfont/dist/material-design-icons.css";
import "@fontsource/roboto";

Vue.use(Vuetify);

Expand Down
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1108,6 +1108,11 @@
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.43.0.tgz#559ca3d9ddbd6bf907ad524320a0d14b85586af0"
integrity sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg==

"@fontsource/roboto@^5.0.3":
version "5.0.3"
resolved "https://registry.yarnpkg.com/@fontsource/roboto/-/roboto-5.0.3.tgz#bff6ce627b8c537e8f56e6f2bba221f425bfdf78"
integrity sha512-jbZDFwEFARDlo8TqG7th/xjhuq87GYfFpFb+uxuy+0Ng1bhRVgBRWlLj8+WIKhCTOr+h4QXbjpybLWFLUirOwQ==

"@hapi/hoek@^9.0.0":
version "9.3.0"
resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb"
Expand Down Expand Up @@ -7484,6 +7489,11 @@ [email protected]:
dependencies:
tmpl "1.0.5"

[email protected]:
version "6.7.0"
resolved "https://registry.yarnpkg.com/material-design-icons-iconfont/-/material-design-icons-iconfont-6.7.0.tgz#55cf0f3d7e4c76e032855b7e810b6e30535eff3c"
integrity sha512-lSj71DgVv20kO0kGbs42icDzbRot61gEDBLQACzkUuznRQBUYmbxzEkGU6dNBb5fRWHMaScYlAXX96HQ4/cJWA==

[email protected]:
version "2.0.14"
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50"
Expand Down

0 comments on commit 14c9e96

Please sign in to comment.