summaryrefslogtreecommitdiff
path: root/lib/threads/color.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/threads/color.py')
-rw-r--r--lib/threads/color.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/threads/color.py b/lib/threads/color.py
index c75778d2..44fa709c 100644
--- a/lib/threads/color.py
+++ b/lib/threads/color.py
@@ -17,10 +17,10 @@ class ThreadColor(object):
'''
avoid error messages:
* set colors with a gradient to black
- * currentColor should not just be black, but we want to avoid error messages
- until inkex will be able to handle this css property
+ * currentColor/context-fill/context-stroke: should not just be black, but we want to avoid
+ error messages until inkex will be able to handle these css properties
'''
- if type(color) == str and color.startswith(('url', 'currentColor')):
+ if type(color) == str and color.startswith(('url', 'currentColor', 'context')):
color = None
elif type(color) == str and color.startswith('rgb'):
color = tuple(int(value) for value in color[4:-1].split(','))