Skip to content

Commit

Permalink
[docs] Dev update BS5 reorganization
Browse files Browse the repository at this point in the history
Added subsections into the BS5 section to help to easily find
information.
  • Loading branch information
sarjona committed Jan 26, 2024
1 parent a0b8fee commit f955d7c
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 f955d7c

Please sign in to comment.