From 9f62582ef524532150073a8857dfbfb7e402448e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=AA=E3=82=AD=E8=90=8C?= Date: Mon, 26 May 2025 19:15:42 +0200 Subject: [PATCH] add italic, bold, bold italic variants for Iosevka in the CSS (#109) --- template/fonts.hbs.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/template/fonts.hbs.css b/template/fonts.hbs.css index 84aa5b7..c118394 100644 --- a/template/fonts.hbs.css +++ b/template/fonts.hbs.css @@ -42,3 +42,28 @@ font-weight: 400; } +@font-face { + font-family: "Iosevka Hyperlegible"; + src: + local("Iosevka Hyperlegible Italic"), + url("{{ static 'font/IosevkaHyperlegible-Italic.woff2' }}"); + font-weight: 400; + font-style: italic; +} + +@font-face { + font-family: "Iosevka Hyperlegible"; + src: + local("Iosevka Hyperlegible Bold"), + url("{{ static 'font/IosevkaHyperlegible-Bold.woff2' }}"); + font-weight: 700; +} + +@font-face { + font-family: "Iosevka Hyperlegible"; + src: + local("Iosevka Hyperlegible Bold Italic"), + url("{{ static 'font/IosevkaHyperlegible-BoldItalic.woff2' }}"); + font-weight: 700; + font-style: italic; +}