class_docstr: Hold config parsers for all idle config files in singleton instance.
  
  Default config files, self.defaultCfg --
      for config_type in self.config_types:
          (idle install dir)/config-{config-type}.def
  
  User config files, self.userCfg --
      for config_type in self.config_types:
      (user home dir)/.idlerc/config-{config-type}.cfg
class_docstr_tok: ["Hold","config","parsers","for","all","idle","config","files","in","singleton","instance",".","Default","config","files",",","self.defaultCfg","--","for","config_type","in","self.config_types",":","(","idle","install","dir",")","\/config-","{","config-type","}",".def","User","config","files",",","self.userCfg","--","for","config_type","in","self.config_types",":","(","user","home","dir",")","\/.idlerc\/config-","{","config-type","}",".cfg"]
docstr: Return dict of theme element highlight colors.
  
  The keys are 'foreground' and 'background'.  The values are
  tkinter color strings for configuring backgrounds and tags.
docstr_tok: ["Return","dict","of","theme","element","highlight","colors",".","The","keys","are","'foreground","'","and","'background","'",".","The","values","are","tkinter","color","strings","for","configuring","backgrounds","and","tags","."]
code: def GetHighlight(self, theme, element):
      """Return dict of theme element highlight colors.
  
      The keys are 'foreground' and 'background'.  The values are
      tkinter color strings for configuring backgrounds and tags.
      """
      cfg = (
          "default"
          if self.defaultCfg["highlight"].has_section(theme)
          else "user"
      )
      theme_dict = self.GetThemeDict(cfg, theme)
      fore = theme_dict[element + "-foreground"]
      if element == "cursor":
          element = "normal"
      back = theme_dict[element + "-background"]
      return {"foreground": fore, "background": back}
  
imports: from configparser import ConfigParser
  import os
  import sys
  from tkinter.font import Font
  import idlelib
label_desc: Use image node_id 7 for calling the IdleConf obj's underlying member method code with example usage: obj.GetHighlight(theme, element) and returns: dict