From 23bbdcca3ab2fc889fece70491a0723d736f910d Mon Sep 17 00:00:00 2001 From: Vozer <76500838+SlippingGitty@users.noreply.github.com> Date: Sun, 12 Jun 2022 20:11:01 -0500 Subject: [PATCH] SF Pro Display font import --- src/_modules.scss | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/src/_modules.scss b/src/_modules.scss index 564f3fe..617c250 100644 --- a/src/_modules.scss +++ b/src/_modules.scss @@ -185,24 +185,22 @@ display:none; /* Font */ -* { - font-family: -apple-system, BlinkMacSystemFont, sans-serif !important; - text-rendering: optimizeLegibility !important; - text-transform: none; -} +@import url('https://v1.fontapi.ir/css/SFProDisplay'); - -/* 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; +.platform-osx * { + font-family: -apple-system, BlinkMacSystemFont, sans-serif !important; text-rendering: optimizeLegibility !important; text-transform: none; } + +.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);