]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
v5: Add .fs-* utilities for font-size and rename font-weight/-style utilities (#30571)
authorMark Otto <markd.otto@gmail.com>
Mon, 26 Oct 2020 23:42:07 +0000 (16:42 -0700)
committerGitHub <noreply@github.com>
Mon, 26 Oct 2020 23:42:07 +0000 (16:42 -0700)
commite5fa7084910c3ad68232c4580f4e2dd5a4c3fad1
treea25e8bb141ef58d6446a4afdc49de58ef642db44
parent6df0cfecd163a06d52bb91728cc474b2fae8a2eb
v5: Add .fs-* utilities for font-size and rename font-weight/-style utilities (#30571)

* v5: Add .fs-* utilities for font-size

- Adds new font-sizes Sass map
- Generates six new classes for setting only font-size
- Updates docs to mention this, including a scss-docs reference

* Update font utilities

- Make .fs-* utils for font-size use RFS
- Rename .font-weight-* utils to .fw-*
- Rename .font-style-* utils to .f-*
- Update order of utilities a bit
- Update docs to match

* Update migration docs to make note of these changes

* Be more specific in font-size docs about scale

* Update font-style abbreviation to .fst

* Fix font-weight property

* Formatting & font style utility fix

* Move to Alpha 3 migration section

* Update migration guide for more details, splitting alpha 2 stuff back to the appropriate section in Migration guide

* Tweak language on example

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
scss/_utilities.scss
scss/_variables.scss
site/content/docs/5.0/migration.md
site/content/docs/5.0/utilities/text.md