How to reset jupyter notebook theme to default?

My previous suggestion of deleting the custom/ directory doesn't do the trick. jupyter caches the custom.css file in other directories that are tricky to clear all together. If it doesn't find a folder custom with .css file inside it it looks in other locations to pick up a .css file. Also, I'm not sure if every location is actually deleted when you uninstall jupyter.

The easiest solution is to delete the old custom.css and replace it with a new empty custom.css file. jupyter picks that up and goes back to its default look.


I am hoping that you used pip install jupyterthemes to get the custom themes.

The following are the steps that take you from installation of new themes to the resetting of the same to default.

pip install jupyterthemes 

jt -l (List of all themes)

jt -t <THEME NAME> (to implement a theme)

jt -r (to reset the notebook to default)

Hope this helps.


An easier way might be to do:

pip install jupyterthemes

Now you can choose from the following given themes and activate it like this

# list available themes
# onedork | grade3 | oceans16 | chesterish | monokai | solarizedl | solarizedd
jt -t <THEME_NAME>

In order to reset your theme to the default theme just use

jt -r

For all information and more, visit github.com/dunovank/jupyter-themes

Hope this helps!