Skip to content

Commit

Permalink
Add PostCSS compilation and fix some styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpeterson committed Jan 4, 2018
1 parent b91a47d commit 3008b91
Show file tree
Hide file tree
Showing 24 changed files with 428 additions and 511 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -16,4 +16,10 @@ export LDFLAGS=-L/usr/local/opt/openssl/lib
npm start
```

If you want to edit the CSS, for now, start the css watcher separately:

```bash
npm run css
```

![pixelpusher](screenshots/screenshot-cat.png)
318 changes: 159 additions & 159 deletions build/imports.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -111,6 +111,7 @@
"eslint-plugin-import": "^2",
"eslint-plugin-jsx-a11y": "^5",
"eslint-plugin-react": "^7",
"postcss-cli": "^4.1.1"
"postcss-cli": "^4.1.1",
"postcss-url": "^7.3.0"
}
}
3 changes: 3 additions & 0 deletions postcss.config.js
Expand Up @@ -2,6 +2,9 @@ module.exports = () => {
return {
plugins: [
require('postcss-import')(),
require('postcss-url')({
url: 'inline',
}),
require('precss')(),
require('autoprefixer')({
browsers: ['last 2 versions', 'IE > 8']
Expand Down

0 comments on commit 3008b91

Please sign in to comment.