Skip to content

Commit

Permalink
[docs] Devdocs Bootstrap .rounded-[sm|lg] refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
roland04 committed Nov 5, 2024
1 parent b2b8a2b commit 4195725
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/guides/bs5migration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,3 +382,23 @@ shift-color($primary, -20%);
The `theme-color-level()` has been changed to `color-level()` and then subsequently removed and replaced by scale-color().
In the stable 5.0 the final decision was to adopt `shift-color()` so we will use this function in the bridge file.
:::

### Rounded classes

The `.rounded-sm` and `.rounded-lg` classes have been replaced with `.rounded-1` and `.rounded-3`.

<InvalidExample title="Don't">

```html
<div class="rounded-lg"> Rounded content </div>
```

</InvalidExample>

<ValidExample title="Do">

```html
<div class="rounded-3"> Rounded content </div>
```

</ValidExample>

0 comments on commit 4195725

Please sign in to comment.