Screenshot

Dark theme (bars barely or not visible): Image

Light theme (bars visible): Image

Description

When using the Table chart in Superset, the cell bars are almost invisible in dark themes.

  • On lighter zebra stripe rows, they are very faint and only noticeable at certain viewing angles.
  • On darker rows, they are not visible at all.

In comparison, the bars are clearly visible in the light theme.

Comment From: dosubot[bot]

This is a known visibility issue in Superset's dark mode, but there isn't an existing ticket or documentation specifically for Table chart cell bars. The root cause is that the cell bar color is hardcoded (e.g., #eaeaea) in the Table chart's rendering logic, so it doesn't adapt to dark themes and becomes nearly invisible on dark backgrounds. There’s no conditional logic to switch the bar color based on the current theme, unlike some recent theming fixes for other chart types (example).

To improve visibility, the bar color should be set using theme variables or conditional logic depending on the active theme, rather than a fixed color. As a workaround, you could override the relevant CSS or update the cell bar rendering code to use a more visible color in dark mode.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X