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
  • Issues
  • #25412
Closed
Open
Issue created Jan 23, 2018 by Administrator@rootContributor

No .text- utility class for default body color

Created by: razh

There is currently no way of resetting an <a> element (or any other element) to have the same color as <body> ($gray-900).

.text-dark exists, but it's a slightly lighter color ($gray-800).

https://getbootstrap.com/docs/4.0/utilities/colors/

Maybe something like .text-default?

Prior art

  • Primer (.text-gray-dark & .link-gray-dark): https://github.com/primer/primer/blob/master/modules/primer-utilities/lib/colors.scss
  • Tailwind (.text-black): https://tailwindcss.com/docs/text-color

Related issues

  • https://github.com/twbs/bootstrap/pull/19847 (there's a recommendation of .text-body here)
Assignee
Assign to
Time tracking