feat(style): change custom style file path (#360)

This commit is contained in:
Dillon
2020-05-15 19:05:16 +08:00
committed by GitHub
parent c6733538dc
commit da9df3b0ce
13 changed files with 35 additions and 28 deletions

4
assets/css/_custom.scss Normal file
View File

@@ -0,0 +1,4 @@
// ==============================
// Custom style
// 自定义样式
// ==============================

View File

@@ -0,0 +1,4 @@
// ==============================
// Override Variables
// 覆盖变量
// ==============================

View File

@@ -2,6 +2,8 @@
// Variables
// ==============================
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@800&display=swap');
// ========== 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;
@@ -57,7 +59,7 @@ $header-background-color: #f8f8f8 !default;
$header-background-color-dark: #252627 !default;
// Font style of the header title
$header-title-font-family: $global-font-family !default;
$header-title-font-family: Nunito, $global-font-family !default;
$header-title-font-size: 1.5rem !default;
// Color of the hover header item

View File

@@ -1,10 +1,7 @@
@charset "utf-8";
@import "_variables";
{{- if fileExists "config/css/_override.scss" -}}
@import "_override";
{{- end -}}
@import "_override";
@import "_mixin/index";
@@ -19,6 +16,4 @@
@import "_core/media";
{{- if fileExists "config/css/_custom.scss" -}}
@import "_custom";
{{- end -}}
@import "_custom";