Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
163 changes: 154 additions & 9 deletions src/foundation/typography/_fonts.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,154 @@
// $font-url: '../../assets/fonts';

// @font-face {
// font-family: [font-family];
// src: url('#{$font-url}/[font-filename]') format('truetype');
// font-weight: 500;
// font-style: normal;
// font-display: swap;
// }
$font-url: '../../assets/fonts';

/* Inter */

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-ExtraBold.ttf') format('truetype');
font-weight: 800;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-ExtraLight.ttf') format('truetype');
font-weight: 200;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-SemiBold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-Thin.ttf') format('truetype');
font-weight: 100;
font-style: normal;
font-display: swap;
}

/* Sentinel */

@font-face {
font-family: Sentinel;
src:
url('#{$font-url}/sentinel/Sentinel-Black.ttf') format('truetype'),
url('#{$font-url}/sentinel/Sentinel-Black.woff') format('woff'),
url('#{$font-url}/sentinel/Sentinel-Black.woff2') format('woff2');
font-weight: 900;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Sentinel;
src:
url('#{$font-url}/sentinel/Sentinel-Bold.woff') format('truetype'),
url('#{$font-url}/sentinel/Sentinel-Bold.woff') format('woff'),
url('#{$font-url}/sentinel/Sentinel-Bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Sentinel;
src:
url('#{$font-url}/sentinel/Sentinel-Light.woff') format('truetype'),
url('#{$font-url}/sentinel/Sentinel-Light.woff') format('woff'),
url('#{$font-url}/sentinel/Sentinel-Light.woff2') format('woff2');
font-weight: 300;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Sentinel;
src:
url('#{$font-url}/sentinel/Sentinel-LightItalic.woff') format('truetype'),
url('#{$font-url}/sentinel/Sentinel-LightItalic.woff') format('woff'),
url('#{$font-url}/sentinel/Sentinel-LightItalic.woff2') format('woff2');
font-weight: 300;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: Sentinel;
src:
url('#{$font-url}/sentinel/Sentinel-Medium.woff') format('truetype'),
url('#{$font-url}/sentinel/Sentinel-Medium.woff') format('woff'),
url('#{$font-url}/sentinel/Sentinel-Medium.woff2') format('woff2');
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Sentinel;
src:
url('#{$font-url}/sentinel/Sentinel-MediumItalic.woff') format('truetype'),
url('#{$font-url}/sentinel/Sentinel-MediumItalic.woff') format('woff'),
url('#{$font-url}/sentinel/Sentinel-MediumItalic.woff2') format('woff2');
font-weight: 500;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: Sentinel;
src:
url('#{$font-url}/sentinel/Sentinel-Semibold.woff') format('truetype'),
url('#{$font-url}/sentinel/Sentinel-Semibold.woff') format('woff'),
url('#{$font-url}/sentinel/Sentinel-Semibold.woff2') format('woff2');
font-weight: 600;
font-style: italic;
font-display: swap;
}
Loading