Permalink
Browse files

add: 1 color scheme | 自定义配色方案

  • Loading branch information...
MOxFIVE committed Mar 2, 2016
1 parent 7d4b997 commit 6cdbfca7ec0ec79a0ed3fce345ecdc689d47902f
Showing with 30 additions and 2 deletions.
  1. +4 −0 _config.yml
  2. +26 −2 source/css/_partial/customise/color-scheme.styl
View
@@ -90,6 +90,10 @@ youyan:
## "0": white-gray background | 淳朴灰白背景
background_image: 5
## General Color Scheme | 主题配色方案
## 可用值 Value: yilia
color_scheme:
highlight_style:
#on: true
inline_code: 1 # Value: 0 - 9 可选
@@ -1,4 +1,4 @@
color-scheme = hexo-config("color_scheme")
background-image = hexo-config("background_image")
if !background-image
@@ -40,5 +40,29 @@ if !background-image
background rgba(158,188,226,.9)
if color-scheme == "yilia"
body
background gray
.article-header
border-left 5px solid #666
.article-more-link a
background #4d4d4d
font-size .8em
.tagcloud a.color3
background #7B5D5F
&:before
border-right-color #7B5D5F
.tagcloud a.color5
background #BA8F6C
&:before
border-right-color #BA8F6C
&:hover
background-color hover-color
border-color hover-color
&::before
border-right-color hover-color

0 comments on commit 6cdbfca

Please sign in to comment.