Switch font to Encode Sans Variable

This commit is contained in:
Kevin Kandlbinder 2022-02-06 13:56:18 +00:00 committed by GitHub
parent c3fae80606
commit d865fc4896
5 changed files with 14 additions and 6 deletions

View file

@ -3,7 +3,7 @@
$layoutWidth: 1100px;
$layoutPadding: 20px;
$mainFont: "Fira Code", monospace;
$mainFont: "Encode SansVariable", sans-serif;
$theme: (
"accent": #e52b3e,

View file

@ -1,7 +1,9 @@
@import "~@fontsource/fira-code/index.css";
@import "~@fontsource/fira-code/700.css";
@use "@fontsource/encode-sans/scss/mixins" as EncodeSans;
@import-normalize;
@import "../globals";
@include EncodeSans.fontFaceVariable($type: "wghtOnly");
* {
box-sizing: border-box;

View file

@ -104,20 +104,20 @@
transform: translate(-50%, 0%);
.hello {
font-weight: 100;
font-weight: 300;
opacity: 0.75;
display: block;
margin-bottom: -5px;
}
.name {
font-weight: 100;
font-weight: 400;
font-size: 1.8em;
display: block;
}
.description {
font-weight: 100;
font-weight: 300;
display: block;
}