* 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

@@ -0,0 +1,18 @@
{
"info" : {
"name" : "Nu Mayan",
"author" : "NuSkooler"
},
"defaults" : {
"general" : {
"passwordChar" : "φ"
}
},
"menus" : {
"matrix" : {
"VM1" : {
"itemSpacing" : 0
}
}
}
}

View File

@@ -1,7 +0,0 @@
{
"name" : "Nu Mayan",
"author" : "NuSkooler",
"config" : {
"passwordChar" : "φ"
}
}

View File

@@ -24,7 +24,7 @@ function login(callingMenu, formData, extraArgs) {
[
function loadThemeConfig(callback) {
theme.getThemeInfo(client.user.properties.theme_id, function themeInfo(err, info) {
client.currentThemeInfo = info;
client.currentTheme = info;
callback(null);
});
}

View File

@@ -320,7 +320,7 @@
},
"TM3" : {
"items" : [ "Yarly", "Nowaii" ],
"styleSGR1" : { "fg" : 30, "intensity" : 1 },
"styleSGR1" : "|00|30|01",
"hotkeys" : { "Y" : 0, "N" : 1 }
},
"BT8" : {