diff --git a/themes/tabi-lean/sass/main.scss b/themes/tabi-lean/sass/main.scss index f541393..d1470ff 100644 --- a/themes/tabi-lean/sass/main.scss +++ b/themes/tabi-lean/sass/main.scss @@ -27,9 +27,26 @@ @use 'parts/_zola-error.scss'; @font-face { - src: local('Hack'), - url('fonts/HackNerdFontMono-Regular.ttf') format("truetype"); - font-family: 'Hack'; + 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'; font-display: swap; } @@ -80,9 +97,9 @@ --small-layout-width: 200px; --paragraph-spacing: max(2.3vmin, 24px); - --sans-serif-font: 'Hack', Helvetica, Arial, sans-serif; - --serif-font: 'Hack', 'Georgia', serif; - --code-font: 'Hack'; + --sans-serif-font: 'Inter', Helvetica, Arial, sans-serif; + --serif-font: 'Source Serif', 'Georgia', serif; + --code-font: 'Cascadia Code'; scrollbar-color: var(--primary-color) transparent; accent-color: var(--primary-color); diff --git a/themes/tabi-lean/static/fonts/HackNerdFontMono-Bold.ttf b/themes/tabi-lean/static/fonts/HackNerdFontMono-Bold.ttf deleted file mode 100644 index d1795b6..0000000 Binary files a/themes/tabi-lean/static/fonts/HackNerdFontMono-Bold.ttf and /dev/null differ diff --git a/themes/tabi-lean/static/fonts/HackNerdFontMono-BoldItalic.ttf b/themes/tabi-lean/static/fonts/HackNerdFontMono-BoldItalic.ttf deleted file mode 100644 index c737de9..0000000 Binary files a/themes/tabi-lean/static/fonts/HackNerdFontMono-BoldItalic.ttf and /dev/null differ diff --git a/themes/tabi-lean/static/fonts/HackNerdFontMono-Italic.ttf b/themes/tabi-lean/static/fonts/HackNerdFontMono-Italic.ttf deleted file mode 100644 index 83b81a9..0000000 Binary files a/themes/tabi-lean/static/fonts/HackNerdFontMono-Italic.ttf and /dev/null differ diff --git a/themes/tabi-lean/static/fonts/HackNerdFontMono-Regular.ttf b/themes/tabi-lean/static/fonts/HackNerdFontMono-Regular.ttf deleted file mode 100644 index 2dc643c..0000000 Binary files a/themes/tabi-lean/static/fonts/HackNerdFontMono-Regular.ttf and /dev/null differ