From 83ff85e008dc49b488f3f2ff21afadc3cadf3ef1 Mon Sep 17 00:00:00 2001 From: "Daniel W. Robert" Date: Thu, 8 Dec 2022 09:55:25 -0500 Subject: [PATCH] Fix Global Styles Block Icon Color for Mini Cart (https://github.com/woocommerce/woocommerce-blocks/pull/7762) * Update hex color val to currentColor. * 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/js/icons/library/mini-cart-alt.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/plugins/woocommerce-blocks/assets/js/icons/library/mini-cart-alt.tsx b/plugins/woocommerce-blocks/assets/js/icons/library/mini-cart-alt.tsx index 2e57b357f0d..23dbbb25ca5 100644 --- a/plugins/woocommerce-blocks/assets/js/icons/library/mini-cart-alt.tsx +++ b/plugins/woocommerce-blocks/assets/js/icons/library/mini-cart-alt.tsx @@ -4,7 +4,7 @@ import { SVG } from '@wordpress/primitives'; const miniCartAlt = ( - + - + - + );