diff --git a/packages/block-editor/src/components/colors-gradients/control.js b/packages/block-editor/src/components/colors-gradients/control.js index 12d519aa474d30..85c49d88d9d521 100644 --- a/packages/block-editor/src/components/colors-gradients/control.js +++ b/packages/block-editor/src/components/colors-gradients/control.js @@ -29,7 +29,7 @@ const colorsAndGradientKeys = [ const TAB_COLOR = { name: 'color', - title: 'Solid color', + title: 'Solid', value: 'color', }; const TAB_GRADIENT = { diff --git a/packages/block-editor/src/components/colors-gradients/test/control.js b/packages/block-editor/src/components/colors-gradients/test/control.js index e926842d4428f0..f9b792a818cd4a 100644 --- a/packages/block-editor/src/components/colors-gradients/test/control.js +++ b/packages/block-editor/src/components/colors-gradients/test/control.js @@ -53,7 +53,7 @@ describe( 'ColorPaletteControl', () => { // Is showing the two tab buttons. expect( - screen.getByRole( 'tab', { name: 'Solid color' } ) + screen.getByRole( 'tab', { name: 'Solid' } ) ).toBeInTheDocument(); expect( screen.getByRole( 'tab', { name: 'Gradient' } ) @@ -86,7 +86,7 @@ describe( 'ColorPaletteControl', () => { // Is not showing the two tab buttons. expect( - screen.queryByRole( 'tab', { name: 'Solid color' } ) + screen.queryByRole( 'tab', { name: 'Solid' } ) ).not.toBeInTheDocument(); expect( screen.queryByRole( 'tab', { name: 'Gradient' } ) @@ -133,7 +133,7 @@ describe( 'ColorPaletteControl', () => { // Is not showing the two tab buttons. expect( - screen.queryByRole( 'tab', { name: 'Solid color' } ) + screen.queryByRole( 'tab', { name: 'Solid' } ) ).not.toBeInTheDocument(); expect( screen.queryByRole( 'tab', { name: 'Gradient' } ) diff --git a/packages/edit-site/src/components/global-styles/screen-color-palette.js b/packages/edit-site/src/components/global-styles/screen-color-palette.js index e19d1939dab8e4..0e5b9c5d960fc1 100644 --- a/packages/edit-site/src/components/global-styles/screen-color-palette.js +++ b/packages/edit-site/src/components/global-styles/screen-color-palette.js @@ -24,7 +24,7 @@ function ScreenColorPalette( { name } ) { tabs={ [ { name: 'solid', - title: 'Solid color', + title: 'Solid', value: 'solid', }, {