Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !30571

v5: Add .fs-* utilities for font-size and rename font-weight/-style utilities

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark Otto requested to merge v5-fs-utils into main Apr 13, 2020
  • Overview 2
  • Commits 10
  • Pipelines 0
  • Changes 4
  • 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

It occurs to me this might need some rfs magic, but I'm unsure how to add that right now to the utilities file. Also, should these be responsive so folks can do .fs-md-3 .fs-lg-4? I'm thinking not given obvious file bloat.

Also makes me think .font-weight-* utilities should be shortened to .fw-*. .font-style is obviously trickier... could remap to .text-* or .font-*?

Fixes #25832 (closed).

https://deploy-preview-30571--twbs-bootstrap.netlify.app/docs/5.0/utilities/text/#font-size

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: v5-fs-utils