dunovank / jupyter-themes

Custom Jupyter Notebook Themes
MIT License
9.74k stars 1.06k forks source link

Porting a nord theme #429

Open VimalMollyn opened 3 years ago

VimalMollyn commented 3 years ago

Is anyone planning to port a nord theme for jupyter-themes?

Based on this. https://github.com/arcticicestudio/nord

Wilann commented 3 years ago

Would love to see Nord on this as well. Currently using Nord from https://github.com/arbennett/jupyterlab-themes

intermezzio commented 3 years ago

I would also like to see a nord theme on this repo.

VimalMollyn commented 3 years ago

Anyone know how to do this? I don't mind helping out, but I have no idea where to start 😅. @dunovank Could you please help out here?

intermezzio commented 3 years ago

I would also be interested in helping out. Is there a way to swap out the colors of an existing color scheme or should we write a new css file? I'll take a look at existing themes and see if I can make a nord version of one.

EDIT: It seems like we can create a file nord.less in the styles directory (https://github.com/dunovank/jupyter-themes/tree/master/jupyterthemes/styles) and I can make a pull request adding it.

intermezzio commented 3 years ago

I've made some progress on a nord color scheme by forking the repository and adding a nord.less file here https://github.com/intermezzio/jupyter-themes/blob/master/jupyterthemes/styles/nord.less If anyone can tell me how I can (a) compile this to the style's css file and (b) test the color scheme on my system I would like to know how. Also, not all of the colors are complete (some are still copied from the chesterish theme). If anyone else is interested in editing the nord theme feel free to make a pull request to my fork of this repository.

gooseyman commented 3 years ago

For A) I'm also interested in understanding how to compile the css. @dunovank let us know? This is awesome!

For B) I was able to clone an existing .less style file ( (https://github.com/dunovank/jupyter-themes/tree/master/jupyterthemes/styles), replace it with the nord colors, save it in the same directory as "nordport," and then load it as a theme in my notebook (!jt -t nordport)

@intermezzio I think that last bit is how to test - just load the new theme you ported.