Skip to content

Fix compliance framework labels to be readable for all background colors

What does this MR do and why?

This MR fixes the compliance framework labels not being readable on light or dark background colors depending on the theme.

References: #340281 (closed)

Screenshots or screen recordings

Before After
image image
image image

How to set up and validate locally

  1. You need a GitLab Premium license.
  2. Follow the documented instructions to add a compliance framework.
    • Pick a really light background color
  3. Add the compliance framework to a project in Project > Settings > Compliance framework.
  4. Switch to dark mode theme and verify that the text is still readable.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #340281 (closed)

Edited by Jiaan Louw

Merge request reports