Skip to content

希望添加颜色自定义配置项 #888

Answered by ppoffice
BlakeNeko asked this question in Q&A
Discussion options

You must be logged in to vote

@BlakeNeko
如果每个地方的配色都要添加单独的配置值的话,未免会使配置过于臃肿。

不过,自己动手修改主题颜色还是很简单的。请看这里:
https://github.com/ppoffice/hexo-theme-icarus/blob/4.3.0/include/style/base.styl#L15

你可以从下面这些地方找到所有可以修改的颜色,修改成你想要的值,然后把他们拷贝到上面的文件顶部就可以自定义颜色了:
https://github.com/groenroos/bulma-stylus/blob/v0.8.0/stylus/utilities/initial-variables.styl#L1-L25
https://github.com/groenroos/bulma-stylus/blob/v0.8.0/stylus/utilities/derived-variables.styl#L1-L86

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BlakeNeko
Comment options

Answer selected by BlakeNeko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #887 on July 18, 2021 05:51.