Skip to content

Replace `text-secondary` class with `gl-text-secondary`

What does this MR do and why?

In light mode the .text-secondary and .gl-text-secondary util classes both result in the same text color, but in dark mode they do not, and there are unintended negative side effects when hovering because of the !important decorator that is built into the .text-secondary class.

This MR replaces uses of text-secondary in haml and vue files with either gl-text-secondary or gl-text-secondary! as appropriate to the use case.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #460234

Merge request reports