feat(style): change custom style file path (#360)
This commit is contained in:
4
assets/css/_custom.scss
Normal file
4
assets/css/_custom.scss
Normal file
@@ -0,0 +1,4 @@
|
||||
// ==============================
|
||||
// Custom style
|
||||
// 自定义样式
|
||||
// ==============================
|
||||
4
assets/css/_override.scss
Normal file
4
assets/css/_override.scss
Normal file
@@ -0,0 +1,4 @@
|
||||
// ==============================
|
||||
// Override Variables
|
||||
// 覆盖变量
|
||||
// ==============================
|
||||
@@ -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
|
||||
|
||||
@@ -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";
|
||||
Reference in New Issue
Block a user