Compare commits

..

2 Commits

4 changed files with 26 additions and 16 deletions

View File

@ -11,7 +11,7 @@
{{ with $stylesheet.css }}
<link href="{{ relURL . }}" rel="stylesheet">
{{ end }}
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap" rel="stylesheet">
</head>
<body>

View File

@ -1,18 +1,3 @@
@mixin font-body($weight: normal) {
font-family: "Montserrat", sans-serif;
font-weight: $weight;
}
@mixin font-title($weight: normal) {
font-family: "Montserrat", sans-serif;
font-weight: $weight;
}
@mixin font-link($weight: normal) {
font-family: "Montserrat", sans-serif;
font-weight: $weight;
}
@mixin abs-full {
position: absolute;
width: 100%;

View File

@ -0,0 +1,22 @@
@mixin font-1($weight) {
font-family: "Montserrat", sans-serif;
@if $weight == regular {
font-weight: 400;
} @else if $weight == bold {
font-weight: 600;
} @else {
@error "font-weight #{$weight} not in valid font-weights for font-1: 'Montserrat'.";
}
}
@mixin font-body($weight: regular) {
@include font-1($weight);
}
@mixin font-title($weight: regular) {
@include font-1($weight);
}
@mixin font-link($weight: regular) {
@include font-1($weight);
}

View File

@ -5,8 +5,11 @@
@import "milligram/src/milligram.scss";
@import "imports/mixins.scss";
@import "imports/typography.scss";
@import "imports/base.scss";
@import "imports/layout.scss";
@import "imports/utility.scss";
@import "imports/header.scss";