I tried to apply dark theme by putting a *.css file in the ~/.jupyter/custom/ directory (like here). This changes a theme for a normal jupyter notebook. But no affect on the jupyter lab appearance. I also tried to install a theme using jupyter-theme, but alas, no changes in jupyter lab appearance.
Can someone point me to the how-to guide?
Run "pip install jupyterthemes" This should show you the themes installed/ cached by jupyter notebook. Now run "jt -r" to reset the theme to default as shown below. Open and test jupyter notebook. Theme should be gone now.
UPDATE 02/03/2018 Now this option is already built in in the settings menu!
Recently this issue was closed on the GitHub, and finally it is possible to edit settings of the jupyter lab. Hurray!
The procedure is described in this pull request.
Just update your jupyter-lab (now it is version 0.27.0) and go to File - Settings, then select Theme tab. And type your theme name in the User Overrides and press the check-mark at the right of the string. I tried several, but only "theme": "JupyterLab Dark" seems to work. Enough for me.
I really appreciate the work the jupyter team is doing. Thank you all!
I bit the bullet, and figured out how to write a full custom theme as an extension.
The process is:
jupyterlab/packages
to your own repository.package.json
and src/index.ts
styles
jupyter labextensions install .
node
Here is my theme for future reference - https://github.com/nfultz/jupyterlab-theme-simple-extension
EDIT:
There's now a cookiecutter template to make it easier: https://github.com/jupyterlab/theme-cookiecutter
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With