Skip to content

Commit

Permalink
Switch perspective-jupyterlab to material-dense theme
Browse files Browse the repository at this point in the history
  • Loading branch information
texodus committed Sep 14, 2020
1 parent 35cbdc1 commit 5abc715
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions packages/perspective-jupyterlab/src/less/index.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "~@finos/perspective-viewer/src/less/fonts.less";
@import (reference) "~@finos/perspective-viewer/src/themes/material.less";
@import (reference) "~@finos/perspective-viewer/src/themes/material.dark.less";
@import (reference) "~@finos/perspective-viewer/src/themes/material-dense.less";
@import (reference) "~@finos/perspective-viewer/src/themes/material-dense.dark.less";

div.PSPContainer,
div.PSPContainer-dark {
Expand All @@ -14,15 +14,17 @@ div.PSPContainer-dark {

.jp-NotebookPanel-notebook div.PSPContainer,
.jp-NotebookPanel-notebook div.PSPContainer-dark {
height: 500px;
height: 520px;
}

div.PSPContainer perspective-viewer {
.perspective-viewer-material();
.perspective-viewer-material-dense();
--plugin--border: 1px solid #e0e0e0;
}

div.PSPContainer-dark perspective-viewer {
.perspective-viewer-material-dark();
.perspective-viewer-material-dense-dark();
--plugin--border: 1px solid #333333;
}

div.PSPContainer perspective-viewer,
Expand Down

0 comments on commit 5abc715

Please sign in to comment.