Skip to main content

A white theme for jupyterlab.

Project description

jupyterlab_white_theme

Github Actions Status

A white and minimalism theme for jupyterlab, modified from jupyterlab_legos_ui and built on theme-cookiecutter.

This theme uses 'Futura' for ui font, 'Operator Mono' or 'JetBrains Mono' for code font, and 'Inter' or 'HK Grotesk' for content font.

Requirements

  • JupyterLab >= 3.0

Install

pip install jupyterlab_white_theme

Uninstall

pip uninstall jupyterlab_white_theme
jupyter labextension uninstall @alalalalaki/jupyter-white-theme

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
# Change directory to the jupyterlab_white_theme directory
# Install package in development mode
pip install -e .
# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Rebuild extension Typescript source after making changes
jlpm run 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 run 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 run 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

Publish

conda create -n jupyterlab-white-theme -c conda-forge jupyterlab jupyter-packaging twine nodejs && conda activate jupyterlab-white-theme
python setup.py sdist bdist_wheel && twine upload dist/*

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

jupyterlab_white_theme-0.1.1.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

jupyterlab_white_theme-0.1.1-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlab_white_theme-0.1.1.tar.gz.

File metadata

  • Download URL: jupyterlab_white_theme-0.1.1.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for jupyterlab_white_theme-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0f24d858d896ac0e78d179eb543439ec1d8131ac0052fa71eee2cb539e1f4a46
MD5 2023f172773c5bc955e133efc25ecc31
BLAKE2b-256 4686639f1a503658120341d1cf0841f52cfc28a1e594da8d00f816a3c28c79e5

See more details on using hashes here.

File details

Details for the file jupyterlab_white_theme-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: jupyterlab_white_theme-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 32.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for jupyterlab_white_theme-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59b59111019bca4751eac596b21ad3e239d1bc18ac4c50f93142bfe4fcc5cb45
MD5 60382474727c12971b5f9de57e1af8a9
BLAKE2b-256 7d2cbf49b5d2e23dd384eeab5aefbdc0096be76c3841dee7b9b60ac1c19fa7e4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page