Add Medium font variant and update font weights globally
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
export let variant: string = undefined
|
export let variant: string = undefined
|
||||||
console.log(variant)
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h1 class="site-title {variant ? `site-title--${variant}` : ''}">
|
<h1 class="site-title {variant ? `site-title--${variant}` : ''}">
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
html {
|
html {
|
||||||
font: #{$base-font-size}/1.2 $font-sans;
|
font: #{$base-font-size}/1.2 $font-sans;
|
||||||
|
font-weight: 300;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
min-width: 320px;
|
min-width: 320px;
|
||||||
word-break: normal;
|
word-break: normal;
|
||||||
@@ -17,7 +18,7 @@ body {
|
|||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
strong {
|
strong {
|
||||||
font-weight: 700;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
em {
|
em {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
/* Fonts list
|
/* Fonts list
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
@include font-face("Garnett", "G-Light", 300);
|
@include font-face("Garnett", "G-Light", 200);
|
||||||
@include font-face("Garnett", "G-Regular", 400);
|
@include font-face("Garnett", "G-Regular", 300);
|
||||||
|
@include font-face("Garnett", "G-Medium", 400);
|
||||||
@include font-face("Garnett", "G-Semibold", 500);
|
@include font-face("Garnett", "G-Semibold", 500);
|
||||||
@include font-face("Magnolia", "M-Extralight", 200);
|
@include font-face("Magnolia", "M-Extralight", 200);
|
||||||
@include font-face("Magnolia", "M-Light", 300);
|
@include font-face("Magnolia", "M-Light", 300);
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
.text-medium {
|
.text-medium {
|
||||||
font-size: rem(20px);
|
font-size: rem(20px);
|
||||||
font-family: $font-sans;
|
font-family: $font-sans;
|
||||||
font-weight: 300;
|
font-weight: 200;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
@@ -102,5 +102,5 @@
|
|||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
font-weight: 500;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
@@ -39,9 +39,10 @@
|
|||||||
}
|
}
|
||||||
span {
|
span {
|
||||||
display: block;
|
display: block;
|
||||||
|
margin-left: 24px;
|
||||||
color: $color-secondary-light;
|
color: $color-secondary-light;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin-left: 24px;
|
font-weight: 300;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
.discover {
|
.discover {
|
||||||
|
padding: 0 20px;
|
||||||
font-family: $font-sans;
|
font-family: $font-sans;
|
||||||
font-size: rem(28px);
|
font-size: rem(28px);
|
||||||
color: $color-tertiary;
|
font-weight: 200;
|
||||||
font-weight: 300;
|
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
padding: 0 20px;
|
color: $color-tertiary;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
font-size: rem(32px);
|
font-size: rem(32px);
|
||||||
}
|
}
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
font-weight: 300;
|
|
||||||
color: $color-secondary;
|
color: $color-secondary;
|
||||||
|
font-weight: 200;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -62,6 +62,7 @@
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: rem(16px);
|
font-size: rem(16px);
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
svg {
|
svg {
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
|
|||||||
@@ -24,9 +24,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
p {
|
p {
|
||||||
|
max-width: 480px;
|
||||||
margin-bottom: 32px;
|
margin-bottom: 32px;
|
||||||
color: $color-text;
|
color: $color-text;
|
||||||
font-weight: 300;
|
font-weight: 200;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
@@ -50,9 +51,9 @@
|
|||||||
input {
|
input {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-family: $font-sans;
|
|
||||||
font-weight: 400;
|
|
||||||
font-size: rem(18px);
|
font-size: rem(18px);
|
||||||
|
font-family: $font-sans;
|
||||||
|
font-weight: 300;
|
||||||
color: #333;
|
color: #333;
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
@@ -113,6 +114,8 @@
|
|||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
margin-left: 12px;
|
margin-left: 12px;
|
||||||
|
padding-bottom: 0;
|
||||||
|
font-size: rem(16px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
p {
|
p {
|
||||||
|
|||||||
@@ -61,7 +61,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-weight: 300;
|
font-weight: 200;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
p {
|
p {
|
||||||
max-width: 320px;
|
max-width: 320px;
|
||||||
margin: 50px auto 0;
|
margin: 50px auto 0;
|
||||||
font-weight: 300;
|
font-weight: 200;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
margin: 72px auto 0;
|
margin: 72px auto 0;
|
||||||
|
|||||||
@@ -160,7 +160,7 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: rem(160px);
|
font-size: rem(160px);
|
||||||
color: rgba($color-text, 0.15);
|
color: rgba($color-text, 0.2);
|
||||||
font-family: $font-serif;
|
font-family: $font-serif;
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
@@ -191,7 +191,7 @@
|
|||||||
color: $color-gray;
|
color: $color-gray;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.1em;
|
letter-spacing: 0.1em;
|
||||||
font-weight: 300;
|
font-weight: 400;
|
||||||
font-size: rem(14px);
|
font-size: rem(14px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
static/fonts/G-Medium.woff
Normal file
BIN
static/fonts/G-Medium.woff
Normal file
Binary file not shown.
BIN
static/fonts/G-Medium.woff2
Normal file
BIN
static/fonts/G-Medium.woff2
Normal file
Binary file not shown.
Reference in New Issue
Block a user