diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index 2890948c..38b39057 100644 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -29,14 +29,18 @@ if (is_archive()){ <%- css_auto_version('lib/iconfont/iconfont.css') %> <% if (theme.iconlib) { %> - + <% } %> <%- css_auto_version('css/style') %> +<% if (theme.preset) { %> +<%- css_auto_version('preset/'+theme.preset) %> +<% } %> + <% if (theme.customStyles) { %> - <% theme.customStyles.forEach(function(custom){ %> - <%- css_auto_version('custom.css') %> - <% }) %> +<% theme.customStyles.forEach(function(custom){ %> +<%- css_auto_version('custom.css') %> +<% }) %> <% } %> <%- js([ @@ -47,7 +51,9 @@ if (is_archive()){ <%- js_auto_version('js/app') %> <% if (theme.copyText) { %> - -<% } %> + +<% } %> -<%- theme.slotHead %> +<%- theme.slotHead %> \ No newline at end of file diff --git a/source/preset/plain.styl b/source/preset/plain.styl new file mode 100644 index 00000000..0009a6f6 --- /dev/null +++ b/source/preset/plain.styl @@ -0,0 +1,19 @@ +:root { + --gutter: 24px; + --radius: 13px; + --color-primary: #000; + --color2: #000; + --color3: #000; + --color4: #000; + --color5: #000; + --color6: #000; + --color7: #000; + --color-primary-bg: #eee; + --color2-bg: #eee; + --color3-bg: #eee; + --color4-bg: #eee; + --color5-bg: #eee; + --color6-bg: #eee; + --color7-bg: #eee; + --color-shadow: #eee; +} \ No newline at end of file