Browse Source

remove unused fonts

jojo 4 years ago
parent
commit
b37d8e5d4c

+ 5 - 5
src/App.vue

@@ -7,7 +7,7 @@
           v-if="!hideTest"
           style="background-color:lightgreen;"
         >
-          <span class="test-germania">For test</span>
+          <span class="title-medieval">For tests</span>
           <br />
           <button
             class="btn btn-primary custom-button"
@@ -53,7 +53,7 @@ export default {
       display: 'app-menu',
       username: '',
       onlineGameId: -1,
-      hideTest: false
+      hideTest: true
     };
   },
   components: {
@@ -81,14 +81,14 @@ export default {
 <style scoped lang="scss">
 @import './styles/fonts/fonts.scss';
 
-.test-germania {
-  font-family: GermaniaOne, cursive;
+.title-medieval {
+  font-family: MedievalSharp, cursive;
   font-size: 30px;
   font-weight: bold;
   text-transform: capitalize;
 }
 .custom-button {
-  font-family: OncialePh, cursive;
+  font-family: MedievalSharp, cursive;
   font-size: 20px;
   background-color: transparent;
   color: red;

BIN
src/assets/fonts/AutourOne-Regular.ttf


BIN
src/assets/fonts/BeyondWonderland.ttf


BIN
src/assets/fonts/CupAndTalon.ttf


BIN
src/assets/fonts/GermaniaOne-Regular.ttf


BIN
src/assets/fonts/OncialePhF01.ttf


BIN
src/assets/fonts/TexGyre.otf


+ 2 - 18
src/styles/fonts/fonts.scss

@@ -1,25 +1,9 @@
 
-@font-face {
-	font-family: 'OncialePh';
-	src: url('~@/assets/fonts/OncialePhF01.ttf') format('truetype');
-  }
-@font-face {
-  font-family: 'GermaniaOne';
-  src: url('~@/assets/fonts/GermaniaOne-Regular.ttf') format('truetype');
-}
-@font-face {
-  font-family: 'AutourOne';
-  src: url('~@/assets/fonts/AutourOne-Regular.ttf') format('truetype');
-}
-@font-face {
-  font-family: 'BeyondWonderland';
-  src: url('~@/assets/fonts/BeyondWonderland.ttf') format('truetype');
-}
 @font-face {
   font-family: 'MedievalSharp';
   src: url('~@/assets/fonts/MedievalSharp.ttf') format('truetype');
 }
 @font-face {
-  font-family: 'CupAndTalon';
-  src: url('~@/assets/fonts/CupAndTalon.ttf') format('truetype');
+  font-family: 'TexGyre';
+  src: url('~@/assets/fonts/TexGyre.otf') format('opentype');
 }