Skip to content

Commit

Permalink
Merge pull request #589 from Adamant-im/feat/font-Fallback
Browse files Browse the repository at this point in the history
Feat/font fallback
  • Loading branch information
bludnic authored Jan 24, 2024
2 parents 8cf60aa + 6d21b5a commit 9450334
Show file tree
Hide file tree
Showing 17 changed files with 7 additions and 388 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="#4A4A4A">
<meta name="apple-mobile-web-app-title" content="ADAMANT Messenger">

<link rel="stylesheet" href="/fonts/Exo+2.css">

</head>

<body style="background: repeating-linear-gradient(140deg, #191919, #191919 0.7px, #212121 0, #212121 5px);">
Expand Down
66 changes: 0 additions & 66 deletions public/fonts/Exo+2.css

This file was deleted.

Binary file removed public/fonts/Exo+2_100_normal.ttf
Binary file not shown.
Binary file removed public/fonts/Exo+2_100_normal.woff
Binary file not shown.
Binary file removed public/fonts/Exo+2_300_normal.ttf
Binary file not shown.
Binary file removed public/fonts/Exo+2_300_normal.woff
Binary file not shown.
Binary file removed public/fonts/Exo+2_400_italic.ttf
Binary file not shown.
Binary file removed public/fonts/Exo+2_400_italic.woff
Binary file not shown.
318 changes: 0 additions & 318 deletions public/fonts/Exo+2_400_normal.svg

This file was deleted.

Binary file removed public/fonts/Exo+2_400_normal.ttf
Binary file not shown.
Binary file removed public/fonts/Exo+2_400_normal.woff
Binary file not shown.
Binary file removed public/fonts/Exo+2_500_normal.ttf
Binary file not shown.
Binary file removed public/fonts/Exo+2_500_normal.woff
Binary file not shown.
Binary file removed public/fonts/Exo+2_700_normal.ttf
Binary file not shown.
Binary file removed public/fonts/Exo+2_700_normal.woff
Binary file not shown.
3 changes: 2 additions & 1 deletion src/assets/styles/generic/_vuetify.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@import 'vuetify/settings';
@import '../settings/_colors.scss';

$font-family: 'Exo 2', sans-serif;
$font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
Arial, sans-serif;

html {
font-family: $font-family;
Expand Down
6 changes: 4 additions & 2 deletions src/views/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,16 @@ export default defineComponent({
height: 100%;
&__title {
font-family: 'Exo 2';
font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
Arial, sans-serif;
font-weight: 100;
font-size: 40px;
line-height: 40px;
text-transform: uppercase;
}
&__subtitle {
font-family: 'Exo 2';
font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
Arial, sans-serif;
font-weight: 100;
font-size: 18px;
}
Expand Down

0 comments on commit 9450334

Please sign in to comment.