Skip to content

Commit

Permalink
#113 add local fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-serb committed Apr 30, 2024
1 parent 6675984 commit 5f19708
Show file tree
Hide file tree
Showing 51 changed files with 170 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/assets/css/declarations.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@charset 'UTF-8';

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap');

:root {
/* Base numbers */
--number-border-radius: 8px;
Expand Down
169 changes: 169 additions & 0 deletions src/assets/css/fonts.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
@charset 'UTF-8';

@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-BlackItalic.eot');
src:
local('Roboto Black Italic'),
local('Roboto-BlackItalic'),
url('../fonts/Roboto-BlackItalic.eot?#iefix') format('embedded-opentype'),
url('../fonts/Roboto-BlackItalic.woff2') format('woff2'),
url('../fonts/Roboto-BlackItalic.woff') format('woff'),
url('../fonts/Roboto-BlackItalic.ttf') format('truetype');
font-weight: 900;
font-style: italic;
}

@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Bold.eot');
src:
local('Roboto Bold'),
local('Roboto-Bold'),
url('../fonts/Roboto-Bold.eot?#iefix') format('embedded-opentype'),
url('../fonts/Roboto-Bold.woff2') format('woff2'),
url('../fonts/Roboto-Bold.woff') format('woff'),
url('../fonts/Roboto-Bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-BoldItalic.eot');
src:
local('Roboto Bold Italic'),
local('Roboto-BoldItalic'),
url('../fonts/Roboto-BoldItalic.eot?#iefix') format('embedded-opentype'),
url('../fonts/Roboto-BoldItalic.woff2') format('woff2'),
url('../fonts/Roboto-BoldItalic.woff') format('woff'),
url('../fonts/Roboto-BoldItalic.ttf') format('truetype');
font-weight: bold;
font-style: italic;
}

@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-LightItalic.eot');
src:
local('Roboto Light Italic'),
local('Roboto-LightItalic'),
url('../fonts/Roboto-LightItalic.eot?#iefix') format('embedded-opentype'),
url('../fonts/Roboto-LightItalic.woff2') format('woff2'),
url('../fonts/Roboto-LightItalic.woff') format('woff'),
url('../fonts/Roboto-LightItalic.ttf') format('truetype');
font-weight: 300;
font-style: italic;
}

@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Regular.eot');
src:
local('Roboto'),
local('Roboto-Regular'),
url('../fonts/Roboto-Regular.eot?#iefix') format('embedded-opentype'),
url('../fonts/Roboto-Regular.woff2') format('woff2'),
url('../fonts/Roboto-Regular.woff') format('woff'),
url('../fonts/Roboto-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-ThinItalic.eot');
src:
local('Roboto Thin Italic'),
local('Roboto-ThinItalic'),
url('../fonts/Roboto-ThinItalic.eot?#iefix') format('embedded-opentype'),
url('../fonts/Roboto-ThinItalic.woff2') format('woff2'),
url('../fonts/Roboto-ThinItalic.woff') format('woff'),
url('../fonts/Roboto-ThinItalic.ttf') format('truetype');
font-weight: 100;
font-style: italic;
}

@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Black.eot');
src:
local('Roboto Black'),
local('Roboto-Black'),
url('../fonts/Roboto-Black.eot?#iefix') format('embedded-opentype'),
url('../fonts/Roboto-Black.woff2') format('woff2'),
url('../fonts/Roboto-Black.woff') format('woff'),
url('../fonts/Roboto-Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
}

@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-MediumItalic.eot');
src:
local('Roboto Medium Italic'),
local('Roboto-MediumItalic'),
url('../fonts/Roboto-MediumItalic.eot?#iefix') format('embedded-opentype'),
url('../fonts/Roboto-MediumItalic.woff2') format('woff2'),
url('../fonts/Roboto-MediumItalic.woff') format('woff'),
url('../fonts/Roboto-MediumItalic.ttf') format('truetype');
font-weight: 500;
font-style: italic;
}

@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Thin.eot');
src:
local('Roboto Thin'),
local('Roboto-Thin'),
url('../fonts/Roboto-Thin.eot?#iefix') format('embedded-opentype'),
url('../fonts/Roboto-Thin.woff2') format('woff2'),
url('../fonts/Roboto-Thin.woff') format('woff'),
url('../fonts/Roboto-Thin.ttf') format('truetype');
font-weight: 100;
font-style: normal;
}

