Skip to content

Replace 'text-danger' with 'gl-text-danger'

What does this MR do and why?

The text-danger class is duplicative of a tailwind util class, removing this from common.scss helps to consolidate styles.

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

N/A, no visual changes

How to set up and validate locally

One easy way to check this change is to look at the overdue due date on a todo item

  1. Check out this branch
  2. Visit your user's todos in the GDK
  3. If one of them is associated with an item with a due date and the due date is in the past, it will use the gl-text-danger class.
  4. otherwise, go find an issue with an overdue due date and add a todo for it, then repeat step 3.

Screenshot_2024-07-24_at_14.56.15

Related to #473840, #452231 (closed)

Merge request reports

Loading