Merge pull request #78 from welpo/feat/update-fonts

⬆️ feat(fonts): use woff2 & update fonts
main
Óscar 2 years ago committed by GitHub
commit b20ab6f838
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 KiB

After

Width:  |  Height:  |  Size: 240 KiB

@ -1,16 +1,16 @@
@font-face {
/* Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter). Licensed under the SIL Open Font License, Version 1.1. More information available at: http://scripts.sil.org/OFL */
/* Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter). Licensed under the SIL Open Font License, Version 1.1. More information available at: http://scripts.sil.org/OFL */
font-family: 'Inter';
src: local('Inter'),
url('fonts/Inter.ttf');
url('fonts/Inter4.0-beta8.woff2') format("woff2");
font-display: swap;
}
@font-face {
/* Copyright 2014, 2015, 2016 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. Licensed under the SIL Open Font License, Version 1.1. More information available at: http://scripts.sil.org/OFL */
font-family: 'Source Serif Pro';
src: local('Source Serif Pro'),
url('fonts/SourceSerifPro-Regular.ttf');
/* Copyright 2014 - 2023 Adobe (http://www.adobe.com/), with Reserved Font Name Source.adobe.com/). Licensed under the SIL Open Font License, Version 1.1. More information available at: http://scripts.sil.org/OFL */
font-family: 'Source Serif';
src: local('Source Serif'),
url('fonts/SourceSerif4Variable-Roman.otf.woff2') format("woff2");
font-display: swap;
}
@ -18,7 +18,7 @@
/* Copyright 2019 - Present, Microsoft Corporation, with Reserved Font Name 'Cascadia Code'. Licensed under the SIL Open Font License, Version 1.1. More information available at: http://scripts.sil.org/OFL */
font-family: 'Cascadia Code';
src: local('Cascadia Code'),
url('fonts/CascadiaCode.ttf');
url('fonts/CascadiaCode.woff2') format("woff2");
font-display: swap;
}
@ -44,7 +44,7 @@
--small-layout-width: 200px;
--sans-serif-font: 'Inter', Helvetica, Arial, sans-serif;
--serif-font: 'Source Serif Pro', 'Georgia', serif;
--serif-font: 'Source Serif', 'Georgia', serif;
--code-font: 'Cascadia Code';
font-family: var(--sans-serif-font);

@ -78,7 +78,7 @@ header {
.meta {
color: var(--meta-color);
letter-spacing: -0.5px;
letter-spacing: -0.4px;
font-size: 0.8rem;
font-weight: 300;
padding: 0;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 KiB

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save