style: update font family

This commit is contained in:
XPoet 2020-11-17 11:50:11 +08:00
parent 7318cae1bb
commit f952f1b3b8
1 changed files with 4 additions and 5 deletions

View File

@ -53,7 +53,7 @@ $temp-color = hexo-config('style.primary_color');
$primary-color = $temp-color ? convert($temp-color):#0066CC; $primary-color = $temp-color ? convert($temp-color):#0066CC;
$background-color = #fff; // light background color $background-color = #fff; // light background color
$second-background-color = darken($background-color, 2%); // second light background color $second-background-color = darken($background-color, 2%); // second light background color
$normal-text-color = #383838; // $normal-text-color = #393939; //
$first-text-color = darken($normal-text-color, 10%); // $first-text-color = darken($normal-text-color, 10%); //
$second-text-color = darken($normal-text-color, 5%); // $second-text-color = darken($normal-text-color, 5%); //
$third-text-color = lighten($normal-text-color, 40%); // $third-text-color = lighten($normal-text-color, 40%); //
@ -62,7 +62,7 @@ $border-color = darken($background-color, 30%); // 边框颜色
$selection-color = lighten($primary-color, 10%); // $selection-color = lighten($primary-color, 10%); //
$shadow-color = rgba(0, 0, 0, 0.2); $shadow-color = rgba(0, 0, 0, 0.2);
$shadow-hover-color = rgba(0, 0, 0, 0.28); $shadow-hover-color = rgba(0, 0, 0, 0.28);
$scroll-bar-color = #383838; $scroll-bar-color = #585858;
// dark mode color // dark mode color
$dark-primary-color = $primary-color; $dark-primary-color = $primary-color;
@ -83,8 +83,7 @@ $dark-scroll-bar-color = #686868;
// ======================================================================== // ========================================================================
// font // font
// ======================================================================== // ========================================================================
$default-font-family = Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; $default-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;
//$default-font-family = -apple-system, system-ui, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial;
$default-font-size = 15.2px; $default-font-size = 15.2px;
$default-font-line-height = 22px; $default-font-line-height = 22px;
$default-font-weight = 400; $default-font-weight = 400;