refactor: rename theme color

This commit is contained in:
XPoet 2020-09-11 15:59:10 +08:00
parent 21967437aa
commit 9c38675afd
2 changed files with 3 additions and 3 deletions

View File

@ -12,8 +12,8 @@ theme_info:
# Theme style settings # Theme style settings
# ------------------------------------------------------------ # ------------------------------------------------------------
style: style:
# Theme color # Theme primary color
theme_color: "#0066CC" primary_color: "#0066CC"
# favicon # favicon
favicon: images/favicon.png favicon: images/favicon.png

View File

@ -51,7 +51,7 @@ $z-index-8 = 1008;
// color // color
// =================================== // ===================================
// normal mode color // normal mode color
$primary-color = convert(hexo-config("style.theme_color")) || #0066CC; $primary-color = convert(hexo-config("style.primary_color")) || #0066CC;
$background-color = #fff; // normal $background-color = #fff; // normal
$magic-background-color = #fafafa; // magic $magic-background-color = #fafafa; // magic
$normal-text-color = #43404d; // $normal-text-color = #43404d; //