Acorn is a Hexo theme for small to medium sized businesses or studios.
$ git clone https://github.com/zhwangart/hexo-theme-acorn.git themes/acornModify theme setting in _config.yml to acorn
theme: acorncd themes/acorn
git pullAutoprefixer plugin for Hexo.
$ npm install hexo-autoprefixer --saveConfigure Autoprefixer in your Hexo config.
autoprefixer:
exclude:
- '*.min.css'In package.json :
"browserslist": [
"last 2 versions"
]Complete sample:
"hexo": {
"version": "6.0.0"
},
"dependencies": {
....
},
"browserslist": [
"last 2 versions"
]Minify CSS files with clean-css.
$ npm install hexo-clean-css --saveclean_css:
exclude:
- *.min.css