Skip to content

Commit

Permalink
Merge pull request #1178 from roland04/devdocs-bootstrap-rounded
Browse files Browse the repository at this point in the history
[docs] Documentation for MDL-81823
  • Loading branch information
HuongNV13 authored Nov 19, 2024
2 parents bab6376 + 4195725 commit 0da7e83
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 0da7e83

Please sign in to comment.