Skip to content

Commit

Permalink
Add missing global styles config for radiusSizes
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Dec 5, 2024
1 parent 9bb6c03 commit 7ee1523
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/block-editor/src/components/global-styles/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ export const PRESET_METADATA = [
valueFunc: ( { size } ) => size,
classes: [],
},
{
path: [ 'border', 'radiusSizes' ],
valueKey: 'size',
cssVarInfix: 'border-radius',
valueFunc: ( { size } ) => size,
classes: [],
},
];

export const STYLE_PATH_TO_CSS_VAR_INFIX = {
Expand Down

0 comments on commit 7ee1523

Please sign in to comment.