[tor-commits] [lego/master] Add sans-serif as a fallback for Source Sans Pro

gus at torproject.org gus at torproject.org
Tue Aug 31 13:25:12 UTC 2021


commit a023f2b48fc13830734beddab96e07cdb0987b39
Author: kez <kez at torproject.org>
Date:   Mon Jul 12 12:22:35 2021 -0400

    Add sans-serif as a fallback for Source Sans Pro
    
    sans-serif is used as the only fallback instead of the usual
    Helvetica, Arial, sans-serif stack since it's just a temporary fallback
    until the Source Sans fonts are loaded.
    
    See: tpo/web/lego#17
---
 assets/scss/_tor.scss | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/assets/scss/_tor.scss b/assets/scss/_tor.scss
index 093b4bf..ddd6d16 100644
--- a/assets/scss/_tor.scss
+++ b/assets/scss/_tor.scss
@@ -273,7 +273,7 @@
 .display-2,
 .display-3,
 .display-4 {
-    font-family: Source Sans Pro Light;
+    font-family: 'Source Sans Pro Light', sans-serif;
 }
 
 .font-family-serif {





More information about the tor-commits mailing list