Compare commits
No commits in common. "a52470e8b8f29c2cc1052bb538f3496865ebbb18" and "b7b4ab13b098c8967d5807d85821ed0433d44952" have entirely different histories.
a52470e8b8
...
b7b4ab13b0
|
@ -11,7 +11,7 @@
|
|||
{{ with $stylesheet.css }}
|
||||
<link href="{{ relURL . }}" rel="stylesheet">
|
||||
{{ end }}
|
||||
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
@ -1,3 +1,18 @@
|
|||
@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%;
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
@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);
|
||||
}
|
|
@ -5,11 +5,8 @@
|
|||
@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";
|
||||
|
|
Reference in New Issue