Style vega background for dark theme
@@ -232,4 +232,12 @@ all of MD as it is not optimized for dense, information rich UIs.
--jp-mirror-editor-error-color: #f00;
--jp-mirror-editor-hr-color: #999;
+ /* Vega extension styles */
+
+ --jp-vega-background: var(--md-grey-400);
}
@@ -242,4 +242,8 @@ all of MD as it is not optimized for dense, information rich UIs.
+ --jp-vega-background: white;
@@ -17,6 +17,12 @@
margin-top: 8px;
.jp-MimeDocument.jp-Document .jp-RenderedVegaCommon {
padding: 16px;
+.vega canvas {
+ background: var(--jp-vega-background);
+}