A dark blue and purple JupyterLab theme extension.
Project description
Jupyterlab MidnightSea Theme
A jupyterlab theme based in cool blue and pruple palette extension.
build | PyPi | License | Update |
---|---|---|---|
eduardotcampos@usp.br [2023]
Appearance
Requirements
- JupyterLab >= 4.0.0
Install
To install the extension, execute:
pip install jupyterlab-midnightsea-theme
To check the installation, execute:
jupyter labextension list
Uninstall
To remove the extension, execute:
pip uninstall jupyterlab-midnightsea-theme
Contributing
To make personal customizations to the theme, edit the variables.css file, and then run the development install steps listed bellow.
Feel free to make pending or other optimizations and pull requests, this theme is still under development and any contribution is very much appreciated.
Development install
Note: You will need NodeJS to build the extension package.
The jlpm
command is JupyterLab's pinned version of
yarn that is installed with JupyterLab. You may use
yarn
or npm
in lieu of jlpm
below.
- Clone the repo to your local environment:
git clone https://github.com/eduardotlc/jupyterlab_midnightsea_theme
- Change directory to the jupyterlab_midnightsea_theme directory:
cd jupyterlab_midnightsea_theme
- Install package in development mode:
pip install -ve "."
- Link your development version of the extension with JupyterLab:
jupyter labextension develop . --overwrite
- Rebuild extension Typescript source after making changes:
jlpm build
You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.
- Watch the source directory in one terminal, automatically rebuilding when needed:
jlpm watch
- Run JupyterLab in another terminal:
jupyter lab
With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).
By default, the jlpm build
command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:
jupyter lab build --minimize=False
Development uninstall
pip uninstall jupyterlab_midnightsea_theme
In development mode, you will also need to remove the symlink created by jupyter labextension develop
command. To find its location, you can run jupyter labextension list
to figure out where the labextensions
folder is located. Then you can remove the symlink named jupyterlab_ariakedark_theme
within that folder.
Other themes
See my other Jupyter Lab themes too
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file jupyterlab_midnightsea_theme-0.1.5.tar.gz
.
File metadata
- Download URL: jupyterlab_midnightsea_theme-0.1.5.tar.gz
- Upload date:
- Size: 790.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4422fba57c1f048d7d1b9a65d44cba3b8eadeeb3b1d25a84fc30948615fbb07 |
|
MD5 | 82d3a5b53c4ab15f9ca0ce3ba832e7d5 |
|
BLAKE2b-256 | c929ff1a5c6e16803299209c65d33459befd157da09f60c1b4f65e7fce0914dd |
File details
Details for the file jupyterlab_midnightsea_theme-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: jupyterlab_midnightsea_theme-0.1.5-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67e29eb1a1a3ddfe2a9728abba36dfc9074f3f449f965ded3cb178c65e692c55 |
|
MD5 | 5ee3537d88f5c717f8f94f3ff28d9c52 |
|
BLAKE2b-256 | e3460fbfd736934eb2a30b1e3498ec4980db4335d1dcc2b1207a0551bd18373d |