Skip to content

Commit 123abb0

Browse files
committed
update pro notice
1 parent e818545 commit 123abb0

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/components/pro-control/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,11 @@ const LABELS = {
125125
</ul>,
126126
},
127127
'color-schemes': {
128-
title: __( 'Add Your Own Color Schemes', i18n ),
128+
title: __( 'Unlock Unlimited Color Schemes', i18n ),
129129
description: <ul>
130-
<li>{ __( 'Add your own custom Color Schemes', i18n ) }</li>
131-
<li>{ __( 'Manage your Block\'s Default Color Schemes', i18n ) }</li>
130+
<li>{ __( 'Add and reuse custom color schemes', i18n ) }</li>
131+
<li>{ __( 'Set default color schemes for blocks and sections', i18n ) }</li>
132+
<li>{ __( 'Streamline your design workflow', i18n ) }</li>
132133
</ul>,
133134
},
134135
}

src/plugins/global-settings/color-schemes/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import ColorSchemePicker from './color-scheme-picker'
1111
import {
1212
i18n, showProNotice, isPro,
1313
} from 'stackable'
14-
import { PanelAdvancedSettings, ProControl } from '~stackable/components'
14+
import { PanelAdvancedSettings, ProControlButton } from '~stackable/components'
1515

1616
/**
1717
* WordPress dependencies
@@ -44,7 +44,7 @@ addFilter( 'stackable.global-settings.inspector', 'stackable/global-color-scheme
4444
setItemInEdit={ setItemInEdit }
4545
/>
4646
{ isPro && applyFilters( 'stackable.global-settings.global-color-schemes.inspector', Fragment, itemInEdit ) }
47-
{ ! itemInEdit && ! isPro && showProNotice && <ProControl type="color-schemes" /> }
47+
{ ! itemInEdit && showProNotice && <ProControlButton type="color-schemes" /> }
4848
</PanelAdvancedSettings>
4949
</Fragment>
5050
)

0 commit comments

Comments
 (0)