style(font): modify font family setting in the global
This commit is contained in:
parent
7ae0dabaa8
commit
a180abc4f9
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue