Browse Source

Don't set fill for icons that set declare it

Only override the fill for elements that don't declare one.
Fixes #206
Michael Jeffrey 7 years ago
parent
commit
48a766f5de

+ 4 - 2
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/icon/icon.css

@@ -29,7 +29,9 @@
 		/* Allows dynamic coloring of the icons. */
 		color: inherit;
 
-		/* Needed by FF. */
-		fill: currentColor;
+		:not([fill]) {
+				/* Needed by FF. */
+				fill: currentColor;
+		}
 	}
 }