From a69722912224725dfff2b551e3fe9bea7dc87c0d Mon Sep 17 00:00:00 2001 From: "Daniel W. Robert" Date: Wed, 7 Dec 2022 11:10:49 -0500 Subject: [PATCH] Remove fill attributes on SVG Having the fill attributes explicitly defined on the SVG was setting the icon to purple in unexpected cases. This also reverts the quick attempt to adjust CSS selector for a fix, as it was the incorrect approach. --- assets/css/editor.scss | 2 +- assets/js/icons/library/mini-cart-alt.tsx | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/assets/css/editor.scss b/assets/css/editor.scss index dc876c3cd46..301a9562dce 100644 --- a/assets/css/editor.scss +++ b/assets/css/editor.scss @@ -33,7 +33,7 @@ } } -:not(.site-editor-php) svg.wc-block-editor-components-block-icon { +svg.wc-block-editor-components-block-icon { color: $studio-woocommerce-purple-50; } diff --git a/assets/js/icons/library/mini-cart-alt.tsx b/assets/js/icons/library/mini-cart-alt.tsx index fc095bfc77a..23dbbb25ca5 100644 --- a/assets/js/icons/library/mini-cart-alt.tsx +++ b/assets/js/icons/library/mini-cart-alt.tsx @@ -4,7 +4,7 @@ import { SVG } from '@wordpress/primitives'; const miniCartAlt = ( - + - + - + );