From e8650e1ee95d57eb7dc17ae4a954e8ee3cdc897c Mon Sep 17 00:00:00 2001 From: Neil Abraham Date: Fri, 24 Apr 2020 13:36:40 +0100 Subject: [PATCH] Use the system font stack from WP admin (#1416) --- sass/variables-site/_typography.scss | 4 +++- style-rtl.css | 2 +- style.css | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sass/variables-site/_typography.scss b/sass/variables-site/_typography.scss index 324432fd..a90eb282 100644 --- a/sass/variables-site/_typography.scss +++ b/sass/variables-site/_typography.scss @@ -1,4 +1,6 @@ -$font__main: sans-serif; +// stylelint-disable value-keyword-case +$font__main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; +// stylelint-enable value-keyword-case $font__code: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace; $font__pre: "Courier 10 Pitch", courier, monospace; $font__line-height-body: 1.5; diff --git a/style-rtl.css b/style-rtl.css index 08db84f7..1e6aae1d 100644 --- a/style-rtl.css +++ b/style-rtl.css @@ -374,7 +374,7 @@ select, optgroup, textarea { color: #404040; - font-family: sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 1rem; line-height: 1.5; } diff --git a/style.css b/style.css index a655247c..62dbe165 100644 --- a/style.css +++ b/style.css @@ -374,7 +374,7 @@ select, optgroup, textarea { color: #404040; - font-family: sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 1rem; line-height: 1.5; }