* Start on new theme re-work

* theme_info.json -> theme.json
* Allow pipe codes for styleSGRx
This commit is contained in:
Bryan Ashby 2015-05-12 23:04:22 -06:00
parent 58746ca9a9
commit 2aa43295e3
10 changed files with 68 additions and 61 deletions

View file

@ -211,8 +211,8 @@ function prepareClient(client, cb) {
client.user.properties.theme_id = theme.getRandomTheme() || '';
theme.getThemeInfo(client.user.properties.theme_id, function themeInfo(err, info) {
client.currentThemeInfo = info;
theme.loadTheme(client.user.properties.theme_id, function themeLoaded(err, theme) {
client.currentTheme = theme;
cb(null);
});
} else {