Skip to content

Commit

Permalink
Switch docs to use .js config instead of JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Oct 9, 2017
1 parent cf236c1 commit 2c1de94
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
18 changes: 18 additions & 0 deletions docs/tailwind.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
"extend": {
"spacing": {
"padding": {
"12": "3rem",
"16": "4rem"
},
"margin": {
"12": "3rem",
"16": "4rem"
},
"negativeMargin": {
"12": "3rem",
"16": "4rem"
},
}
}
}
10 changes: 0 additions & 10 deletions docs/tailwind.json

This file was deleted.

8 changes: 1 addition & 7 deletions docs/webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ const tailwind = require('./../lib/index.js');
mix.less('source/_assets/less/main.less', 'source/css')
.options({
postCss: [
tailwind(require('./tailwind.json')),
tailwind(require('./tailwind.js')),
]
})

// mix.js('source/js/prism.js', 'source/js')
// .postCss('source/_assets/css/main.css', 'source/css', [
// require('./../src/tailwind.js')(),
// require('postcss-cssnext')()
// ])

0 comments on commit 2c1de94

Please sign in to comment.