From c051f91529942910525227b5c83c2e3fb56ec9a7 Mon Sep 17 00:00:00 2001 From: Laura Griffee Date: Tue, 8 Feb 2022 13:00:12 -0700 Subject: [PATCH] Create documentation for border-radius function and tokens --- documentation/guides/migrating-from-v8-to-v9.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/documentation/guides/migrating-from-v8-to-v9.md b/documentation/guides/migrating-from-v8-to-v9.md index 32ea7d24904..2fb9b7e3e04 100644 --- a/documentation/guides/migrating-from-v8-to-v9.md +++ b/documentation/guides/migrating-from-v8-to-v9.md @@ -89,6 +89,13 @@ To help you quickly add these functions and mixins back to your repo, we've crea A list of functions/mixins and their value equivalents or new token values. +#### `border-radius()` + +| Function | Replacement Value/Token | +| ------------------------------------------ | ------------------------- | +| `border-radius()`
`border-radius(base)` | `--p-border-radius-base` | +| `border-radius(large)` | `--p-border-radius-large` | + #### `duration()` | Function | Replacement Value/Token | @@ -202,6 +209,16 @@ We replaced a few of the following filter function instances with color tokens i ## Tokens +### Border Radius + +| Token | Replacement Value/Token | +| ----------------------------------------- | ------------------------ | +| `--p-border-radius-slim` | `--p-border-radius-05` | +| `--p-border-radius-base` | `--p-border-radius-1` | +| `--p-border-radius-wide` | `--p-border-radius-2` | +| `--p-border-radius-full` | `--p-border-radius-half` | +| `--p-text-field-focus-ring-border-radius` | `7px` | + ### Duration | Token | Replacement Value/Token |