diff --git a/src/editor/components/StylesColor.js b/src/editor/components/StylesColor.js index 19b298df..ea5113d7 100644 --- a/src/editor/components/StylesColor.js +++ b/src/editor/components/StylesColor.js @@ -28,7 +28,7 @@ const Color = ( { selector } ) => { config = set( config, [ selector, key ].join( '.' ), - hexToVar( newValue, themePalette ) + hexToVar( newValue, themePalette ) ?? '' ); setUserConfig( config ); };