docs: function createTheme(settings) {
      var empty_color = { class: '' , name: '' }
      var returned = { settings : settings }
      if (settings.fg_scheme && settings.mode) {
        returned.text   = context[settings.fg_scheme][settings.mode].text
        returned.emph   = context[settings.fg_scheme][settings.mode].emph
        returned.deemph = context[settings.fg_scheme][settings.mode].deemph
        returned.hilite = context[settings.bg_scheme][settings.mode].hilite
        returned.bg     = context[settings.bg_scheme][settings.mode].bg
      } else {
        returned.text = returned.emph = returned.deemph = returned.hilite = returned.bg = empty_color
      }
      if (settings.ac_scheme) {
        returned.ctl = context[settings.ac_scheme].accent.ctl
        returned.opr = context[settings.ac_scheme].accent.opr
        returned.kwd = context[settings.ac_scheme].accent.kwd
        returned.cst = context[settings.ac_scheme].accent.cst
        returned.str = context[settings.ac_scheme].accent.str
        returned.cmd = context[settings.ac_scheme].accent.cmd
        returned.arg = context[settings.ac_scheme].accent.arg
        returned.obj = context[settings.ac_scheme].accent.obj
      } else {
        returned.ctl = returned.opr = returned.kwd = returned.cst = returned.str = returned.cmd = returned.arg = returned.obj = empty_color
      }
      return returned
      return {
        settings : settings
      , text   : (settings.fg_scheme && settings.mode) ? context[settings.fg_scheme][settings.mode].text   : empty_color
      , emph   : (settings.fg_scheme && settings.mode) ? context[settings.fg_scheme][settings.mode].emph   : empty_color
      , deemph : (settings.fg_scheme && settings.mode) ? context[settings.fg_scheme][settings.mode].deemph : empty_color
      , hilite : (settings.bg_scheme && settings.mode) ? context[settings.bg_scheme][settings.mode].hilite : empty_color
      , bg     : (settings.bg_scheme && settings.mode) ? context[settings.bg_scheme][settings.mode].bg     : empty_color
      , ctl    : (settings.ac_scheme) ? context[settings.ac_scheme].accent.ctl : empty_color
      , opr    : (settings.ac_scheme) ? context[settings.ac_scheme].accent.opr : empty_color
      , kwd    : (settings.ac_scheme) ? context[settings.ac_scheme].accent.kwd : empty_color
      , cst    : (settings.ac_scheme) ? context[settings.ac_scheme].accent.cst : empty_color
      , str    : (settings.ac_scheme) ? context[settings.ac_scheme].accent.str : empty_color
      , cmd    : (settings.ac_scheme) ? context[settings.ac_scheme].accent.cmd : empty_color
      , arg    : (settings.ac_scheme) ? context[settings.ac_scheme].accent.arg : empty_color
      , obj    : (settings.ac_scheme) ? context[settings.ac_scheme].accent.obj : empty_color
      }
    }