From 10ce98a1c1e352d1ee05f94cc9727a9281471b8a Mon Sep 17 00:00:00 2001 From: Vozer <76500838+SlippingGitty@users.noreply.github.com> Date: Sat, 11 Jun 2022 22:41:47 -0500 Subject: [PATCH] SF Pro Display for not-macOS users If you are having trouble with getting the San Francisco font to work on your platform, you do not have the SF Pro Fonts installed Download those here: https://github.com/blaisck/sfwin/tree/master/SFPro/OpenType --- src/_modules.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/_modules.scss b/src/_modules.scss index f3483a0..9099ee6 100644 --- a/src/_modules.scss +++ b/src/_modules.scss @@ -191,6 +191,18 @@ display:none; text-transform: none; } + +/* If you are having trouble with getting the San Francisco font to work on +your platform, you do not have the SF Pro Fonts installed + +Download those here: +https://github.com/blaisck/sfwin/tree/master/SFPro/OpenType */ +.platform-linux *, .platform-win *{ + font-family: SF Pro Display, sans-serif !important; + text-rendering: optimizeLegibility !important; + text-transform: none; +} + /* Links */ :root { --text-link: var(--accent);