@@ -376,6 +376,10 @@ const ColorSchemePicker = props => {
376376 }
377377 }
378378
379+ const isNameReadOnly = itemInEdit ?. key === 'scheme-default-1' ? true
380+ : ! isPro && itemInEdit ?. key === 'scheme-default-2' ? true
381+ : false
382+
379383 return ( ! itemInEdit ? < SortablePicker
380384 ref = { ref }
381385 { ...props }
@@ -404,18 +408,22 @@ const ColorSchemePicker = props => {
404408 onDuplicate = { ( ) => onDuplicate ( itemInEdit ) }
405409 />
406410 < div className = "stk-global-color-scheme__edit-panel-preview" >
407- < p > { __ ( 'Editing this scheme will also change all blocks that currently use this color scheme.' , i18n ) } </ p >
411+ {
412+ ! isPro && itemInEdit . key === 'scheme-default-1'
413+ ? < p > { __ ( 'Change the color scheme used for all blocks, and when the container option is enabled for a block.' , i18n ) } </ p >
414+ : ! isPro && itemInEdit . key === 'scheme-default-2'
415+ ? < p > { __ ( 'Change the color scheme applied when the background option is enabled for a block.' , i18n ) } </ p >
416+ : < p > { __ ( 'Editing this scheme will also change all blocks that currently use this color scheme.' , i18n ) } </ p >
417+ }
408418
409419 < ItemPreview item = { itemInEdit } withWrapper = { true } />
410420 < AdvancedTextControl
411421 label = { __ ( 'Color Scheme Name' , i18n ) }
412422 hasPanelModifiedIndicator = { false }
413423 value = { itemInEdit ?. name }
414424 allowReset = { false }
415- { ...{
416- readOnly : itemInEdit ?. key === 'scheme-default-1' ? true : false ,
417- onChange : itemInEdit ?. key === 'scheme-default-1' ? null : name => onChangeName ( name ) ,
418- } }
425+ readOnly = { isNameReadOnly }
426+ onChange = { onChangeName }
419427 />
420428 </ div >
421429
@@ -443,7 +451,13 @@ const ColorSchemePicker = props => {
443451 hover = { getAllowedHover ( settings . property ) }
444452 forceUpdateHoverState = { true }
445453 onChange = { color => onChange ( settings . property , color ) }
446- help = { settings . property === 'backgroundColor' ? __ ( 'Note: Background color is not used for Base Color Scheme.' , i18n ) : '' }
454+ help = {
455+ ! isPro && itemInEdit . key === 'scheme-default-1' && settings . property === 'backgroundColor'
456+ ? __ ( 'Note: This background color is used when the container option of the block is enabled.' , i18n )
457+ : isPro && settings . property === 'backgroundColor'
458+ ? __ ( 'Note: Background color is not used for Base Color Scheme.' , i18n )
459+ : ''
460+ }
447461 hasGradientPicker = { hasGradientPicker ( settings . property ) }
448462 enableGradient = { currentHoverState === 'normal' || settings . property === 'buttonBackgroundColor' }
449463 additionalToggleProps = { getToggleProps ( settings ) }
0 commit comments