@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Light.eot');
src:
local('Roboto Light'),
local('Roboto-Light'),
url('../fonts/Roboto-Light.eot?#iefix') format('embedded-opentype'),
url('../fonts/Roboto-Light.woff2') format('woff2'),
url('../fonts/Roboto-Light.woff') format('woff'),
url('../fonts/Roboto-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
}

@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Italic.eot');
src:
local('Roboto Italic'),
local('Roboto-Italic'),
url('../fonts/Roboto-Italic.eot?#iefix') format('embedded-opentype'),
url('../fonts/Roboto-Italic.woff2') format('woff2'),
url('../fonts/Roboto-Italic.woff') format('woff'),
url('../fonts/Roboto-Italic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}

@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Medium.eot');
src:
local('Roboto Medium'),
local('Roboto-Medium'),
url('../fonts/Roboto-Medium.eot?#iefix') format('embedded-opentype'),
url('../fonts/Roboto-Medium.woff2') format('woff2'),
url('../fonts/Roboto-Medium.woff') format('woff'),
url('../fonts/Roboto-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
}
1 change: 1 addition & 0 deletions src/assets/css/index.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@charset 'UTF-8';

@import url('fonts.scss');
@import url('declarations.scss');
@import url('base.scss');
@import url('forms.scss');
Expand Down
Binary file added src/assets/fonts/Roboto-Black.eot
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Black.ttf
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Black.woff
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Black.woff2
Binary file not shown.
Binary file added src/assets/fonts/Roboto-BlackItalic.eot
Binary file not shown.
Binary file added src/assets/fonts/Roboto-BlackItalic.ttf
Binary file not shown.
Binary file added src/assets/fonts/Roboto-BlackItalic.woff
Binary file not shown.
Binary file added src/assets/fonts/Roboto-BlackItalic.woff2
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Bold.eot
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Bold.ttf
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Bold.woff
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Bold.woff2
Binary file not shown.
Binary file added src/assets/fonts/Roboto-BoldItalic.eot
Binary file not shown.
Binary file added src/assets/fonts/Roboto-BoldItalic.ttf
Binary file not shown.
Binary file added src/assets/fonts/Roboto-BoldItalic.woff
Binary file not shown.
Binary file added src/assets/fonts/Roboto-BoldItalic.woff2
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Italic.eot
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Italic.ttf
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Italic.woff
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Italic.woff2
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Light.eot
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Light.ttf
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Light.woff
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Light.woff2
Binary file not shown.
Binary file added src/assets/fonts/Roboto-LightItalic.eot
Binary file not shown.
Binary file added src/assets/fonts/Roboto-LightItalic.ttf
Binary file not shown.
Binary file added src/assets/fonts/Roboto-LightItalic.woff
Binary file not shown.
Binary file added src/assets/fonts/Roboto-LightItalic.woff2
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Medium.eot
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Medium.ttf
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Medium.woff
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Medium.woff2
Binary file not shown.
Binary file added src/assets/fonts/Roboto-MediumItalic.eot
Binary file not shown.
Binary file added src/assets/fonts/Roboto-MediumItalic.ttf
Binary file not shown.
Binary file added src/assets/fonts/Roboto-MediumItalic.woff
Binary file not shown.
Binary file added src/assets/fonts/Roboto-MediumItalic.woff2
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Regular.eot
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Regular.ttf
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Regular.woff
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Regular.woff2
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Thin.eot
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Thin.ttf
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Thin.woff
Binary file not shown.
Binary file added src/assets/fonts/Roboto-Thin.woff2
Binary file not shown.
Binary file added src/assets/fonts/Roboto-ThinItalic.eot
Binary file not shown.
Binary file added src/assets/fonts/Roboto-ThinItalic.ttf
Binary file not shown.
Binary file added src/assets/fonts/Roboto-ThinItalic.woff
Binary file not shown.
Binary file added src/assets/fonts/Roboto-ThinItalic.woff2
Binary file not shown.

0 comments on commit 5f19708

Please sign in to comment.