openhands commited on
Commit
cb0a3ed
·
1 Parent(s): 02e5603

Remove all dark mode CSS filters for Plotly charts

Browse files

The filter-based inversion approach was causing logo visibility issues
(e.g., kimi-k2-thinking logo not visible). Removing the filters entirely
for a simpler, more reliable solution.

Files changed (1) hide show
  1. content.py +0 -18
content.py CHANGED
@@ -1013,22 +1013,4 @@ h3 .header-link-icon {
1013
  }
1014
  }
1015
 
1016
- /* ====== Dark Mode Plotly Charts ====== */
1017
- /* Use filter-based inversion for reliable dark mode support */
1018
- /* This inverts the entire chart and then re-inverts specific elements */
1019
-
1020
- .dark .js-plotly-plot {
1021
- filter: invert(0.88) hue-rotate(180deg);
1022
- }
1023
-
1024
- /* Re-invert all images so they display correctly (no filters/effects) */
1025
- .dark .js-plotly-plot .layer-above image,
1026
- .dark .js-plotly-plot .imagelayer image {
1027
- filter: invert(1) hue-rotate(180deg);
1028
- }
1029
-
1030
- /* Modebar icons need re-inversion */
1031
- .dark .js-plotly-plot .modebar {
1032
- filter: invert(1) hue-rotate(180deg);
1033
- }
1034
  """
 
1013
  }
1014
  }
1015
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1016
  """