jeffrifwald / es6-fiddle-web

Fiddlin' with ECMAScript6.
https://es6fiddle.net
MIT License
49 stars 77 forks source link

Theme dropdown! #16

Closed joshghent closed 8 years ago

joshghent commented 8 years ago

Hi there,

Not had much time recently but added a theme dropdown for the codemirror editor.

Added a basic select and save the theme with localstorage.

Also changed the res.sendfile to sendFile as it is now deprecated in express.

joshghent commented 8 years ago

Just a note that I had to add all the CSS files manually. After minification and everything it's not too much overhead.

I did explore using bower for the themes but couldn't seem to find a way of importing them.

As far as I know this is the only way unless we use something else.

jeffrifwald commented 8 years ago

LGTM. Thanks!