diff --git a/_config.template.yml b/_config.template.yml index de1002611..f1b0862b2 100644 --- a/_config.template.yml +++ b/_config.template.yml @@ -82,8 +82,11 @@ fonts: Roboto, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", " # You can find demos on http://github.hubspot.com/pace/docs/welcome # Warning: Line color mustn't delete or not define! # style available values: -# barber-shop, big-counter, bounce, center-circle, center-radar, center-simple, +# barber-shop, big-counter, bounce, center-atom, center-circle, center-radar, center-simple, # corner-indicator, fill-left, fill-left-nocolor, flat-top, loading-bar, macosx +# Or you can use your own style,just set the style value to "custom", +# and put your own css style to source/css/pace/custom.css +# document can be find on: pace: style: color: "#29d" diff --git a/layout/_partial/config_css.ejs b/layout/_partial/config_css.ejs index 2f9968954..e30d57dfa 100644 --- a/layout/_partial/config_css.ejs +++ b/layout/_partial/config_css.ejs @@ -186,6 +186,7 @@ border-color: <%= theme.pace.color %> transparent transparent; } + <% } else if(theme.pace.style === 'mycss') { %> <% } else { %>