Skip to content

Use gl-background-color-default for .gl-new-card-add-form background

What does this MR do and why?

Use var(--gl-background-color-default for .gl-new-card-add-form background

Replace a fixed color value with a token value to correct behavior in dark mode.

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

Before After
gdk.test_3000_admin_broadcast_messages gdk.test_3000_admin_broadcast_messages__1_

How to set up and validate locally

  1. Check out this branch locally
  2. As a user with admin privileges, ensure you are using dark mode
  3. visit http://gdk.test:3000/admin/broadcast_messages
  4. Click Add new message
  5. You will see that the background color of the form to add a new message is the same color as the page background

Related to #465345 (closed)

Edited by Chad Lavimoniere

Merge request reports

Loading