Merge pull request #233 from NicolasConstant/topic_update-electron_font

added fonts auto-hosting
This commit is contained in:
Nicolas Constant 2020-03-07 00:17:58 -05:00 committed by GitHub
commit 146ee28e79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 51 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,48 @@
@font-face {
font-family: 'Roboto';
src: url('assets/fonts/Regular/Roboto-Regular.woff2') format('woff2'),
url('assets/fonts/Regular/Roboto-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('assets/fonts/Medium/Roboto-Medium.woff2') format('woff2'),
url('assets/fonts/Medium/Roboto-Medium.woff') format('woff');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('assets/fonts/Black/Roboto-Black.woff2') format('woff2'),
url('assets/fonts/Black/Roboto-Black.woff') format('woff');
font-weight: 900;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('assets/fonts/Thin/Roboto-Thin.woff2') format('woff2'),
url('assets/fonts/Thin/Roboto-Thin.woff') format('woff');
font-weight: 100;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('assets/fonts/Light/Roboto-Light.woff2') format('woff2'),
url('assets/fonts/Light/Roboto-Light.woff') format('woff');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('assets/fonts/Bold/Roboto-Bold.woff2') format('woff2'),
url('assets/fonts/Bold/Roboto-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<!-- <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> -->
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> -->
<style>

View File

@ -4,6 +4,8 @@
@import "~bootstrap/scss/bootstrap.scss";
@import "~ng-pick-datetime/assets/style/picker.min.css";
@import 'assets/scss/modules/_fonts.scss';
*,
*::after,
*::before {