Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dillonzq/LoveIt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2022-05-22 16:35:36 +0300
committerDillon <dillonzq@outlook.com>2022-05-22 16:35:36 +0300
commita74c6f3b4720e7af2cf9f0ba254221516eae3791 (patch)
tree5f2b98a258d4528e7b03253134b672ea54d491d8
parent0fe4c38d6b5f3e2dd34998bc36ec381b6ae5213c (diff)
feat: more modern font compatibility list
-rw-r--r--assets/css/_variables.scss10
1 files changed, 8 insertions, 2 deletions
diff --git a/assets/css/_variables.scss b/assets/css/_variables.scss
index d0031aee..915753d9 100644
--- a/assets/css/_variables.scss
+++ b/assets/css/_variables.scss
@@ -2,9 +2,15 @@
// Variables
// ==============================
+@font-face {
+ font-family: Emoji;
+ src: local("Apple Color Emoji"), local("Segoe UI Emoji"), local("Segoe UI Symbol"), local("Noto Color Emoji");
+ unicode-range: U+1F000-1F644, U+203C-3299;
+}
+
// ========== Global ========== //
// Font and Line Height
-$global-font-family: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !default;
+$global-font-family: system-ui, -apple-system, Segoe UI, Roboto, Emoji, Helvetica, Arial, sans-serif !default;
$global-font-size: 16px !default;
$global-font-weight: 400 !default;
$global-line-height: 1.5rem !default;
@@ -107,7 +113,7 @@ $pagination-link-hover-color-dark: #fff !default;
// ========== Code ========== //
// Font family and size of the code
-$code-font-family: "Source Code Pro", Menlo, Consolas, Monaco, monospace, $global-font-family !default;
+$code-font-family: "Source Code Pro", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
$code-font-size: .875rem !default;
// Color of the code