refactor: rename theme color
This commit is contained in:
parent
21967437aa
commit
9c38675afd
|
@ -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
|
||||||
|
|
|
@ -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; // 通用文本颜色(默认字体颜色)
|
||||||
|
|
Loading…
Reference in New Issue