diff --git a/rendercv/data/reader.py b/rendercv/data/reader.py index 51f803e3..3ec548f4 100644 --- a/rendercv/data/reader.py +++ b/rendercv/data/reader.py @@ -182,6 +182,10 @@ def parse_validation_errors( "Input should be a valid list": ( "This field should contain a list of items but it doesn't!" ), + "value is not a valid color: value must be tuple, list or string": ( + "This is not a valid color! Here are some examples of valid colors:" + ' "red", "#ff0000", "rgb(255, 0, 0)", "hsl(0, 100%, 50%)"' + ), "value is not a valid color: string not recognised as a valid color": ( "This is not a valid color! Here are some examples of valid colors:" ' "red", "#ff0000", "rgb(255, 0, 0)", "hsl(0, 100%, 50%)"'