mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 09:38:27 -04:00
52 lines
2.1 KiB
SCSS
52 lines
2.1 KiB
SCSS
@use "~@fontsource/inter/scss/mixins" as Inter;
|
|
@use "~@fontsource/roboto-mono/scss/mixins" as RobotoMono;
|
|
@use "~@fontsource/comic-neue/scss/mixins" as ComicNeue;
|
|
|
|
// stylelint-disable scss/operator-no-unspaced
|
|
// prettier-ignore
|
|
$unicode-latin-only: (
|
|
latin: (U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD),
|
|
);
|
|
// stylelint-enable scss/operator-no-unspaced
|
|
|
|
/*!
|
|
* Inter typeface - https://rsms.me/inter/
|
|
*
|
|
* Copyright (c) 2016-2020 The Inter Project Authors.
|
|
* Licensed under the SIL Open Font License, Version 1.1.
|
|
*/
|
|
|
|
// Variable
|
|
@include Inter.fontFaceVariable($fontName: "Inter var", $type: "full", $unicodeMap: $unicode-latin-only);
|
|
|
|
// Legacy
|
|
@include Inter.fontFace($fontName: "Inter", $weight: 400, $unicodeMap: $unicode-latin-only);
|
|
@include Inter.fontFace($fontName: "Inter", $weight: 500, $unicodeMap: $unicode-latin-only);
|
|
@include Inter.fontFace($fontName: "Inter", $weight: 700, $unicodeMap: $unicode-latin-only);
|
|
|
|
/*!
|
|
* Roboto Mono typeface - https://github.com/googlefonts/robotomono
|
|
*
|
|
* Copyright (c) 2015 The Roboto Mono Project Authors.
|
|
* Licensed under the Apache License, Version 2.0.
|
|
*/
|
|
|
|
// Variable
|
|
@include RobotoMono.fontFaceVariable($fontName: "Roboto Mono var", $unicodeMap: $unicode-latin-only);
|
|
@include RobotoMono.fontFaceVariable($fontName: "Roboto Mono var", $style: italic, $unicodeMap: $unicode-latin-only);
|
|
|
|
// Legacy
|
|
@include RobotoMono.fontFace($fontName: "Roboto Mono", $weight: 400, $unicodeMap: $unicode-latin-only);
|
|
@include RobotoMono.fontFace($fontName: "Roboto Mono", $weight: 500, $unicodeMap: $unicode-latin-only);
|
|
@include RobotoMono.fontFace($fontName: "Roboto Mono", $weight: 700, $unicodeMap: $unicode-latin-only);
|
|
|
|
/*!
|
|
* Comic Neue typeface - http://comicneue.com/
|
|
*
|
|
* Copyright (c) 2014 The Comic Neue Project Authors.
|
|
* Licensed under the SIL Open Font License, Version 1.1.
|
|
*/
|
|
|
|
@include ComicNeue.fontFace($fontName: "Comic Neue", $weight: 400, $unicodeMap: $unicode-latin-only);
|
|
@include ComicNeue.fontFace($fontName: "Comic Neue", $weight: 700, $unicodeMap: $unicode-latin-only);
|