summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2015-12-09 01:59:50 +0200
committerYuval Adam <yuval@y3xz.com>2015-12-09 01:59:50 +0200
commit4b817a5fc34162fb76914d6da5f8a4bb4deeb7de (patch)
treefca94af8a7eca7727fbbce8f9ff6dd392c8dbbe0
parentc941dd56db8a1e192e28ee4a99bea1e359cd9755 (diff)
Add bourbon styles
-rw-r--r--package.json1
-rw-r--r--style.scss3
-rw-r--r--webpack.config.js6
3 files changed, 8 insertions, 2 deletions
diff --git a/package.json b/package.json
index b9e7703..6e03ef5 100644
--- a/package.json
+++ b/package.json
@@ -9,6 +9,7 @@
"author": "",
"license": "ISC",
"devDependencies": {
+ "node-bourbon": "^4.2.3",
"node-sass": "^3.4.2",
"sass-loader": "^3.1.2",
"webpack": "^1.12.9",
diff --git a/style.scss b/style.scss
index f76ab10..9896856 100644
--- a/style.scss
+++ b/style.scss
@@ -1,5 +1,8 @@
+@import 'bourbon';
+
body {
background: #eee;
+ font-family: $lucida-grande;
ol {
display: inline;
li {
diff --git a/webpack.config.js b/webpack.config.js
index bfdb909..7f27918 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,3 +1,5 @@
+var bourbon = require('node-bourbon').includePaths
+
module.exports = {
entry: './index.js',
output: {
@@ -7,7 +9,7 @@ module.exports = {
module: {
loaders: [
{ test: /\.js$/, loader: 'babel' },
- { test: /\.scss$/, loaders: ['style', 'css', 'sass'] }
+ { test: /\.scss$/, loader: 'style!css!sass?includePaths[]=' + bourbon }
]
}
-}; \ No newline at end of file
+};