Skip to content

Instantly share code, notes, and snippets.

@jasongrout
Created June 20, 2018 19:35
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasongrout/753216b2d3320b0abec6143d36f5d640 to your computer and use it in GitHub Desktop.
Save jasongrout/753216b2d3320b0abec6143d36f5d640 to your computer and use it in GitHub Desktop.
JupyterLab Theme Customization
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@GallowayJ
Copy link

@jasongrout Do you know how these changes can be made permanent? I've looked through the Jupyter Lab folder in site-packages but I only find index.css and editing that file doesn't seem to have any effect.

@ian-r-rose
Copy link

A more permanent solution is probably best left to a theme extension.

@jasongrout
Copy link
Author

I agree with @ian-r-rose. Make a new theme extension using your new variables.css file and install it wherever you like!

@sntgluca
Copy link

sntgluca commented Mar 5, 2019

Hi @jasongrout, may you specify if it's possible to install a theme extension without having to rebuild the whole extensions stack?

Referring to jupyterlab/jupyterlab#4064, I am afraid this route only works for single users in control of their environment, but not for users of a central system, in need of a custom theme.

Thanks

@AndrewLaganaro
Copy link

AndrewLaganaro commented Jul 14, 2019

Hello, i've tested and apparently it did not work

I've made the test with the file given here:

jupyterlab/jupyterlab#3844 (comment)

I run the cell with the code, the file IS on the folder of the notebook and IS in .CSS, but when i execute it, nothing happens. Just the message "Customized changes loaded" but nothing happens. Did the code broke or something? pls help. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment