Skip to content

HY0095/jupyter-themes

 
 

Repository files navigation

Theme-ify your Jupyter Notebooks!

Oceans16 Notebook

Oceans16 theme is a take on the popular Ocean Dark IPyNB theme (Nikhil Sonnad). image

Grade3 Notebook

Grade3 is a spinoff of the python syntax theme used by nixCraft image

Oceans16 Syntax

image

Grade3 Syntax

image

Space-Legos Syntax

image

Fonts

Source Code Pro & Hack fonts (.ttf) included in Fonts dir

Install jupyter-themes w/ pip

pip install git+https://github.com/dunovank/jupyter-themes.git

How to...

# list available themes (located in ~/.jupyter-themes)
# can call with "jupyter-themes" or "jt" interchangeably
jt -l

# install a theme (to ~/.jupyter/custom/)
# theme names: oceans16 | grade3 | space-legos
jt -t grade3

# install a theme with toolbar (-T) enabled
jt -T -t grade3

# set font (-f) and font-size (-fs) (defaults are Hack and 11)
jt -t grade3 -f Source-Code-Pro -fs 12

# restore (-r) default theme
jt -r

Experimental

use with caution if you have already modified your ~/.jupyter/nbconfig/notebook.json file

# enable linewrapping in code cells
jt -t grade3 -lw

# adjust size of indent unit (default=4)
jt -t grade3 -iu 6

mmmm so theme-y...

About

Custom Jupyter Notebook Themes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 83.6%
  • Python 12.8%
  • JavaScript 3.6%