You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JSON output is rendered using react-json-view, and the default theme is unreadable in dark mode. Not sure if react-json-view supports dark mode or if there's a way to check the color mode from a VS Code renderer.
The text was updated successfully, but these errors were encountered:
we can track the color theme from the extension with
/** * The currently active color theme as configured in the settings. The active * theme can be changed via the `workbench.colorTheme` setting. */exportletactiveColorTheme: ColorTheme;/** * An {@link Event} which fires when the active color theme is changed or has changes. */exportconstonDidChangeActiveColorTheme: Event<ColorTheme>;
then check for dark mode with
/** * Represents a color theme. */exportinterfaceColorTheme{/** * The kind of this color theme: light, dark, high contrast dark and high contrast light. */readonlykind: ColorThemeKind;}
the current mode needs to be communicated to the notebook renderer and the output pane webview via message passing
JSON output is rendered using
react-json-view
, and the default theme is unreadable in dark mode. Not sure ifreact-json-view
supports dark mode or if there's a way to check the color mode from a VS Code renderer.The text was updated successfully, but these errors were encountered: