Jupyter Notebook - Customize Style/Themes - jupyter-notebook

I am currently using dunovank/jupyter-themes to style my notebook. I would like to change the comment color however, but it does not seem like jupyter-themes has this customizability.
Are there any alternatives to Jupyter-themes, or other possible ways of editing an existing themes?

Related

Using bootstrap in jupyter widget

I try to make simple widget with animation for Jupyter notebook using ipywidgets library.
I want to use bootstrap library for prettify my widget. So, I imported bootstrap.min.css file, but, when I create widget, styles of my notebook break down. Please see screenshot before
and after creating widget.
Apparently this is due to the fact that styles are overwritten. What can I do to correct the influence of my styles on the general jupyter-notebook styles. I would be grateful for any advice or example of how bootstrap is used in other widgets.

How to highlight code in my blog with VS Code theme?

I am trying to change the colour scheme of code highlighting in my Jekyll blog to the scheme in VS Code "light+" theme. I've tried searching the source code of VS Code and the themes in the Marketplace to find the corresponding .css file but ended up with failure.
I noticed that the same colour scheme (in "Light+") can also apply to my markdown preview, so I assume there's a convenient way. What should I do?
English is not my native language, and please excuse typing errors.

Jupyter-notebook theme customization

I have recently installed themes for Notebook from here
How can I customize these themes?
For example, while using "monokai" theme, I want to change the background of the notebook to pure Black.
Correct me if I am wrong but I dont think you can change the background via the commands provided via the theme github.
You will have to look for the jupyterthemes/styles/monokai.less file on your computer and change it manually. I am assuming its the following variable that needs to be change.
#notebook-bg
Hope it helps!
To find the jupyterthemes directory, you can open an IPython console and enter the following commands:
In [1]: import jupyterthemes
In [2]: print(jupyterthemes.__file__)
From there you should be able to find and modify the stylesheet (see M. Glombek's answer).

Where to find the default color scheme for python files in Atom?

Initially, I used Atom for editing my python files. I love the color scheme that IDE. I have moved on to pyCharm now. I want to set it manually to use the same color scheme as that of Atom's.
Could you tell me where I can find the default color schema data in Atom?
What you're seeing is the atom-dark-syntax theme. The color schemes are written in less and is available on GitHub.
If you want find the color schemes of any of your installed themes, follow these steps:
Go to Settings > Themes
Click the theme to visit its page on atom.io.
Click Repo.
For uninstalled themes, just go to atom.io/themes, search for a theme and click Repo.

New ipython notebook templating

Is it possible to define some template content cells which all new ipython notebooks include when being created?
I'd like my notebooks to include some standard CSS using this method and possibly also have a markdown cell with links I'm frequently using .
Thanks to #Jakob for the help.
To get permanent customised CSS within the notebooks, I needed to create <myprofile>/static/custom/custom.css in my .ipython user folder folder.
This worked quite ok. I used the firefox's webdev tools to find the css items and classes in the ipython notebook and managed to get a monokai-ish style:
I also learned from here that you can inject javascript which might make it possible to add default content to new notebooks. I haven't tried this one yet though.
Edit: if interested, the css file lives here. The monokai colors are based on .cm-s-ipython, which I think is similar what sublime text is using.

Resources