Skip to main content

Hale theme for JupyterLab 3.x

Project description

jupyterlab-theme-hale

Github Actions Status License GitHub last commit GitHub stars NPM Version Monthly Downloads PyPI PyPI - Downloads

Hale is a theme extension for JupyterLab 3. If you are using Jupyter Lab 2, you can instead take a look at Hale's sister extension Jupyter Calm Theme. Both themes are inspired by Night Owl Theme.

Screenshot

Screenshot of the theme

Prerequisites

  • JupyterLab

Version

  • v0.1.3
    • Set Hack font-type as default, remove Menlo font-type for a more consistent look.
  • v0.1.2
    • Hack font-type added.
  • v0.1.1
    • Initial version. This version is compatible with JupyterLab 3.

Requirements

  • JupyterLab >= 3.0

Install

To install it as a prebuilt extension (requires JupyterLab >= 3.0):

pip install jupyterlab_theme_hale

Or install it as a source extension:

jupyter labextension install jupyterlab-theme-hale

Apply theme by checking Settings -> Jupyterlab Theme -> Jupyterlab Hale

To enable theme scrollbars, in JupyterLab, either

  • navigate to Settings -> Advanced Settings Editor -> Theme, and add "theme-scrollbars": true to User Preferences or
  • check Settings -> Jupyterlab Theme -> Theme Scrollbars

Contributing

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_theme_hale 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

Uninstall

pip uninstall jupyterlab_theme_hale

or

jupyter labextension uninstall jupyterlab-theme-hale

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_theme_hale-0.1.3.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

jupyterlab_theme_hale-0.1.3-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlab_theme_hale-0.1.3.tar.gz.

File metadata

  • Download URL: jupyterlab_theme_hale-0.1.3.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for jupyterlab_theme_hale-0.1.3.tar.gz
Algorithm Hash digest
SHA256 eba8bb6fc05f8bebfb022a4c099b738570fdc09ada25c66a1bdfd1e911cd11e7
MD5 92ee8e7f99036c5d06c8bef32c8ac221
BLAKE2b-256 15a16edcf973a8348896353deb9449c2f7e6999a88eb533524a8dd4ec2ef432a

See more details on using hashes here.

File details

Details for the file jupyterlab_theme_hale-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: jupyterlab_theme_hale-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 32.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for jupyterlab_theme_hale-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b6d665a25aa582c364f5ef3b2349d30c424e1c5d782178a0dc623455557a2634
MD5 1ab988ded06c9b70c5e3e59a31f1b2b3
BLAKE2b-256 1c5732b09d5cec2e7b5f6f10a25d45a8bdda385081ebe04ecae9e6c21acca03e

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