fonts: replace default fonts with Hack

This commit is contained in:
Fabian Montero 2025-09-13 15:44:23 -06:00
parent 95c8796964
commit efb42461fd
Signed by: fabian
GPG key ID: 3EDA9AE3937CCDE3
5 changed files with 6 additions and 23 deletions

View file

@ -27,26 +27,9 @@
@use 'parts/_zola-error.scss';
@font-face {
src: local('Inter'),
url('fonts/Inter4.woff2') format("woff2");
/* 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';
font-display: swap;
}
@font-face {
src: local('Source Serif'),
url('fonts/SourceSerif4Variable-Roman.ttf.woff2') format("woff2");
/* 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';
font-display: swap;
}
@font-face {
src: local('Cascadia Code'),
url('fonts/CascadiaCode-SemiLight.woff2') format("woff2");
/* 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('Hack'),
url('fonts/HackNerdFontMono-Regular.ttf') format("truetype");
font-family: 'Hack';
font-display: swap;
}
@ -97,9 +80,9 @@
--small-layout-width: 200px;
--paragraph-spacing: max(2.3vmin, 24px);
--sans-serif-font: 'Inter', Helvetica, Arial, sans-serif;
--serif-font: 'Source Serif', 'Georgia', serif;
--code-font: 'Cascadia Code';
--sans-serif-font: 'Hack', Helvetica, Arial, sans-serif;
--serif-font: 'Hack', 'Georgia', serif;
--code-font: 'Hack';
scrollbar-color: var(--primary-color) transparent;
accent-color: var(--primary-color);

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.