From 616293deb089b1800f5c0f0aaf3d18fc46d28025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Juh=C3=A9=20Lluveras?= Date: Mon, 9 Sep 2019 12:47:33 +0200 Subject: [PATCH] Fix review block icons not having foreground color (https://github.com/woocommerce/woocommerce-blocks/pull/952) --- .../assets/js/blocks/reviews/reviews-by-category/index.js | 5 ++++- .../assets/js/blocks/reviews/reviews-by-product/index.js | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce-blocks/assets/js/blocks/reviews/reviews-by-category/index.js b/plugins/woocommerce-blocks/assets/js/blocks/reviews/reviews-by-category/index.js index efaf0a190bf..a8f9a659c5e 100644 --- a/plugins/woocommerce-blocks/assets/js/blocks/reviews/reviews-by-category/index.js +++ b/plugins/woocommerce-blocks/assets/js/blocks/reviews/reviews-by-category/index.js @@ -18,7 +18,10 @@ import save from '../save.js'; */ registerBlockType( 'woocommerce/reviews-by-category', { title: __( 'Reviews by Category', 'woo-gutenberg-products-block' ), - icon: , + icon: { + src: , + foreground: '#96588a', + }, category: 'woocommerce', keywords: [ __( 'WooCommerce', 'woo-gutenberg-products-block' ) ], description: __( diff --git a/plugins/woocommerce-blocks/assets/js/blocks/reviews/reviews-by-product/index.js b/plugins/woocommerce-blocks/assets/js/blocks/reviews/reviews-by-product/index.js index 5f6f417f081..8bd289eb0d6 100644 --- a/plugins/woocommerce-blocks/assets/js/blocks/reviews/reviews-by-product/index.js +++ b/plugins/woocommerce-blocks/assets/js/blocks/reviews/reviews-by-product/index.js @@ -18,7 +18,10 @@ import save from '../save.js'; */ registerBlockType( 'woocommerce/reviews-by-product', { title: __( 'Reviews by Product', 'woo-gutenberg-products-block' ), - icon: , + icon: { + src: , + foreground: '#96588a', + }, category: 'woocommerce', keywords: [ __( 'WooCommerce', 'woo-gutenberg-products-block' ) ], description: __(