Interface: SettingsProperties
Defined in: packages/core/src/react/provider/types.ts:354
Indexable
[k: string]: unknown
Properties
appearanceTools?
optionalappearanceTools:boolean
Defined in: packages/core/src/react/provider/types.ts:358
Setting that enables ui tools.
border?
optionalborder:object
Defined in: packages/core/src/react/provider/types.ts:362
Settings related to borders.
color?
optionalcolor:boolean
Allow users to set custom border colors.
radius?
optionalradius:boolean
Allow users to set custom border radius.
style?
optionalstyle:boolean
Allow users to set custom border styles.
width?
optionalwidth:boolean
Allow users to set custom border widths.
color?
optionalcolor:object
Defined in: packages/core/src/react/provider/types.ts:383
Settings related to colors.
background?
optionalbackground:boolean
Allow users to set background colors.
custom?
optionalcustom:boolean
Allow users to select custom colors.
customDuotone?
optionalcustomDuotone:boolean
Allow users to create custom duotone filters.
customGradient?
optionalcustomGradient:boolean
Allow users to create custom gradients.
defaultGradients?
optionaldefaultGradients:boolean
Allow users to choose colors from the default gradients.
defaultPalette?
optionaldefaultPalette:boolean
Allow users to choose colors from the default palette.
duotone?
optionalduotone:SettingsDuotone
Duotone presets for the duotone picker. Doesn't generate classes or properties.
gradients?
optionalgradients:SettingsGradient
Gradient presets for the gradient picker.
Generates a single class (.has-{slug}-background) and custom property (--wp--preset--gradient--{slug}) per preset value.
link?
optionallink:boolean
Allow users to set link colors.
palette?
optionalpalette:SettingsColorPalette
Color palette presets for the color picker.
Generates three classes (.has-{slug}-color, .has-{slug}-background-color, and .has-{slug}-border-color) and a single custom property (--wp--preset--color--{slug}) per preset value.
text?
optionaltext:boolean
Allow users to set text colors.
custom?
optionalcustom:object
Defined in: packages/core/src/react/provider/types.ts:543
Generate custom CSS custom properties of the form --wp--custom--{key}--{nested-key}: {value};. camelCased keys are transformed to kebab-case as to follow the CSS property naming schema. Keys at different depth levels are separated by --, so keys should not include -- in the name.
Index Signature
[k: string]: string | number | SettingsCustomAdditionalProperties
layout?
optionallayout:object
Defined in: packages/core/src/react/provider/types.ts:435
Settings related to layout.
contentSize?
optionalcontentSize:string
Sets the max-width of the content.
wideSize?
optionalwideSize:string
Sets the max-width of wide (.alignwide) content.
spacing?
optionalspacing:object
Defined in: packages/core/src/react/provider/types.ts:448
Settings related to spacing.
blockGap?
optionalblockGap:null|boolean
Enables --wp--style--block-gap to be generated from styles.spacing.blockGap.
A value of null instead of false further disables layout styles from being generated.
margin?
optionalmargin:boolean
Allow users to set a custom margin.
padding?
optionalpadding:boolean
Allow users to set a custom padding.
units?
optionalunits:string[]
List of units the user can use for spacing values.
typography?
optionaltypography:object
Defined in: packages/core/src/react/provider/types.ts:470
Settings related to typography.
customFontSize?
optionalcustomFontSize:boolean
Allow users to set custom font sizes.
dropCap?
optionaldropCap:boolean
Enable drop cap.
fontFamilies?
optionalfontFamilies:object[]
Font family presets for the font family selector.
Generates a single custom property (--wp--preset--font-family--{slug}) per preset value.
fontSizes?
optionalfontSizes:object[]
Font size presets for the font size selector.
Generates a single class (.has-{slug}-color) and custom property (--wp--preset--font-size--{slug}) per preset value.
fontStyle?
optionalfontStyle:boolean
Allow users to set custom font styles.
fontWeight?
optionalfontWeight:boolean
Allow users to set custom font weights.
letterSpacing?
optionalletterSpacing:boolean
Allow users to set custom letter spacing.
lineHeight?
optionallineHeight:boolean
Allow users to set custom line height.
textDecoration?
optionaltextDecoration:boolean
Allow users to set custom text decorations.
textTransform?
optionaltextTransform:boolean
Allow users to set custom text transforms.