Hexo-theme-next: 能否修改页面的背景色呢?

Created on 9 Apr 2015  ·  8Comments  ·  Source: iissnan/hexo-theme-next

感觉白色的背景有些亮,不知可否修改背景色?

Question

Most helpful comment

@ethan-funny 可以,在 source/css/_variables/base.styl 中:

// Background color for <body>
$body-bg-color                = white

All 8 comments

白色很好 很简约 为什么要改???

@ethan-funny 可以,在 source/css/_variables/base.styl 中:

// Background color for <body>
$body-bg-color                = white

@iissnan 感谢带来这么优秀的主题!建议增加一个暗系的色彩搭配,就像简书的白天夜晚模式一样,我觉得http://ppting.me/2015/01/26/change-jacman-theme/这个配色不错,可以参考,这色彩搭配看起来非常舒服。。。

我有想过挖一个暗系色彩的坑,Mist 是 Theme in theme 的第一个尝试,暗系色彩可能是下一个。不过目前时间比较紧张,估计这个坑会持续挺久 :smile:

我还停留在next 4.0 新的更新打开页面,如标签页面 ,就会失去侧边栏。
真心感谢带来 这么好的主题。

@iissnan Theme in theme想法太棒了,期待暗系色彩!呵呵。。。

暗色主题将在 0.5.0 release,见:https://github.com/iissnan/hexo-theme-next/wiki/Changelog

我在 theme/source/css/_variables/base.styl 中:

// Background color for <body>
$body-bg-color                = $grey-dark

修改颜色属性后发现没有任何改变,hexo g时显示:

$ hexo g
INFO  Start processing
INFO  Files loaded in 547 ms
INFO  0 files generated in 650 ms

没有文件生成?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

keltoy picture keltoy  ·  3Comments

dev-fancyluo picture dev-fancyluo  ·  3Comments

chy9002 picture chy9002  ·  3Comments

winterrain5 picture winterrain5  ·  4Comments

syscca picture syscca  ·  4Comments