Skip to content

Commit

Permalink
Merge pull request #305 from jtpio/monochrome-icon
Browse files Browse the repository at this point in the history
Monochrome voila icon for the notebook toolbar
  • Loading branch information
SylvainCorlay committed Aug 1, 2019
2 parents 6ff70ce + 918c857 commit f523a7e
Show file tree
Hide file tree
Showing 4 changed files with 188 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/jupyterlab-voila/style/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import "variables.css";

.jp-VoilaIcon {
background-image: url("./voila.svg");
background-image: var(--jp-icon-voila);
}
7 changes: 7 additions & 0 deletions packages/jupyterlab-voila/style/variables.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[data-jp-theme-light="true"] {
--jp-icon-voila: url("./voila-light.svg");
}

[data-jp-theme-light="false"] {
--jp-icon-voila: url("./voila-dark.svg");
}
89 changes: 89 additions & 0 deletions packages/jupyterlab-voila/style/voila-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
89 changes: 89 additions & 0 deletions packages/jupyterlab-voila/style/voila-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f523a7e

Please sign in to comment.