in colorSchemeTool.py [0:0]
def foreground(self):
if self.inherited:
return self.parent.value.foreground
if self.default_fore and self.default_fore != IGNORE_COLOR_VALUE:
return self.transform(self.default_fore)
if self.parent.id != "TEXT":
return self.parent.value.foreground
return None