diff --git a/_config.yml b/_config.yml index 5eea877..4383053 100644 --- a/_config.yml +++ b/_config.yml @@ -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 diff --git a/source/css/layout/common/variables.styl b/source/css/layout/common/variables.styl index e79c95d..caf8bfe 100644 --- a/source/css/layout/common/variables.styl +++ b/source/css/layout/common/variables.styl @@ -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; // 通用文本颜色(默认字体颜色)