diff --git a/source/css/common/variables.styl b/source/css/common/variables.styl index c7283e9..0ea8478 100644 --- a/source/css/common/variables.styl +++ b/source/css/common/variables.styl @@ -152,7 +152,7 @@ $dark-pjax-progress-bar-color = linear-gradient(45deg, #ea404a, #ea722f, #e9a71f // ============================================================================================== // font settings // ============================================================================================== -$preset-font-family = Optima-Regular, Optima, -apple-system, system-ui, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial +$preset-font-family = Optima-Regular, Optima, PingFang SC, Microsoft YaHei, sans-serif $custom-font-family = hexo-config('style.font_family') $default-font-family = $custom-font-family ? convert($custom-font-family) : $preset-font-family $custom-font-size = hexo-config('style.font_size')