mattermost-community / focalboard

Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.
https://www.focalboard.com
Other
21.55k stars 1.92k forks source link

Bug: Assignee field text on card not visible in dark theme #4621

Open 0xBEN opened 1 year ago

0xBEN commented 1 year ago

Steps to reproduce the behavior

  1. Set the theme to dark theme (not an issue in light/default theme)
  2. Open a board where cards use the Assignee field
  3. Select/create a card and note the text in the Assignee field matches the background color

Expected behavior

In the dark theme, most text should inherit its color using the CSS variable --center-channel-color-rgb: 220, 220, 220;. However, this does not seem to be the case for the Assignee field. In my testing, the text in this field is visible in lighter themes. It appears as if the RGB value of 51,51,51 is hardcoded in the styling for that item rather than using the theme variable.

I tried hard reloading with a clean cache, new browsers, and incognito windows, and the issue persisted.

Screenshots (optional)

Original

image image image image

Modified Using Developer Tools

image image

Default Theme

image image

Light Theme

image image

Edition and Platform

Additional context (optional)

Add any other context about the problem here, and any notes about the severity:

Text still "legible" if you hover over the field, workaround exists by using a light theme.

Joe-0237 commented 1 year ago

This (Focalboard 7.8.2) issue also effects Firefox on Linux, definitely a mistake in a style-sheet somewhere. The field type with the issue is "Person"; "Assignee" was OPs, field name