diff --git a/packages/components/src/palette-edit/index.js b/packages/components/src/palette-edit/index.js index 0c4cbf88f6181..add171b7ed143 100644 --- a/packages/components/src/palette-edit/index.js +++ b/packages/components/src/palette-edit/index.js @@ -39,6 +39,7 @@ import { import { NavigableMenu } from '../navigable-container'; import { DEFAULT_GRADIENT } from '../custom-gradient-picker/constants'; import CustomGradientPicker from '../custom-gradient-picker'; +import { COLORS } from '../utils'; const DEFAULT_COLOR = '#000'; @@ -79,7 +80,14 @@ function Option( { diff --git a/packages/components/src/palette-edit/styles.js b/packages/components/src/palette-edit/styles.js index a04991da03a68..27caf83be0319 100644 --- a/packages/components/src/palette-edit/styles.js +++ b/packages/components/src/palette-edit/styles.js @@ -30,7 +30,7 @@ export const IndicatorStyled = styled( CircularOptionPicker.Option )` export const NameInputControl = styled( InputControl )` ${ InputControlContainer } { background: ${ COLORS.gray[ 100 ] }; - border-radius: 2px; + border-radius: ${ CONFIG.controlBorderRadius }}; ${ Input }${ Input }${ Input }${ Input } { height: ${ space( 8 ) }; } @@ -52,6 +52,9 @@ export const NameContainer = styled.div` margin-right: ${ space( 2 ) }; white-space: nowrap; overflow: hidden; + ${ PaletteItem }:hover & { + color: var( --wp-admin-theme-color, ${ COLORS.blue.wordpress[ 700 ] } ); + } `; export const PaletteHeading = styled( Heading )`