WordPress now supports defining border radius presets in theme.json, allowing theme authors to provide a curated set of border radius values that users can select from in the Block Editor’s border controls.

The Problem

Previously, users could only input custom border radius values manually through the text input and unit picker controls. This made it difficult for theme authors to maintain consistent border radius values across a site’s design system and provided no guidance to users about which border radius values fit the theme’s design language.

The Solution

Following the pattern established by spacing sizes, WordPress now supports defining border

Click here to continue reading this article.