From 48473a78dfa825d3d674801c3a4a5d87b4db44f1 Mon Sep 17 00:00:00 2001 From: tellthemachines Date: Wed, 5 Jul 2023 16:21:45 +1000 Subject: [PATCH] Check if experiment enabled fr this time (#52315) --- .../src/components/global-styles/palette.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/edit-site/src/components/global-styles/palette.js b/packages/edit-site/src/components/global-styles/palette.js index 32d92469068ba..dc73f54a1701a 100644 --- a/packages/edit-site/src/components/global-styles/palette.js +++ b/packages/edit-site/src/components/global-styles/palette.js @@ -91,15 +91,16 @@ function Palette( { name } ) { - { randomizeThemeColors && themeColors?.length > 0 && ( - - ) } + { window.__experimentalEnableColorRandomizer && + themeColors?.length > 0 && ( + + ) } ); }