This instance will be upgraded to Heptapod 0.23.2 on 2021-08-05 at 11:00 UTC+2 (a few minutes of down time)

Commit 155208dc authored by muxator's avatar muxator
Browse files

qtlib: document NAME_MAP purpose

Instead of plain CSS property names, TortoiseHg uses custom names for
controlling the appearance of its interface elements.

NAME_MAP converts those names to standard CSS properties.
parent 7a767d7df1f8
Pipeline #10294 passed with stage
in 40 minutes and 41 seconds
......@@ -481,6 +481,10 @@ def getbgcoloreffect(labels):
return QColor(e[:-11])
return QColor()
# TortoiseHg uses special names for the properties controlling the appearance of
# its interface elements.
# This dict maps internal style names to corresponding CSS property names.
'fg': 'color',
'bg': 'background-color',
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment