Quote:
Originally Posted by taratears
May I ask what the colors mean? Red is obvious, but I didn't see a list of what the colors mean, and I'm not certain what to search for to look it up.
|
It's not documented as such. From
https://github.com/JimmXinu/FanFicFa...ighter.py#L41:
Code:
colors = {
'knownentries':Qt.darkGreen,
'errors':Qt.red,
'allkeywords':Qt.darkMagenta,
'knownkeywords':Qt.blue,
'knownsections':Qt.darkBlue,
'teststories':Qt.darkCyan,
'storyUrls':Qt.darkMagenta,
'comments':Qt.darkYellow
}
try:
if( hasattr(QApplication.instance(),'is_dark_theme')
and QApplication.instance().is_dark_theme ):
colors = {
'knownentries':Qt.green,
'errors':Qt.red,
'allkeywords':Qt.magenta,
'knownkeywords':QColor(Qt.blue).lighter(150),
'knownsections':Qt.darkCyan,
'teststories':Qt.cyan,
'storyUrls':QColor(Qt.magenta).lighter(150),
'comments':Qt.yellow
}
except Exception as e:
logger.error("Failed to set dark theme highlight colors: %s"%e)