From 96d551ffd3448bdee33c0117c8b51d355afc8501 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Sun, 9 Jan 2022 04:46:57 +0800 Subject: [PATCH] :art: Style: add global logo color --- assets/css/_core/_base.scss | 4 ++++ assets/css/_variables.scss | 3 +++ exampleSite/config.toml | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/assets/css/_core/_base.scss b/assets/css/_core/_base.scss index 4e07a3e1..de27fcd5 100644 --- a/assets/css/_core/_base.scss +++ b/assets/css/_core/_base.scss @@ -60,3 +60,7 @@ body { img { @include object-fit(contain); } + +i.logo .fa-ban { + color: $global-logo-color; +} \ No newline at end of file diff --git a/assets/css/_variables.scss b/assets/css/_variables.scss index 28585aec..d2ffd924 100644 --- a/assets/css/_variables.scss +++ b/assets/css/_variables.scss @@ -9,6 +9,9 @@ $global-font-size: 16px; $global-font-weight: 400; $global-line-height: 1.5rem; +// Colore of the theme logo +$global-logo-color: Tomato !default; + // Color of the background $global-background-color: #fff !default; $global-background-color-dark: #292a2d !default; diff --git a/exampleSite/config.toml b/exampleSite/config.toml index dab9e808..9198ca48 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -669,7 +669,7 @@ enableEmoji = true name = "FixIt" # you can add extra information before the name (HTML format is supported), such as icons # 你可以在名称 (允许 HTML 格式) 之前添加其他信息, 例如图标 - pre = "" + pre = '' # you can add extra information after the name (HTML format is supported), such as icons # 你可以在名称 (允许 HTML 格式) 之后添加其他信息, 例如图标 post = ""