mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-23 18:29:09 +00:00
Trying to make PostCSS work as Hexo plugin
This commit is contained in:
parent
5ac9d15f5b
commit
69290b112d
4 changed files with 17 additions and 0 deletions
|
|
@ -122,6 +122,12 @@ node_sass:
|
|||
precision: 5
|
||||
sourceComments: false
|
||||
|
||||
postcss:
|
||||
plugins:
|
||||
postcss-svg:
|
||||
paths: ['images']
|
||||
defaults: "[fill]: #000000"
|
||||
|
||||
# Deployment
|
||||
## Docs: https://hexo.io/docs/deployment.html
|
||||
# deploy:
|
||||
|
|
|
|||
|
|
@ -24,7 +24,9 @@
|
|||
"browserify": "^12.0.1",
|
||||
"chalk": "^1.1.1",
|
||||
"glob": "^6.0.1",
|
||||
"hexo-renderer-postcss": "^1.0.1",
|
||||
"multi-glob": "^1.0.1",
|
||||
"postcss-svg": "^1.0.4",
|
||||
"watchify": "^3.6.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,3 +3,9 @@ node_sass:
|
|||
outputStyle: nested
|
||||
precision: 5
|
||||
sourceComments: false
|
||||
|
||||
postcss:
|
||||
plugins:
|
||||
postcss-svg:
|
||||
paths: ['images']
|
||||
defaults: "[fill]: #000000"
|
||||
|
|
|
|||
3
website/themes/uppy/source/css/test.css
Normal file
3
website/themes/uppy/source/css/test.css
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
body {
|
||||
background-image: svg('uppy.svg', '[fill]: black');
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue