38

How do I change the current theme to the dark theme in Google Colab?

I need a dark theme like Jupyter notebook has.

Spikatrix
  • 19,378
  • 7
  • 34
  • 77
Karthick Aravindan
  • 556
  • 2
  • 7
  • 16
  • The issue to follow is https://github.com/googlecolab/colabtools/issues/90 It also includes some work-arounds. – Bob Smith Apr 18 '18 at 15:37
  • What's the work-arounds? I don't see any discussion or information. – korakot Apr 19 '18 at 01:50
  • First of all, as the person who formulated the git request, I have no idea why your question was downvoted, a dark theme is clearly a necessity. Second, at the moment I tried using chrome/firefox extensions, for night mode (or dark mode). Just search for dark background in the extension store. That does not seem to look nice though, so we have to wait. – Qubix Apr 23 '18 at 16:55
  • 3
    This question has been downvoted and closed because it was linked from meta: https://meta.stackoverflow.com/questions/381591/should-this-question-about-changing-color-settings-in-google-colab-remain-open-o – user000001 Mar 21 '19 at 09:34

5 Answers5

54

Follow these steps:

  1. From top menu, select Tools,
  2. Preferences...
  3. From Theme, select "Dark"

enter image description here

ttfreeman
  • 3,082
  • 2
  • 20
  • 28
1

Cats & Dogs

And if you were searching for the cat & dogs running around at the top of your notebook, then you can add them by following these steps:

  • Open any Colab notebook.
  • Click on Tools -> setting -> Miscellaneous
  • And check Corgi mode if you want just dogs or Kitty mode if you want just cats or both if you're a human being:

enter image description here

And you'll have them running around all-day long

enter image description here

Anwarvic
  • 9,179
  • 4
  • 37
  • 50
0

You can use this dark theme from userstyles.org if you have the Stylus plugin installed:

https://userstyles.org/styles/168225/dark-theme-for-google-colab-development

Samuel Liew
  • 68,352
  • 105
  • 140
  • 225
Ahmad
  • 6,124
  • 6
  • 49
  • 90
  • 1
    [The Stylish browser extension steals all your internet history](https://robertheaton.com/2018/07/02/stylish-browser-extension-steals-your-internet-history/). A better alternative (that I have not tried myself) might be [Stylus](https://github.com/openstyles/stylus) – grooveplex Jun 17 '19 at 15:22
0

Google colab's UI is updated occasionally. Until the time this answer was written, you could change the theme using the following steps:

  1. From the top menu, select settings.
  2. From settings, select site.
  3. You can choose one of the three listed options: light, dark or adaptive.

Illustrating Screenshot

let your eyes enjoy the dark theme!

Mostafa Wael
  • 127
  • 3
0

##tools -> settings -> site -> theme## windo to