Board->Add List: label text colour remains black even if label colour is dark

Summary

When adding a list in Boards, if the label colour is dark, the label text shown in the list is colored white. However, adding that label will cause the label at the top of the list to show up as black. Refreshing the page will render the label text correctly to white.

Steps to reproduce

  1. Go to a Boards page
  2. Click Add list
  3. Select a label that has a dark background color (best if it's black)

To fix, refresh the page.

Example Project

(If possible, please create an example project here on GitLab.com that exhibits the problematic behaviour, and link to it here in the bug report)

(If you are using an older version of GitLab, this will also determine whether the bug has been fixed in a more recent version)

What is the current bug behavior?

list shows up with the label shown at the top with the text in black

What is the expected correct behavior?

list shows up with the label shown at the top with the text in white due to the dark label color.

Relevant logs and/or screenshots

BEFORE REFRESH Screen_Shot_2018-10-24_at_3.48.48_PM

AFTER REFRESH Screen_Shot_2018-10-24_at_3.48.35_PM

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

GitLab Enterprise Edition 11.3.5-ee 7b10203

Results of GitLab application Check

GitLab Enterprise Edition 11.3.5-ee 7b10203

Possible fixes

Edited Oct 27, 2018 by Marcus Low
Assignee Loading
Time tracking Loading