Coder Social home page Coder Social logo

yeebc / jupyterlab-neon-theme Goto Github PK

View Code? Open in Web Editor NEW
152.0 5.0 10.0 5.15 MB

A flat, 80's neon inspired theme for JupyterLab.

License: BSD 3-Clause "New" or "Revised" License

TypeScript 2.50% CSS 88.35% Python 9.15%
jupyter jupyterlab jupyterlab-extension theme neon cyberpunk synthwave jupyterlab-theme

jupyterlab-neon-theme's Introduction

Jupyterlab Neon Theme

Monthly Downloads GitHub stars License

A flat, 80's neon inspired theme for JupyterLab.

This theme is hightly inspired by artworks of 80's Neon, Synthwave and Cyberpunk. It is optimized for long-term use but colorful and cooool.

Big update

There is a big update for the color scheme since version 3.0.0. If you are old users and don't like the new style, please find the archive here. However, unfortunately it would not be maintained anymore.

Bonuses

1. Search tool * Neon billboard

2. Collapser * Neon light

3. Scrollbar * FM-84's "Atlas" (only compatible with webKit browsers)

4. Presentation mode (Top menu --> View --> Presention mode)

Customize

You may don't like the default background or the transparent UI, so codes concerning these controversial designs are separately put into custom.css and detailly commented for you to customize.

After you edited css files, please follow instructions in the Development installation to reinstall.

1. Transparent left/top bar

PLease follow the comments to ajust the transparency.

2. Background

Two gradient backgrounds, 'Neon Night' and 'Neon Sunset', are provided. The default style is 'Neon Night' and you can uncomment codes to employ 'Neon Sunset' style.

To use an image as background, uncomment the corresponding part of codes, and change the url to the path of your image.

3. Fonts

To change fonts of editor and neon, firstly, add your font files to fonts directory and update fonts.css to register them. Then follow my comments to employ your registered fonts.

Compatibility

To support gradient scrollbars showed in screenshots, webKit browsers like chrome are required. Otherwise, please activate the Theme Scrollbars in the Top menu --> Settings --> JupyterLab Theme for dark scrollbars (except Edge). This color scheme is primarily designed for python and ipynb, so there may be issues in other situations. If any problem you find, please report it to me in the Github and I'll try to fix it as soon as possible.

Prerequisites

  • JupyterLab >= 3.0.0

This theme is an extension of Jupyterlab. In order to install JupyterLab extensions, you need to have Node.js installed and enable the Extension Manager which is disabled by default. More information can be found in the Official User Guide.

conda install -c conda-forge nodejs

Package installation

  • Using GUI

You can use the extension manager to find and install this theme for JupyterLab. Please check Official User Guide for detailed instructions.

  • Using the command
jupyter labextension install @yeebc/jupyterlab_neon_theme

Development installation

For a development install (requires npm version 4 or later), clone this github repo and do the following in the repository directory:

npm install
jupyter labextension link .

To rebuild the package and the JupyterLab app:

npm run build
jupyter lab build

Contributing

I welcome any contribution to this theme. You can get more imfomation about the project structure of JupyterLab theme extensions from Official Document.

Thanks

You may also like SynthWave '84, my favorite VS Code theme, with similar style and it is more compatible with HTML & CSS, JS.

And Welcome to 1984.

jupyterlab-neon-theme's People

Contributors

dependabot[bot] avatar myyc avatar vidartf avatar yeebc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jupyterlab-neon-theme's Issues

More explicit guide for installation

Hello, your theme is great !

I have a suggestion concerning the installation guide in the readme. Maybe you can mention that it is installable also from the "extensions" left pane bar in jupyterlab, which is very convenient.

Besides, the node.js/npm installation part is a little bit confusing, since installing node.js installs automatically npm (from what I've understand).

Maybe we could replace the installation code by :

pip install nodejs
jupyter labextension install @yeebc/jupyterlab_neon_theme

or with conda

conda install -c conda-forge nodejs
jupyter labextension install @yeebc/jupyterlab_neon_theme

And mention, with a screenshot, the fact that you can install it from left pane.

Kind regards, thanks again for the awesome theme ! ๐Ÿ’ฏ

Breaks other themes

When installed this theme affects other themes (incl. default Light and Dark theme) and loading screen. I assume it overrides something globally.

Error on building

Jupyterlab Version 2.2.8

Run: !jupyter labextension install @yeebc/jupyterlab_neon_theme

"@yeebc/jupyterlab_neon_theme changed from file:../extensions/yeebc-jupyterlab_neon_theme-2.0.0.tgz to file:../extensions/yeebc-jupyterlab_neon_theme-2.0.1.tgz"

Screenshot 2020-10-26 at 09 32 26

Screenshot 2020-10-26 at 09 34 24

Theme does not support latest version of Jupyter Lab

ValueError: The extension "@yeebc/jupyterlab_neon_theme" does not yet support the current version of JupyterLab.


Conflicting Dependencies:
JupyterLab              Extension      Package
>=3.0.3 <3.1.0          >=2.0.0 <3.0.0 @jupyterlab/application
>=3.0.2 <3.1.0          >=2.0.0 <3.0.0 @jupyterlab/apputils

My jupyter lab version is 3.0.5

Awesome theme !!!!

Wow!! What a cool theme! I just had to give praise for this super cool theme..

  • Thanks..

feel free to delete this issue...

Vim-Keybindings Cursor is always a Bar

When using the vim-keybindings plugin, from @axlair/jupyterlab_vim, usually when you're in normal mode (while editing a cell), the cursor is supposed to be a box (like in a normal terminal) highlighting the character you're on. But when using this theme, it turns it into a bar, and I have no idea whether I'm in normal mode or in insert mode

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.