How to bring the colab dark theme to Jupyter Notebook

Viewed 9491

I wanna know what theme google colab uses when we switch to the dark mode and how to install that for jupyter notebook.

2 Answers

First, you have to install Jupyter Themes:

pip install jupyterthemes

Then, i think Colab uses the theme "onedork", so just set it using:

jt -t onedork

For some more info about Jupyter Themes, you can check https://github.com/dunovank/jupyter-themes

Or you can just open Jupyter Notebooks in VS Code (the integration is now superb) and have Dark Theme out of the box (by using VS Code themes).

Related