VSC black themes issue, low contrast white text on white background in notebook output xarray

6 days ago 3
ARTICLE AD BOX

I use VSC on three machines. A university windows laptop, a personal Linux laptop and on a Linux remote desktop.

Since a month I stated to get an intermittent issue with the HTML output in a jupyter notebook when checking a xarray.Dataset while using a dark theme. It could be that i have set some option badly and it has sync the settings across various devices.

Here is an example of the issue on my uni laptop. Of course choosing a light theme of changing the output to plaint text is a workaround, but I would like to fix the issue.

white text on white background while in dark theme

I have been googling around and asking AI without a solution. I foudn this post from 2020 https://github.com/pydata/xarray/issues/4024 that seems to suggest they have noted and fixed this issue some time ago. So I think it is something I have cause in my VSC setup...

Anyone know how to fix it?

some details:

Jupyter Extension on VSC

Identifier ms-toolsai.jupyter Version 2025.9.1

VSC

Version: 1.107.0 (user setup) Commit: 618725e67565b290ba4da6fe2d29f8fa1d4e3622 Date: 2025-12-10T07:43:47.883Z Electron: 39.2.3 ElectronBuildId: 12895514 Chromium: 142.0.7444.175 Node.js: 22.21.1 V8: 14.2.231.21-electron.0 OS: Windows_NT x64 10.0.26100

OS

Windows 11 Surface Laptop 5

Read Entire Article