From dab0864c53db6e143aa71454ebbe052f6856e0e5 Mon Sep 17 00:00:00 2001 From: Glen Davies Date: Mon, 13 Dec 2021 13:42:21 +1300 Subject: [PATCH] Global Styles: Move the 'Edit colors' button to a standard menu item (#36842) * Move changes to the new palette edit component * Remove redundant style * Change class name to match existing Co-authored-by: Glen Davies --- packages/components/src/palette-edit/index.js | 30 +++++++++---------- .../components/src/palette-edit/style.scss | 5 ++++ 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/packages/components/src/palette-edit/index.js b/packages/components/src/palette-edit/index.js index b4de9800c9ece..0ed6b805cfb13 100644 --- a/packages/components/src/palette-edit/index.js +++ b/packages/components/src/palette-edit/index.js @@ -292,22 +292,8 @@ export default function PaletteEdit( { } } /> ) } - { ! isEditing && ( - { ! canOnlyChangeValues && (