You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repository and believe that this is not a duplicate.
Summary 💡
Currently the borderRadius property on the Box component matches the theme.shape values. So for defining a borderRadius, usually we have the following code:
<BoxborderRadius="borderRadius"/>
The proposal (taken from #23053 (comment)) is to consider the theme.shape.borderRadius as a value used for multiplying the values inside the borderRadius.
Examples 🌈
Here are a few examples of how the new conversion could be used
With this, we will have a more flexible approach for defining the borderRadius values and it would work consistently with the spacing values already available in the system.
The text was updated successfully, but these errors were encountered:
Summary 💡
Currently the
borderRadius
property on theBox
component matches thetheme.shape
values. So for defining a borderRadius, usually we have the following code:The proposal (taken from #23053 (comment)) is to consider the
theme.shape.borderRadius
as a value used for multiplying the values inside theborderRadius
.Examples 🌈
Here are a few examples of how the new conversion could be used
Motivation 🔦
With this, we will have a more flexible approach for defining the
borderRadius
values and it would work consistently with thespacing
values already available in the system.The text was updated successfully, but these errors were encountered: