epub converter: fix color mapping

This commit is contained in:
shirshasa
2021-07-08 15:10:54 +03:00
parent 8863154a05
commit 05141746de

View File

@@ -91,16 +91,16 @@ class LawCartaConfig:
HTML42LIVECARTA_COLORS = { HTML42LIVECARTA_COLORS = {
'yellow': 'yellow', 'yellow': 'yellow',
'lime': 'darkYellow', 'lime': 'green',
'aqua': 'cyan', 'aqua': 'cyan',
'fuchsia': 'magenta', 'fuchsia': 'magenta',
'blue': 'blue', 'blue': 'blue',
'red': 'red', 'red': 'red',
'navy': 'darkBlue', 'navy': 'darkBlue',
'teal': 'darkCyan', 'teal': 'darkCyan',
'green': 'green', 'green': 'darkGreen',
'purple': 'darkMagenta', 'purple': 'darkMagenta',
'olive': 'darkGreen', 'olive': 'darkYellow',
'silver': 'lightGray', 'silver': 'lightGray',
'white': 'white', 'white': 'white',
'maroon': 'darkRed', # '#800000', 'maroon': 'darkRed', # '#800000',