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
  • !35134

Correctly evaluate whether a link color should be shaded or tinted

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/ntnz/patch-1 into main Oct 07, 2021
  • Overview 3
  • Commits 2
  • Pipelines 0
  • Changes 1

Created by: ntnz

In its current state, lights are mixed with white, and darks are mixed with black. If the intention is to create contrast, this seems incorrect.

You can see this problem in action in the docs: https://getbootstrap.com/docs/5.0/helpers/colored-links/

Using the .link-light example on the docs page: 136474680-935b60f8-159a-4b7f-bc20-b4394c12d4bb The link has the color of #f8f9fa.

On hover, the color is lightened to #f9fafb: 136474750-e85cd50d-61e8-475a-80fb-223952479d38

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/ntnz/patch-1