Skip to content

Commit

Permalink
Stylus avec nib – Pas besoin de bidouiller les chemins d'accès.
Browse files Browse the repository at this point in the history
  • Loading branch information
domq committed Nov 23, 2014
1 parent 3473f15 commit e981931
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions calculator/calc.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ app.use(stylus.middleware(
, compile: function (str, path) {
return stylus(str)
.set('filename', path)
.set('paths', [
__dirname
, __dirname + '/node_modules'
])
.use(nib())
}
}
Expand Down
3 changes: 2 additions & 1 deletion calculator/stylus/style.styl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//@import "nib/index.styl"
@import nib

body
font 12px Helvetica, Arial, sans-serif
background-image url(http://www.mathovore.fr/wp-content/uploads/2014/07/calculatrice.jpg)
Expand Down

0 comments on commit e981931

Please sign in to comment.