Skip to content

Commit

Permalink
Follow up to #61387 - I missed a couple of source props
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed May 8, 2024
1 parent 7f4adc2 commit c996816
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/class-wp-theme-json-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ class WP_Theme_JSON_Gutenberg {
),
'background-image' => array(
array( 'background', 'backgroundImage', 'url' ),
array( 'background', 'backgroundImage', 'source' ),
),
);

Expand Down
2 changes: 1 addition & 1 deletion packages/style-engine/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface BorderIndividualStyles< T extends BoxEdge > {
export interface Style {
background?: {
backgroundImage?:
| { url?: CSSProperties[ 'backgroundImage' ]; source?: string }
| { url?: CSSProperties[ 'backgroundImage' ] }
| CSSProperties[ 'backgroundImage' ];
backgroundPosition?: CSSProperties[ 'backgroundPosition' ];
backgroundRepeat?: CSSProperties[ 'backgroundRepeat' ];
Expand Down

0 comments on commit c996816

Please sign in to comment.