浏览代码

Adjusted icon component styles to allow better dynamic coloring.

Aleksander Nowodzinski 9 年之前
父节点
当前提交
65f31288b9
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      packages/ckeditor5-theme-lark/theme/components/icon.scss

+ 5 - 5
packages/ckeditor5-theme-lark/theme/components/icon.scss

@@ -8,13 +8,12 @@
  */
 $ck-icon-size: 20px;
 
-.ck-icon-manager {
+.ck-icon-manager-sprite {
 	display: none;
 
-	&-sprite {
-		* {
-			fill: currentColor; // needed by Webkit/Blink
-		}
+	* {
+		color: inherit; // allows dynamic coloring of the icons
+		fill: currentColor; // needed by Webkit/Blink
 	}
 }
 
@@ -38,6 +37,7 @@ $ck-icon-size: 20px;
 	}
 
 	* {
+		color: inherit; // allows dynamic coloring of the icons
 		fill: currentColor; // needed by FF
 	}