Skip to content

Conversation

@jeremystretch
Copy link
Member

Fixes: #12219

  • Introduces the fg_color property on DashboardWidget to return white or black as appropriate given the assigned background color
  • Modifies the widget template to use that color for all heading elements

dashboard_light
dashboard_dark

@jeremystretch jeremystretch merged commit 6939bf8 into develop Sep 13, 2023
@jeremystretch jeremystretch deleted the 12219-widget-colors branch September 13, 2023 14:56
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New dashboard widgets have insufficient header contrast in dark mode

2 participants