Skip to content

Commit

Permalink
fix: move ESA font to static folder
Browse files Browse the repository at this point in the history
  • Loading branch information
silvester-pari committed Aug 6, 2024
1 parent 90ee306 commit 1f96cb4
Show file tree
Hide file tree
Showing 7 changed files with 4,783 additions and 6 deletions.
5 changes: 0 additions & 5 deletions assets/variables.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
// Ref: https://github.com/nuxt-community/vuetify-module#customvariables

@font-face {
font-family: "NotesESABold";
src: url("@/assets/notesesabol-webfont.ttf") format("truetype");
}

$body-font-family: "Arial", sans-serif;
$heading-font-family: "NotesESABold";

Expand Down
6 changes: 5 additions & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ export default {
},

// Global CSS: https://go.nuxtjs.dev/config-css
css: ["@/assets/global.scss", "./static/css/materialdesignicons.min.css"],
css: [
"@/assets/global.scss",
"./static/css/materialdesignicons.min.css",
"./static/css/notesesabold.css",
],

// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
plugins: [
Expand Down
Binary file added static/css/fonts/notesesabold/NotesESAbold.eot
Binary file not shown.
4,769 changes: 4,769 additions & 0 deletions static/css/fonts/notesesabold/NotesESAbold.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Binary file added static/css/fonts/notesesabold/NotesESAbold.woff
Binary file not shown.
9 changes: 9 additions & 0 deletions static/css/notesesabold.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@font-face {
font-family: "NotesESAbold";
src: url("./fonts/notesesabold/NotesESAbold.eot");
src: url("./fonts/notesesabold/NotesESAbold.woff") format("woff"),
url("./fonts/notesesabold/NotesESAbold.ttf") format("truetype"),
url("./fonts/notesesabold/NotesESAbold.svg") format("svg");
font-weight: normal;
font-style: normal;
}

0 comments on commit 1f96cb4

Please sign in to comment.