Skip to main content

Interface: StylesProperties

Defined in: packages/core/src/react/provider/types.ts:551

Indexable​

[k: string]: unknown

Properties​

border?​

optional border: object

Defined in: packages/core/src/react/provider/types.ts:555

Border styles.

color?​

optional color: string

Sets the border-color CSS property.

radius?​

optional radius: string

Sets the border-radius CSS property.

style?​

optional style: string

Sets the border-style CSS property.

width?​

optional width: string

Sets the border-width CSS property.


color?​

optional color: object

Defined in: packages/core/src/react/provider/types.ts:576

Color styles.

background?​

optional background: string

Sets the background-color CSS property.

gradient?​

optional gradient: string

Sets the background CSS property.

text?​

optional text: string

Sets the color CSS property.


spacing?​

optional spacing: object

Defined in: packages/core/src/react/provider/types.ts:593

Spacing styles.

blockGap?​

optional blockGap: string

Sets the --wp--style--block-gap CSS custom property when settings.spacing.blockGap is true.

margin?​

optional margin: object

Margin styles.

margin.bottom?​

optional margin.bottom: string

Sets the margin-bottom CSS property.

margin.left?​

optional margin.left: string

Sets the margin-left CSS property.

margin.right?​

optional margin.right: string

Sets the margin-right CSS property.

margin.top?​

optional margin.top: string

Sets the margin-top CSS property.

padding?​

optional padding: object

Padding styles.

padding.bottom?​

optional padding.bottom: string

Sets the padding-bottom CSS property.

padding.left?​

optional padding.left: string

Sets the padding-left CSS property.

padding.right?​

optional padding.right: string

Sets the padding-right CSS property.

padding.top?​

optional padding.top: string

Sets the padding-top CSS property.


typography?​

optional typography: object

Defined in: packages/core/src/react/provider/types.ts:644

Typography styles.

fontFamily?​

optional fontFamily: string

Sets the font-family CSS property.

fontSize?​

optional fontSize: string

Sets the font-size CSS property.

fontStyle?​

optional fontStyle: string

Sets the font-style CSS property.

fontWeight?​

optional fontWeight: string

Sets the font-weight CSS property.

letterSpacing?​

optional letterSpacing: string

Sets the letter-spacing CSS property.

lineHeight?​

optional lineHeight: string

Sets the line-height CSS property.

textDecoration?​

optional textDecoration: string

Sets the text-decoration CSS property.

textTransform?​

optional textTransform: string

Sets the text-transform CSS property.