Skip to content

Commit 9b022eb

Browse files
committed
switch included styles to css so that stylus isn't required
1 parent 7978019 commit 9b022eb

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

lib/server.js

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ function createUserId(req, res, next) {
107107

108108
var errorApp = derby.createApp();
109109
errorApp.loadViews(__dirname + '/../views/error');
110+
errorApp.loadStyles(__dirname + '/../styles/reset');
110111
errorApp.loadStyles(__dirname + '/../styles/error');
111112

112113
function errorMiddleware(err, req, res, next) {

styles/error.styl styles/error.css

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@import "./reset";
2-
31
body {
42
padding: 2em;
53
}

styles/reset.styl styles/reset.css

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@import "nib/vendor";
2-
31
body,h1,h2,h3,h4,input,pre,select,textarea,th {
42
font: 13px/normal arial,sans-serif;
53
}

0 commit comments

Comments
 (0)