mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 23:08:26 -04:00
34 lines
1.2 KiB
SCSS
34 lines
1.2 KiB
SCSS
@charset "UTF-8";
|
|
|
|
// Note to self: got this list after subsetting Inter with glyphhanger:
|
|
// https://github.com/filamentgroup/glyphhanger
|
|
// ex: glyphhanger --whitelist="" --family="Inter" --formats=woff2,woff --subset="*.woff"
|
|
$unicode-subset: U+0000-00FF, U+2000-206F, U+20A0-20CF, U+2190-21FF, U+2200-22FF, U+2122;
|
|
|
|
/*!
|
|
* Inter typeface v3.13 - https://rsms.me/inter/
|
|
*
|
|
* Copyright (c) 2016-2020 The Inter Project Authors.
|
|
* Licensed under the SIL Open Font License, Version 1.1:
|
|
* https://github.com/rsms/inter/blob/v3.13/LICENSE.txt
|
|
*/
|
|
@include font-face("Inter", "vendor/inter/inter-regular-subset", 400) {
|
|
unicode-range: $unicode-subset;
|
|
}
|
|
@include font-face("Inter", "vendor/inter/inter-medium-subset", 500) {
|
|
unicode-range: $unicode-subset;
|
|
}
|
|
@include font-face("Inter", "vendor/inter/inter-bold-subset", 700) {
|
|
unicode-range: $unicode-subset;
|
|
}
|
|
|
|
/*!
|
|
* Hack typeface v3.003 - https://sourcefoundry.org/hack/
|
|
*
|
|
* Copyright (c) 2018 Source Foundry Authors.
|
|
* Licensed under the MIT License:
|
|
* https://github.com/source-foundry/Hack/blob/v3.003/LICENSE.md
|
|
*/
|
|
@include font-face("Hack", "vendor/hack/hack-regular-subset", 400);
|
|
@include font-face("Hack", "vendor/hack/hack-italic-subset", 400, italic);
|