在hexo-theme-A4即本主题更新了1.6.7版本后,支持页面所有颜色自定义调整,只需要在_config.a4.yml
配置文件中相应配置修改为你喜欢的颜色即可。[1]
但是颜色搭配是一门学问
,以下直接告诉你可供选择使用的配色,利于切换主题风格。
你有自己研究出来的顺眼配色,也可在下方评论区留言,我看到后将更新到此页面。
灰白配色-默认
效果演示

如何启用?
该配色为A4启动后默认配色。保证_config.a4.yml
配置文件中color
设置为false
即可
或者color
设置为true
采用以下配置
1 2 3 4 5 6 7 8 9 10 11 12 13
|
color: enable: true font: "#000000" background: "#e4e4e4" indexBackGround: "#ffffff" postBackGround: "#ffffff" codeBackGround: "black" codeFont: "white" linkBeforeClick: "#fec591" linkAfterClick: "#fec591"
|
棕色墨绿护眼配色-预置
效果演示

如何启用?
该配色_config.a4.yml
配置文件中预置,将color
设置为true
,采用以下配置
1 2 3 4 5 6 7 8 9 10 11 12 13
|
color: enable: true font: "#9e5345" background: "#e8e0c9" indexBackGround: "#efeae2" postBackGround: "#efeae2" codeBackGround: "#e8e0c9" codeFont: "#2e5041" linkBeforeClick: "#2e5041" linkAfterClick: "#9c9caf"
|
青花瓷配色
效果演示

如何启用?
该配色_config.a4.yml
配置文件中预置,将color
设置为true
,采用以下配置
1 2 3 4 5 6 7 8 9 10 11 12 13
|
color: enable: true font: "#323e74" background: "#eaeae8" indexBackGround: "#f2fafc" postBackGround: "#f2fafc" codeBackGround: "#e7f7f3" codeFont: "#7f688d" linkBeforeClick: "#7f688d" linkAfterClick: "#767c7c"
|
绿金配色
效果演示

如何启用?
该配色_config.a4.yml
配置文件中预置,将color
设置为true
,采用以下配置
1 2 3 4 5 6 7 8 9 10 11 12 13
|
color: enable: true font: "#fec591" background: "#005454" indexBackGround: "#005454" postBackGround: "#005454" codeBackGround: "black" codeFont: "white" linkBeforeClick: "#fec591" linkAfterClick: "#fec591"
|
你想推荐你的配色?
请在评论区回复你的配置文件color
部分代码。
1 2 3 4 5 6 7 8 9 10 11 12 13
|
color: enable: true font: "#fec591" background: "#005454" indexBackGround: "#005454" postBackGround: "#005454" codeBackGround: "black" codeFont: "white" linkBeforeClick: "#fec591" linkAfterClick: "#fec591"
|
我看到后将更新到此页面。