From 767319e234efbf6ac354e6f6b87cbf257549060b Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Tue, 12 May 2015 23:23:22 -0600 Subject: [PATCH] * Some notes --- core/view_controller.js | 3 +++ mods/art/themes/NU-MAYA/theme.json | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/core/view_controller.js b/core/view_controller.js index 749ec37b..29ff527c 100644 --- a/core/view_controller.js +++ b/core/view_controller.js @@ -508,6 +508,9 @@ ViewController.prototype.loadFromMenuConfig = function(options, cb) { }); }, function applyViewConfiguration(callback) { + // + // :TODO: need to merge configs from menu -> theme (specific) -> theme (default) -> defaults + if(_.isObject(formConfig)) { self.applyViewConfig(formConfig, function configApplied(err, info) { initialFocusId = info.initialFocusId; diff --git a/mods/art/themes/NU-MAYA/theme.json b/mods/art/themes/NU-MAYA/theme.json index 242be889..df0045d6 100644 --- a/mods/art/themes/NU-MAYA/theme.json +++ b/mods/art/themes/NU-MAYA/theme.json @@ -6,6 +6,12 @@ "defaults" : { "general" : { "passwordChar" : "φ" + }, + "views" : { + // :TODO: This should apply - by default - to all ToggleMenu's unless overridden elsewhere + "TM" : { + "styleSGR1" : "|00|30|01" + } } }, "menus" : {