Skip to content

Commit

Permalink
Merge pull request #875 from sarjona/bs5-tree
Browse files Browse the repository at this point in the history
[docs] Dev update BS5 reorganization
  • Loading branch information
roland04 authored Jan 26, 2024
2 parents a0b8fee + f955d7c commit 2ba048f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/devupdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ shortname,fullname,category,summary,cohort,student,cohort,teacher

Some of the Bootstrap 4 classes will be deprecated or dropped in its version 5. To prepare for this, some of the current Bootstrap 4 classes usages have been replaced with version 5 compatible classes. This will help us to upgrade to Bootstrap 5 in the future.

### Badges

- Badge colour class helpers `.badge-*` have been replaced with background utilities (use `.bg-primary` instead of `.badge-primary`) combined with the corresponding text colour classes (`.text-dark` or `.text-white`) to meet accessibility contrast.
- The `.badge-pill` class has been replaced with `.rounded-pill`

Expand All @@ -87,7 +89,9 @@ Some of the Bootstrap 4 classes will be deprecated or dropped in its version 5.

</ValidExample>

- The `.media` component has been replaced with utility classes.
### Media

The `.media` component has been replaced with utility classes.

<InvalidExample title="Don't">

Expand Down

0 comments on commit 2ba048f

Please sign in to comment.