Adds a new border-radii map and border-radius utility function
Updates DesignTokenHelper.borderRadius to use the border-radii map
Replaces all usages of size with border-radius util function in border-radius declarations
Replaces all usages of deprecated $border-radius variables with border-radius util function
Replaces all hardcoded / magic string border-radius declarations with border-radius util function
Ouputs the border-radii map as CSS custom properties
Does this PR introduce a breaking change?
[ ] Yes
[x] No
Are there any additional context?
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Reminders
[ ] Make sure you have implemented tests following the guidelines in: "The good: Test".
[ ] Make sure you have updated the cookbook with examples and showcases (for bug fixes, enhancements & new components).
Review
[ ] Determine if your changes are a fix, feature or breaking-change, and add the matching label to your PR. If it is tooling, dependency updates or similar, add ignore-for-release.
Which issue does this PR close?
This PR closes no issue, housekeeping.
What is the new behavior?
border-radii
map andborder-radius
utility functionDesignTokenHelper.borderRadius
to use theborder-radii
mapsize
withborder-radius
util function inborder-radius
declarations$border-radius
variables withborder-radius
util functionborder-radius
declarations withborder-radius
util functionborder-radii
map as CSS custom propertiesDoes this PR introduce a breaking change?
Are there any additional context?
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Reminders
Review
When the pull request has been approved it will be merged to
develop
by Team Kirby.