Radius
Adjust the feeling of your application by changing the radius of corners.
Corner radius drastically changes the feel of an application. Larger radius’ make applications feel soft, where as no radius makes an application feel sharp and edgy.
Winnie allows you to adjust the corner radius of elements using the data-radius
attribute. This means that any elements styled using the --wui-radius-<value>
variables will react to changes in this attribute.
Radius Factor
The implementation uses a radius factor, similar to Scaling Factor.
Corner radius variables can be applied to the border-radius
property in css.
Example
Putting this all together, we can create a interfaces whose personality changes based on the radius factor.