From c926af77c063fbe06fc01f8132f41b61eef8ede9 Mon Sep 17 00:00:00 2001 From: Rich Tabor Date: Thu, 22 Aug 2024 15:18:12 -0400 Subject: [PATCH] Use four color palette colors instead of five for useStylesPreviewColors (#64700) Co-authored-by: richtabor Co-authored-by: Mamaduka --- .../edit-site/src/components/global-styles/preset-colors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-site/src/components/global-styles/preset-colors.js b/packages/edit-site/src/components/global-styles/preset-colors.js index c24b5ea3c75e0f..7977cd88a13c3f 100644 --- a/packages/edit-site/src/components/global-styles/preset-colors.js +++ b/packages/edit-site/src/components/global-styles/preset-colors.js @@ -5,7 +5,7 @@ import { useStylesPreviewColors } from './hooks'; export default function PresetColors() { const { paletteColors } = useStylesPreviewColors(); - return paletteColors.slice( 0, 5 ).map( ( { slug, color }, index ) => ( + return paletteColors.slice( 0, 4 ).map( ( { slug, color }, index ) => (