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
# ------------------------------------------------------------
style:
# Theme color
theme_color: "#0066CC"
# Theme primary color
primary_color: "#0066CC"
# favicon
favicon: images/favicon.png

View File

@ -51,7 +51,7 @@ $z-index-8 = 1008;
// 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
$magic-background-color = #fafafa; // magic
$normal-text-color = #43404d; //