mattermost-community / focalboard

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

Bug: Link Unfurl > Wrong property pill colors on custom dark theme #1832

Open ogi-m opened 2 years ago

ogi-m commented 2 years ago

Steps to reproduce the behavior

  1. Make sure a card has a few select type properties
  2. Set a custom dark theme, for example Mattermost Dark
  3. Copy the link to the card and paste it in a channel
  4. In the unfurled preview, note the pill color is off and makes the text unreadable

mm_dark_preview

Expected behavior

The colors should be appropriate for a dark theme

The card viewed with in Boards with the Mattermost Dark theme:

mm_dark

The preview viewed with Indigo theme: indigo

The card viewed

Edition and Platform

ogi-m commented 2 years ago

@jespino You were right, this happens when the custom dark theme is set on one team, and a light theme is set on another team. If the custom dark theme is set on both teams, then the pills have the appropriate dark theme colors.

jespino commented 2 years ago

@ogi-m Ok, then we can keep this open until we support themes based on current team inside focalboard. Otherwise is going to be hard to achieve.